Analysis Report

Generated on: 2026-01-04 21:03:36 | This report is made for GAMMA 0.9.4 with additional mods on top of it (overall 625+ active mods)

Summary

Severity Breakdown

🟢 GREEN: 263 🟡 YELLOW: 241 🔴 RED: 8852 🔵 DEBUG: 4603 TOTAL: 13959

Performance Impact (filtered)

CRITICAL: 241 HIGH: 20 MEDIUM: 4603 LOW: 9095

Top Issues by Type

Pattern Count Impact
🔴 global_write 8852 LOW
🔵 debug_statement 4603 MEDIUM
🟡 string_concat_in_loop 241 CRITICAL
🟢 repeated_item_section() 71 LOW
🟢 repeated_obj_section() 35 LOW
🟢 repeated_itm_section() 21 LOW
🟢 table_insert_append 20 HIGH
🟢 repeated_wpn_section() 19 LOW
🟢 repeated_weapon_section() 14 LOW
🟢 repeated_alife 10 LOW

101- BAS scopes extravaganza 2D shader-based scopes patch - Kuez

1 file (🟢0 🟡0 🔴1 🔵0)

scopeRadii.script

L4 🔴 global_write
Global write: scopeRadii
Impact: low
Show code
scopeRadii = {

108- Remove dropping weapons from damage - Great_Day

3 files (🟢3 🟡0 🔴5 🔵2)

actor_effects.script

L1536 🟢 table_insert_append
table.insert(anims, v) -> anims[#anims+1] = v
Impact: high
Show code
table.insert(anims,{e = i,d = v[2] or math_random(0,1),c = cnt})
L255 🟢 repeated_itm_section()
itm:section() called 3x in Hit_TorchToggle
Impact: low
Show code
Cache itm:section() result
L404 🟢 repeated_itm_section()
itm:section() called 3x in Hit_MaskCleaning
Impact: low
Show code
Cache itm:section() result
L1373 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~WARNING actor_effects.play_item_fx | item animation [%s] doesn't exist!", name)
L1838 🔴 global_write
Global write: minimap_enabled
Impact: low
Show code
minimap_enabled = ui_options.get("video/hud/show_minimap")

xr_meet.script

L821 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('%s (%s) is not a stalker', se and se.id, se and se:name())

xrs_facer.script

L13 🔴 global_write
Global write: evid_facer
Impact: low
Show code
evid_facer = 18815
L14 🔴 global_write
Global write: evid_steal_up_facer
Impact: low
Show code
evid_steal_up_facer = 18816
L15 🔴 global_write
Global write: actid_facer
Impact: low
Show code
actid_facer = 18815
L16 🔴 global_write
Global write: actid_steal_up_facer
Impact: low
Show code
actid_steal_up_facer = 18816

109- MCM Mod Configuration Menu - RavenAscendant

4 files (🟢0 🟡0 🔴18 🔵20)

dph_mcm_save_storage.script

L49 🔴 global_write
Global write: m
Impact: low
Show code
m = tostring(mod)
L57 🔴 global_write
Global write: m
Impact: low
Show code
m = tostring(mt)
L58 🔴 global_write
Global write: p
Impact: low
Show code
p = tostring(pt)

mcm_log.script

L81 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR MCM Logs unable to create log file. Manualy creating the directory appdata/logs/mcm/ may solve this issue.")
L129 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
local tc = self:log(fmt, ...) or time_continual()
L131 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s|%s|%s||"..tostring(fmt), self.prefix, self.fname, tc, ...)
L141 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
return self:log("TABLE:%s \n%s", name, txt)
L161 🔴 global_write
Global write: path
Impact: low
Show code
path = getFS():update_path("$fs_root$","fsgame.ltx")
L177 🔴 global_write
Global write: fsgameupdated
Impact: low
Show code
fsgameupdated = fsgame_append("mcmlogs", "$mcmlogs$ = true | false | $logs$| mcm\\")

ui_main_menu.script

L200 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("MCMBTN press")
L378 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("system_ini_reload = success!")
L389 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- main_menu:OnMenuReloaded()")
L343 🔴 global_write
Global write: m
Impact: low
Show code
m = level.get_time_minutes()
L345 🔴 global_write
Global write: m
Impact: low
Show code
m = ("0"..m)

ui_mcm.script

L158 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
dbg:log(...)
L162 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L667 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("MCM Session ID:%s", session_id)
L685 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!MCM open_to cannot be called while gui is open")
L701 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!MCM get_gui called when GUI closed.")
L713 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!MCM given bad path:%s",id)
L753 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!Found nil option value [%s]", id)
L792 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("MCM init")
L1589 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s preset %s not found or is not table", cc(path , opt), pres)
L1608 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s preset %s cached to %s", cc(path , option), pres, value)
L1611 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s preset %s hidden skipping", cc(path , option), pres)
L1614 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s preset %s not valid", cc(path , option), pres)
L2612 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("MCM Error: dph_mcm_save_storage.script not found")
L174 🔴 global_write
Global write: options
Impact: low
Show code
options = {}
L205 🔴 global_write
Global write: options
Impact: low
Show code
options = {
L367 🔴 global_write
Global write: name
Impact: low
Show code
temp, name = _G[ t[i] ].on_mcm_load(options) -- passing options by referance added in AMCM 1.1 if you use this, nil check, emphasise updating MCM in your mod desc or something
L376 🔴 global_write
Global write: collection
Impact: low
Show code
collection = { id = name , gr = {}}
L495 🔴 global_write
Global write: dispaly_key
Impact: low
Show code
dispaly_key = display_key --old typo aliased to prevent breaking mods.
L497 🔴 global_write
Global write: kb_mod_radio
Impact: low
Show code
kb_mod_radio = "radio_h"
L498 🔴 global_write
Global write: kb_mod_list
Impact: low
Show code
kb_mod_list = "list"
L545 🔴 global_write
Global write: dtap
Impact: low
Show code
dtap = double_tap("mcm_single_"..id, key, true)
L1110 🔴 global_write
Global write: wrapbox
Impact: low
Show code
wrapbox = xml:InitStatic("elements:image", anchor)
L1117 🔴 global_write
Global write: pos
Impact: low
Show code
pos = wrapbox:GetWndPos()
L2616 🔴 global_write
Global write: store_in_save
Impact: low
Show code
store_in_save = dph_mcm_save_storage.register_module

11- Preblowout Murder - Ethylia

1 file (🟢0 🟡0 🔴10 🔵8)

surge_manager.script

L103 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Surge manager | " .. fmt,...)
L560 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("played sound at x=%s z=%s", rnd_pos.x, rnd_pos.z)
L630 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Played far crows")
L637 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Played medium crows")
L644 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Played close crows")
L651 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Played medium crows")
L658 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Played far crows")
L758 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("opt_blowout_task",ui_options.get("alife/event/emission_task"))
L24 🔴 global_write
Global write: SurgeManager
Impact: low
Show code
SurgeManager = nil
L26 🔴 global_write
Global write: SurgeManager
Impact: low
Show code
SurgeManager = SurgeManager or CSurgeManager()
L426 🔴 global_write
Global write: temp1
Impact: low
Show code
temp1, id, temp2 = ini:r_line("list", i, "", "")
L426 🔴 global_write
Global write: id
Impact: low
Show code
temp1, id, temp2 = ini:r_line("list", i, "", "")
L426 🔴 global_write
Global write: temp2
Impact: low
Show code
temp1, id, temp2 = ini:r_line("list", i, "", "")
L484 🔴 global_write
Global write: protection
Impact: low
Show code
protection = (suit_protection + helmet_protection + drug_protection)
L486 🔴 global_write
Global write: protection
Impact: low
Show code
protection = 1
L488 🔴 global_write
Global write: hit_power
Impact: low
Show code
hit_power=power*(1-protection)
L1185 🔴 global_write
Global write: currentIndik
Impact: low
Show code
currentIndik=nil
L1200 🔴 global_write
Global write: currentIndik
Impact: low
Show code
currentIndik=indik

110- SortingPlus - RavenAscendant

3 files (🟢4 🟡0 🔴21 🔵0)

rax_dynamic_custom_functor.script

L43 🔴 global_write
Global write: gui
Impact: low
Show code
gui = ui_inventory.GUI
L44 🔴 global_write
Global write: index
Impact: low
Show code
_, index = table_size(gui.properties)
L45 🔴 global_write
Global write: ds_is_funct
Impact: low
Show code
ds_is_funct = type(display_string) == "function"

rax_persistent_highlight.script

L44 🔴 global_write
Global write: persistant_highlight
Impact: low
Show code
persistant_highlight = self:GetPersistantHighlight()
L47 🔴 global_write
Global write: color
Impact: low
Show code
color = main_clr and change_alpha(persistant_highlight, 255) or persistant_highlight -- if main_clr set the alpha to max for reasons.
L55 🔴 global_write
Global write: clr_cache
Impact: low
Show code
clr_cache = {}
L62 🔴 global_write
Global write: b
Impact: low
Show code
b = bit_band(clr, 255)
L63 🔴 global_write
Global write: g
Impact: low
Show code
g = bit_band(bit.rshift(clr, 8), 255)
L64 🔴 global_write
Global write: r
Impact: low
Show code
r = bit_band(bit.rshift(clr, 16), 255)

zzz_rax_sortingplus_mcm.script

L338 🟢 repeated_t[a]_section()
t[a]:section() called 3x in sort_by_kind
Impact: low
Show code
Cache t[a]:section() result
L338 🟢 repeated_t[b]_section()
t[b]:section() called 3x in sort_by_kind
Impact: low
Show code
Cache t[b]:section() result
L373 🟢 repeated_t[a]_section()
t[a]:section() called 3x in sort_by_sizekind
Impact: low
Show code
Cache t[a]:section() result
L373 🟢 repeated_t[b]_section()
t[b]:section() called 3x in sort_by_sizekind
Impact: low
Show code
Cache t[b]:section() result
L66 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(sec)
L73 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(sec)
L178 🔴 global_write
Global write: t
Impact: low
Show code
t = {
L217 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "SortingPlus" ,sh=true ,gr= t } -- put the list of setting into the table describing the entire MCM menu
L260 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(a_sec,1)
L282 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(b_sec,1)
L458 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(sec,1)
L492 🔴 global_write
Global write: tg_wait
Impact: low
Show code
tg_wait = 0
L496 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global() --this function gets called repetedly when key pressed, using a timer to lcean that up
L500 🔴 global_write
Global write: tg_wait
Impact: low
Show code
tg_wait = tg + 500 --half a second seems like a nice time for a key press, no one is seedrunning this game, or if they are they shouldn't use mods, atleast not htis one :)
L615 🔴 global_write
Global write: sec
Impact: low
Show code
sec = obj:section()
L621 🔴 global_write
Global write: sec
Impact: low
Show code
sec = obj:section()

115- Campfire slowly regens life - arti

1 file (🟢0 🟡0 🔴6 🔵0)

cozy_campfire.script

L15 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L16 🔴 global_write
Global write: delay
Impact: low
Show code
delay = 800
L19 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L22 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + delay
L23 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 1
L27 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0

116- Dialogues Expanded - indyora

1 file (🟢0 🟡1 🔴2 🔵1)

dynamic_news_manager.script

L1165 🟡 string_concat_in_loop
String concat in loop: msg = msg .. x
Impact: critical
Show code
msg = msg .. strformat("\\n%s-%s %s%s-%s%s%s, %s %s, %s.",clr_1,clr_2,y1,y2,z1,z2,z3,a,b,c)
L1999 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ News couldn't be sent because it involves special character [%s], he's missing? \nMessage: %s", fac_profile[k], msg_pick)
L12 🔴 global_write
Global write: enable_news
Impact: low
Show code
enable_news = true -- useful for pausing news if set to false
L2265 🔴 global_write
Global write: actor_name
Impact: low
Show code
actor_name = se_actor:character_name()

117- Gotta Go Fast - Grokitach

2 files (🟢0 🟡0 🔴3 🔵0)

grok_gotta_go_fast.script

L10 🔴 global_write
Global write: run_coeff
Impact: low
Show code
run_coeff = grok_gotta_go_fast_mcm.get_config("gotta_go_fast_run")
L11 🔴 global_write
Global write: sprint_coeff
Impact: low
Show code
sprint_coeff = grok_gotta_go_fast_mcm.get_config("gotta_go_fast_sprint")

grok_gotta_go_fast_mcm.script

L12 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "gggf",sh=true ,gr={

118- Gotta go Also Slow - reter

1 file (🟢0 🟡0 🔴1 🔵0)

grok_gotta_go_fast_mcm.script

L12 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "gggf",sh=true ,gr={

119- HD Glowsticks - r3zy

2 files (🟢2 🟡0 🔴7 🔵2)

trader_autoinject.script

L144 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

zz_glowstick_mcm.script

L52 🟢 repeated_det_section()
det:section() called 5x in actor_on_update
Impact: low
Show code
Cache det:section() result
L132 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Couldn't spawn Glowstick!")
L139 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Couldn't get Glowstick data!")
L450 🔴 global_write
Global write: options
Impact: low
Show code
options =
L487 🔴 global_write
Global write: base_get_light_flicker
Impact: low
Show code
base_get_light_flicker = level_environment.get_light_flicker()
L770 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update
L777 🔴 global_write
Global write: SpawnCosmetics
Impact: low
Show code
SpawnCosmetics = death_manager.spawn_cosmetics
L784 🔴 global_write
Global write: TrySpawnTreasure
Impact: low
Show code
TrySpawnTreasure = treasure_manager.try_spawn_treasure

123- Modular Tweaks - Vintar0

3 files (🟢0 🟡0 🔴5 🔵20)

gameplay_disguise.script

L168 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR update default community | community (%s) doesn't exist", tostring(comm))
L181 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR update community | community (%s) doesn't exist", tostring(comm))
L235 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise highest_suspicion = %s", highest_suspicion.value)
L377 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise | npc seeing you | id: %s - comm: %s - name: %s", id, character_community(npc), npc:character_name())
L378 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise | [%s] memory | awareness: %s - memory: %s - first_seen: %s - last_seen: %s", id, m.awareness, m.memo, time_to_str(m.first_seen), time_to_str(m.last_seen))
L379 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise | [%s] on equipment | active item: %s - weapon: %s - outfit: %s - helmet: %s - backpack: %s - inv: %s ", id, t.active_item, t.weapon, t.outfit, t.helmet, t.backpack, t.inventory)
L380 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise | [%s] on behaviour | speed: %s - distance: %s - stay_time: %s", id, t.speed, t.distance, t.stay_time)
L381 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise | [%s] suspicion | spike: %s - result: %s", id, spike, m.suspicion)
L382 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--==============================================================")
L392 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise debug_memoery | [%s] still remembers you (%s sec left)",k, (v.memo - time_passed))
L394 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise debug_memoery | [%s] forgot you",k)
L784 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise calc | fraction [%s] = active_item [%s] + weapon [%s] + outfit [%s] + helmet [%s] + backpack [%s] + inventory [%s]", fraction, (factor.active_item and 1 or 0), (factor.weapon and 1 or 0), (factor.outfit and 1 or 0), (factor.helmet and 1 or 0), (factor.backpack and 1 or 0), (factor.inventory and 1 or 0))
L785 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise calc | itm_factor [%s] = active_item [%s]x[%s] + weapon [%s]x[%s] + outfit [%s]x[%s] + helmet [%s]x[%s] + backpack [%s]x[%s] + inventory [%s]x[%s] / fraction [%s]", itm_factor, t.active_item, factor.active_item_factor, t.weapon, factor.weapon_factor, t.outfit, factor.outfit_factor, t.helmet, factor.helmet_factor, t.backpack, factor.backpack_factor, t.inventory, factor.inventory_factor, fraction)
L786 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise calc | suspicion [%s] = (awareness [%s] x ( t.stay_time [%s] x t.distance [%s] x t.speed [%s]) x itm_factor [%s]) + spike [%s] - best enemy [%s]", suspicion, awareness , t.stay_time , t.distance , t.speed ,itm_factor,((game_achievements.has_achievement("unforeseen_guest")) and clamp(spike-15,0,spike) or spike), (be and (be:id() ~= AC_ID) and 50 or 0))
L787 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("-------------------------------------------------------------")
L1045 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ Disguise | attached patch to %s", section)
L1059 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ Disguise | torn patch of %s", section)
L767 🔴 global_write
Global write: itm_factor
Impact: low
Show code
itm_factor = (
L775 🔴 global_write
Global write: itm_factor
Impact: low
Show code
itm_factor = 100 - itm_factor
L777 🔴 global_write
Global write: itm_factor
Impact: low
Show code
itm_factor = 1

xr_meet.script

L824 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('%s (%s) is not a stalker', se and se.id, se and se:name())

xr_wounded.script

L162 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("wrong wounded animation %s", self.object:name())
L198 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("wrong wounded animation %s", self.object:name())
L240 🔴 global_write
Global write: hp
Impact: low
Show code
hp = 100*self.npc.health
L241 🔴 global_write
Global write: psy
Impact: low
Show code
psy = 100*self.npc.psy_health

124- Nitpickers Modpack - Ishmaeel

6 files (🟢0 🟡0 🔴19 🔵2)

ish_bolt_b_gone.script

L13 🔴 global_write
Global write: og_keep_item
Impact: low
Show code
og_keep_item = death_manager.keep_item

ish_char_name_saves.script

L13 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# " .. str)
L68 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# Renaming %s -> %s", first, second)

ish_fast_transfer.script

L5 🔴 global_write
Global write: last_url
Impact: low
Show code
last_url = nil
L6 🔴 global_write
Global write: enabled
Impact: low
Show code
enabled = {actor_bag = true, npc_bag = true, actor_trade = true, actor_trade_bag = true, npc_trade = true, npc_trade_bag = true}
L13 🔴 global_write
Global write: new_url
Impact: low
Show code
new_url = move_info.bag .. "_" .. move_info.idx .. "_" .. move_info.ts
L18 🔴 global_write
Global write: last_url
Impact: low
Show code
last_url = new_url
L30 🔴 global_write
Global write: bag
Impact: low
Show code
bag = move_info.bag
L31 🔴 global_write
Global write: idx
Impact: low
Show code
idx = move_info.idx
L33 🔴 global_write
Global write: self
Impact: low
Show code
self = ui_inventory.GUI
L36 🔴 global_write
Global write: bag
Impact: low
Show code
bag, idx = self:Picker_Ownership(bag, idx, obj)
L36 🔴 global_write
Global write: idx
Impact: low
Show code
bag, idx = self:Picker_Ownership(bag, idx, obj)
L51 🔴 global_write
Global write: Base_On_Hover
Impact: low
Show code
Base_On_Hover = utils_ui.UICellContainer.On_Hover

ish_item_stats.script

L125 🔴 global_write
Global write: Base_UIInfoItem_Update
Impact: low
Show code
Base_UIInfoItem_Update = nil
L172 🔴 global_write
Global write: Base_UIInfoItem_Update
Impact: low
Show code
Base_UIInfoItem_Update = utils_ui.UIInfoItem.Update

ish_read_watch.script

L67 🔴 global_write
Global write: hour
Impact: low
Show code
hour = hours[hrs12]
L70 🔴 global_write
Global write: hour
Impact: low
Show code
hour = hours[hrs12 + 1]
L74 🔴 global_write
Global write: hour
Impact: low
Show code
hour = "midnight"
L78 🔴 global_write
Global write: hour
Impact: low
Show code
hour = (min == 0 and "high noon") or "noon"
L82 🔴 global_write
Global write: hour
Impact: low
Show code
hour = "noon"

ish_xr_effects_neu.script

L30 🔴 global_write
Global write: ui_active_slot
Impact: low
Show code
ui_active_slot = 0

125- New Safe Zones - Tweaki_Breeki

2 files (🟢0 🟡0 🔴12 🔵7)

TB_Coordinate_Based_Safe_Zones.script

L387 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--- Removing all cubes used for map icons for TB_Coordinate_Based_Safe_Zones v1.5 ---")
L30 🔴 global_write
Global write: tbiconobjs
Impact: low
Show code
tbiconobjs = {
L70 🔴 global_write
Global write: tbSZ_DC
Impact: low
Show code
tbSZ_DC = {
L92 🔴 global_write
Global write: tbSZ_GS
Impact: low
Show code
tbSZ_GS = {
L98 🔴 global_write
Global write: tbSZ_ME
Impact: low
Show code
tbSZ_ME = {
L104 🔴 global_write
Global write: tbSZ_JU
Impact: low
Show code
tbSZ_JU = {
L117 🔴 global_write
Global write: tbSZ_ZA
Impact: low
Show code
tbSZ_ZA = {
L123 🔴 global_write
Global write: tbSZ_RO
Impact: low
Show code
tbSZ_RO = {
L130 🔴 global_write
Global write: tbSZ_PR
Impact: low
Show code
tbSZ_PR = {
L140 🔴 global_write
Global write: tbSZ_OU
Impact: low
Show code
tbSZ_OU = {
L152 🔴 global_write
Global write: tbSZ_RA
Impact: low
Show code
tbSZ_RA = {
L157 🔴 global_write
Global write: tbSZ_DV
Impact: low
Show code
tbSZ_DV = {
L163 🔴 global_write
Global write: tb_ug_maps
Impact: low
Show code
tb_ug_maps = {

tb_remove_the_tiny_cubes.script

L9 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("$Removing 'tb_tiny_cube' - object number [%s]",i)
L16 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(" ")
L17 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--- Removed every 'tb_tiny_cube' ---")
L18 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(" ")
L19 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--- Save your game, then quit the game completely and then remove this addon. ---")
L20 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(" ")

127- Toggle Scope - Ishmaeel

1 file (🟢0 🟡0 🔴0 🔵25)

ish_toggle_scope.script

L33 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("busy.")
L51 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("active weapon: %s (#%s) parent: %s", switch_info.weapon_section, switch_info.weapon_id, switch_info.parent_section)
L68 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("there are %s scopes for %s", #valid_scopes, switch_info.weapon_section)
L85 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("attaching %s...", scope_name)
L88 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("scope %s not found in inventory.", scope_name)
L131 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("removing %s from %s.", scope, parent_section)
L169 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Cycle requested from %s", switch_info.current_scope)
L181 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("restoring weapon.")
L193 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("no reset required.")
L197 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("new weapon: %s (#%s)", weapon:section(), weapon:id())
L202 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[1.5.2] resetting firing mode to: #%s (%s)", switch_info.saved_fire_mode.value, switch_info.saved_fire_mode.name)
L210 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[1.5.1] resetting queue size to: %s (%s)", new_queue_size, switch_info.saved_queue_size)
L246 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("weapon has native scope: %s (%s)", native_scope, (is_attached and "attached" or "detached"))
L265 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("HUD turned off, defaulting to fire mode.")
L269 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("saved fire mode #%s (%s) queue size: %s", info.saved_fire_mode.value, info.saved_fire_mode.name, info.saved_queue_size)
L309 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("preferred scope is %s (%s)", preferred_scope, idx)
L326 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("grabbed new weapon: %s", switch_info.new_weapon_id)
L330 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("re-equipping secondary weapon.")
L344 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("processing %s weapon.", (is_secondary and 'secondary' or 'primary'))
L350 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("something already attached: %s", weapon_section) -- original [item_weapon.attach_scope] function will ignore this case and prevent changing scopes unless we do something about it.
L358 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("looking up weapon %s...", new_weapon_section)
L368 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("spawning detached scope in inventory: %s", current_scope)
L372 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("spawning weapon variant with the new attachment: %s", new_weapon_section)
L375 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("releasing attached scope into the void: %s (#%s)", item_section, item:id())
L393 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("detaching from %s weapon.", (is_secondary and 'secondary' or 'primary'))

128- Guide Tasks Fix - RavenAscendant

1 file (🟢0 🟡0 🔴2 🔵3)

tasks_guide.script

L138 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log('! , = '..cycle_id..' !')
L523 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("RAX WTF timer over write!")
L544 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Timer %s, at %s | gametime at %s", value['name'], value['delay'],time)
L492 🔴 global_write
Global write: action
Impact: low
Show code
then action=""
L512 🔴 global_write
Global write: action
Impact: low
Show code
action=""

129- Mask Reflections - shader fix - Grokitach

2 files (🟢0 🟡0 🔴15 🔵0)

grok_masks_reflections.script

L12 🔴 global_write
Global write: cam_dist
Impact: low
Show code
cam_dist = 0
L81 🔴 global_write
Global write: helm_off
Impact: low
Show code
helm_off = false
L82 🔴 global_write
Global write: original_switch_helm
Impact: low
Show code
original_switch_helm = actor_effects.switch_helm
L84 🔴 global_write
Global write: helm_off
Impact: low
Show code
helm_off = not helm_off
L93 🔴 global_write
Global write: h1
Impact: low
Show code
h1,h2,h3,h4 = unpack(str_explode(h,","))
L93 🔴 global_write
Global write: h2
Impact: low
Show code
h1,h2,h3,h4 = unpack(str_explode(h,","))
L93 🔴 global_write
Global write: h3
Impact: low
Show code
h1,h2,h3,h4 = unpack(str_explode(h,","))
L93 🔴 global_write
Global write: h4
Impact: low
Show code
h1,h2,h3,h4 = unpack(str_explode(h,","))
L94 🔴 global_write
Global write: actor
Impact: low
Show code
actor = db.actor
L99 🔴 global_write
Global write: helm_hud_pre
Impact: low
Show code
helm_hud_pre = STATIC_MASK and opt.helmets[sec] and opt.helmets[sec].hud or "hud_gas" --This is odd, hud_gass is in the actor_effects.ltx but not hud_gas effectively making this a nil index but it looks like a typo.
L101 🔴 global_write
Global write: h3
Impact: low
Show code
h3 = opt.enable_visor_reflection and opt.helmets_reflect[helm_hud_pre] and "1.0" or "0.0"

grok_navs_masks_enabler.script

L12 🔴 global_write
Global write: cam_dist
Impact: low
Show code
cam_dist = 0
L128 🔴 global_write
Global write: origional_HUD_mask
Impact: low
Show code
origional_HUD_mask = actor_effects.HUD_mask -- save a copy of the origional function so we can call it at the end of our version.
L135 🔴 global_write
Global write: curr_hud
Impact: low
Show code
curr_hud = actor_effects.is_mask_on() -- this gets curr_hud from actor_effects.script, you would think this function would return a bool, but instead it returns nil or a string, functions the same in lua and i will not question gifts when i find them.
L137 🔴 global_write
Global write: cam_dist
Impact: low
Show code
cam_dist = db.actor:bone_position("bip01_head"):distance_to_sqr(device().cam_pos) -- actor_effects does this in on_actor_update, i'm just going to do it when i need it.

131- Life granter Counter - ToothlessShark

1 file (🟢1 🟡2 🔴0 🔵2)

ui_pda_encyclopedia_tab.script

L376 🟢 repeated_obj_section()
obj:section() called 3x in detect_intereaction
Impact: low
Show code
Cache obj:section() result
L960 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. "\\n " .. utils_xml.get_color("ui_gray_1") .. " " .. game.translate_string(gr.name) .. ": " .. clr .. g_tostring(value)
L986 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. "\\n \\n" .. utils_xml.get_color("pda_white") .. ui_item.get_sec_name(id) .. ":"
L324 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
else printf("Encyclopedia category \"" .. categories[i].section .. "\" does not exist.") end
L332 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Encyclopedia interactivity section \"" .. plugin_section .. "\" does not exist.")

132- Companion anti awol - Skieppy

2 files (🟢0 🟡0 🔴3 🔵0)

companion_anti_awol.script

L88 🔴 global_write
Global write: companion_retreat
Impact: low
Show code
companion_retreat = nil
L89 🔴 global_write
Global write: companion_retreat
Impact: low
Show code
companion_retreat = {}

companion_anti_awol_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "companion_anti_awol",sh=true ,gr={

133- No more companions friendly fire - RavenAscendant

1 file (🟢0 🟡0 🔴5 🔵0)

nomorefreindlyfire_mcm.script

L3 🔴 global_write
Global write: NPCprotect
Impact: low
Show code
NPCprotect = true --Give options a default value.
L4 🔴 global_write
Global write: ACProtect
Impact: low
Show code
ACProtect = true
L44 🔴 global_write
Global write: NPCprotect
Impact: low
Show code
NPCprotect = ui_mcm.get("nomorefriendlyfire/npcprotect")
L45 🔴 global_write
Global write: ACprotect
Impact: low
Show code
ACprotect = ui_mcm.get("nomorefriendlyfire/acprotect")
L50 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "nomorefriendlyfire" ,sh=true ,gr={

134- Weapons Drop on bodies - Jabbers

1 file (🟢0 🟡0 🔴1 🔵0)

keep_guns_on_bodies.script

L17 🔴 global_write
Global write: old_keep_item
Impact: low
Show code
old_keep_item = death_manager.keep_item

137- Auto-Zoomed Out Scope Draw - Demonized

1 file (🟢0 🟡0 🔴5 🔵0)

zoomed_out_scope_draw.script

L3 🔴 global_write
Global write: current_obj
Impact: low
Show code
current_obj = nil
L4 🔴 global_write
Global write: saved_magnifications
Impact: low
Show code
saved_magnifications = {}
L18 🔴 global_write
Global write: current_obj
Impact: low
Show code
current_obj = obj
L24 🔴 global_write
Global write: current_obj
Impact: low
Show code
current_obj = nil
L85 🔴 global_write
Global write: saved_magnifications
Impact: low
Show code
saved_magnifications = m_data.zoomed_out_scope_draw_saved_magnifications or {}

139- Craft and Repair Overhaul - Grokitach

1 file (🟢1 🟡0 🔴0 🔵0)

workshop_tool.script

L76 🟢 repeated_obj_section()
obj:section() called 5x in tool_workshop
Impact: low
Show code
Cache obj:section() result

14- Angry Chimera growl - Tweaki_Breeki

2 files (🟢0 🟡0 🔴4 🔵0)

TB_Angry_Chimera_Growls.script

L21 🔴 global_write
Global write: tb_chimeras
Impact: low
Show code
tb_chimeras = {}
L54 🔴 global_write
Global write: tb_chimeras
Impact: low
Show code
tb_chimeras = {}

TB_Angry_Lurker_Growls.script

L21 🔴 global_write
Global write: tb_lurkers
Impact: low
Show code
tb_lurkers = {}
L54 🔴 global_write
Global write: tb_lurkers
Impact: low
Show code
tb_lurkers = {}

140- Weapon Parts Overhaul - arti

7 files (🟢2 🟡1 🔴34 🔵9)

a_arti_jamming_mcm.script

L24 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "wpo",sh=true ,gr={

a_wpo_parts.script

L25 🟢 repeated_obj_section()
obj:section() called 3x in utils_item.get_item_trade_status
Impact: low
Show code
Cache obj:section() result
L28 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Checking parts for %s", obj:section())
L33 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("weapon %s has busted part %s", obj:section(), k)
L3 🔴 global_write
Global write: GetCost
Impact: low
Show code
GetCost = utils_item.get_item_cost
L18 🔴 global_write
Global write: GetStatus
Impact: low
Show code
GetStatus = utils_item.get_item_trade_status

arti_jamming.script

L217 🟢 repeated_gun_section()
gun:section() called 5x in actor_on_update
Impact: low
Show code
Cache gun:section() result
L48 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("arti_jamming | %s | " .. txt, time_global(), ...)
L338 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(jc_ratio)
L340 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(jc)
L2 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L3 🔴 global_write
Global write: math_random
Impact: low
Show code
math_random = math.random
L4 🔴 global_write
Global write: math_floor
Impact: low
Show code
math_floor = math.floor
L36 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = a_arti_jamming_mcm.get_config
L38 🔴 global_write
Global write: d_flag
Impact: low
Show code
d_flag = false
L825 🔴 global_write
Global write: d_flag
Impact: low
Show code
d_flag = false
L831 🔴 global_write
Global write: d_flag
Impact: low
Show code
d_flag = true

game_diff_override.script

L1 🔴 global_write
Global write: GetEcoFactor
Impact: low
Show code
GetEcoFactor = game_difficulties.get_eco_factor

inventory_upgrades_mp.script

L4 🔴 global_write
Global write: ini_parts
Impact: low
Show code
ini_parts = itms_manager.ini_parts

wpo_loot.script

L3 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = arti_jamming.print_dbg
L4 🔴 global_write
Global write: has_parts
Impact: low
Show code
has_parts = arti_jamming.has_parts
L6 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

zzzz_arti_jamming_repairs.script

L806 🟡 string_concat_in_loop
String concat in loop: str_msg = str_msg .. x
Impact: critical
Show code
str_msg = str_msg .. "\\n -" .. ui_item.get_sec_name(k)
L193 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts timer | no owner found")
L243 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts | no owner found for [%s]", obj:name())
L451 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIWorkshopRepair:Repair() | can't discharge toolkit with id (%s). Object not found!", self.toolkit_pick[i])
L469 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopRepair:Repair() | object with id (%s) is either not found. Or didn't register new condition (%s)!", id, final_con)
L7 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L8 🔴 global_write
Global write: has_parts
Impact: low
Show code
has_parts = arti_jamming.has_parts
L9 🔴 global_write
Global write: is_part
Impact: low
Show code
is_part = arti_jamming.is_part
L10 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = arti_jamming.print_dbg
L11 🔴 global_write
Global write: print_ws
Impact: low
Show code
print_ws = ui_workshop.print_ws
L12 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = a_arti_jamming_mcm.get_config
L13 🔴 global_write
Global write: math_floor
Impact: low
Show code
math_floor = math.floor
L14 🔴 global_write
Global write: current_id
Impact: low
Show code
current_id = arti_jamming.current_id
L15 🔴 global_write
Global write: reset_cgd
Impact: low
Show code
reset_cgd = arti_jamming.reset_cgd
L16 🔴 global_write
Global write: SetTip
Impact: low
Show code
SetTip = ui_workshop.SetTip
L83 🔴 global_write
Global write: EvaluateParts
Impact: low
Show code
EvaluateParts = item_parts.evaluate_parts
L221 🔴 global_write
Global write: DisassemblyWeapon
Impact: low
Show code
DisassemblyWeapon = item_parts.disassembly_weapon
L331 🔴 global_write
Global write: WorkshopReplacePart
Impact: low
Show code
WorkshopReplacePart = ui_workshop.UIWorkshopRepair.ReplacePart
L399 🔴 global_write
Global write: WorkshopRepair
Impact: low
Show code
WorkshopRepair = ui_workshop.UIWorkshopRepair.Repair
L495 🔴 global_write
Global write: HowMuch
Impact: low
Show code
HowMuch = inventory_upgrades_mp.how_much_repair
L506 🔴 global_write
Global write: quality_map
Impact: low
Show code
quality_map = {
L513 🔴 global_write
Global write: unique_mapping
Impact: low
Show code
unique_mapping = {
L524 🔴 global_write
Global write: name_mapping
Impact: low
Show code
name_mapping = {
L568 🔴 global_write
Global write: original_build_desc_header
Impact: low
Show code
original_build_desc_header = ui_item.build_desc_header

141- Fixed Crafting with Multi-Use Items - thisisntmysteamid

1 file (🟢0 🟡0 🔴2 🔵0)

zzz_timsi_ui_workshop.script

L1 🔴 global_write
Global write: UpdateItem
Impact: low
Show code
UpdateItem = ui_workshop.UIWorkshopCraft.UpdateItem
L2 🔴 global_write
Global write: SetTip
Impact: low
Show code
SetTip = ui_workshop.SetTip

143- Keep Crafting Window Opened - Demonized

2 files (🟢0 🟡0 🔴0 🔵11)

demonized_time_events.script

L36 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L39 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L41 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L46 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L48 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L52 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L54 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L59 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L61 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)

zz_ui_workshop_keep_crafting_window_open.script

L171 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIWorkshopRepair:Repair() | can't discharge toolkit with id (%s). Object not found!", self.toolkit_pick[i])
L186 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopRepair:Repair() | object with id (%s) is either not found. Or didn't register new condition (%s)!", id, final_con)

144- Prefer Best Disassembly Tool - Demonized

1 file (🟢0 🟡0 🔴0 🔵1)

zz_item_parts_prefer_best_disassembly_tool.script

L85 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Prefer Best Disassembly Tool: Calling override GetItemList")

145- Ammo Maker - arti

1 file (🟢0 🟡0 🔴3 🔵2)

ammo_maker.script

L14 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ breakdown | no owner found for [%s]", ammo:name())
L94 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ breakdown timer | no owner found")
L118 🔴 global_write
Global write: Disassemble
Impact: low
Show code
Disassemble = item_parts.disassembly_item
L162 🔴 global_write
Global write: NameCustom
Impact: low
Show code
NameCustom = ui_inventory.UIInventory.Name_Custom
L172 🔴 global_write
Global write: ActionCustom
Impact: low
Show code
ActionCustom = ui_inventory.UIInventory.Action_Custom

146- Ammo Maker BAS Patch - arti

1 file (🟢0 🟡0 🔴0 🔵1)

bas_adder.script

L7 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("assigning ammo %s recipe %s", id, value)

147- Streamlined Upgrades - arti

3 files (🟢0 🟡0 🔴11 🔵1)

aaaa_monkeys.script

L4 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("-utils_item | " .. fmt,...)

kit_binder.script

L3 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L4 🔴 global_write
Global write: enable_debug
Impact: low
Show code
enable_debug = false
L36 🔴 global_write
Global write: se_itm
Impact: low
Show code
se_itm = alife_create(new_sec, pos, lvid, gvid, pid)
L38 🔴 global_write
Global write: se_itm
Impact: low
Show code
se_itm = alife_create(new_sec, pos, lvid, gvid)
L127 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = ini_mapping:r_line_ex("upgrade_mapping",i,"","")
L127 🔴 global_write
Global write: id
Impact: low
Show code
result, id, value = ini_mapping:r_line_ex("upgrade_mapping",i,"","")
L127 🔴 global_write
Global write: value
Impact: low
Show code
result, id, value = ini_mapping:r_line_ex("upgrade_mapping",i,"","")
L137 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = ini_recipe:r_line_ex("to_add",i,"","")
L137 🔴 global_write
Global write: id
Impact: low
Show code
result, id, value = ini_recipe:r_line_ex("to_add",i,"","")
L137 🔴 global_write
Global write: value
Impact: low
Show code
result, id, value = ini_recipe:r_line_ex("to_add",i,"","")

upgrades_mcm.script

L11 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "supgrades",sh=true ,gr={

148- Outfit Drop Chance - arti

1 file (🟢0 🟡0 🔴4 🔵1)

outfit_drop_mcm.script

L35 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( " %s | "..text ,time_global(), ...)
L14 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "outfitdrop",sh=true ,gr={
L77 🔴 global_write
Global write: ValidateDrop
Impact: low
Show code
ValidateDrop = death_manager.validate_drop
L98 🔴 global_write
Global write: ind
Impact: low
Show code
ind = 1
L109 🔴 global_write
Global write: ind
Impact: low
Show code
ind = ind + 1

149- Upgrades pricing overhaul - KronQ

4 files (🟢0 🟡0 🔴18 🔵0)

inventory_upgrades_mp.script

L4 🔴 global_write
Global write: ini_parts
Impact: low
Show code
ini_parts = itms_manager.ini_parts
L83 🔴 global_write
Global write: OnRepair
Impact: low
Show code
OnRepair = ui_inventory.UIInventory.RMode_OnRepair
L99 🔴 global_write
Global write: RepairYes
Impact: low
Show code
RepairYes = ui_inventory.UIInventory.RMode_RepairYes

smooth_prog_mcm.script

L2 🔴 global_write
Global write: tier_disc
Impact: low
Show code
tier_disc ={
L8 🔴 global_write
Global write: weapon_upgr_mult
Impact: low
Show code
weapon_upgr_mult = 0.5
L9 🔴 global_write
Global write: outfit_upgr_mult
Impact: low
Show code
outfit_upgr_mult = 1
L11 🔴 global_write
Global write: wpn_disc_apply
Impact: low
Show code
wpn_disc_apply = false
L21 🔴 global_write
Global write: CanRepair
Impact: low
Show code
CanRepair = inventory_upgrades.can_repair_item
L25 🔴 global_write
Global write: wpn_disc_apply
Impact: low
Show code
wpn_disc_apply = obj and IsWeapon(obj) or false
L42 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = "smooth_prog", sh=true, gr={

upgrade_rank_pricing.script

L15 🔴 global_write
Global write: outfit_type_upgrade
Impact: low
Show code
outfit_type_upgrade = {
L80 🔴 global_write
Global write: rank
Impact: low
Show code
rank = section:sub(14,14)
L167 🔴 global_write
Global write: rank
Impact: low
Show code
rank = section:sub(14,14)
L187 🔴 global_write
Global write: rank
Impact: low
Show code
rank = section:sub(14,14)
L223 🔴 global_write
Global write: cur_hint
Impact: low
Show code
cur_hint = nil
L255 🔴 global_write
Global write: rank
Impact: low
Show code
rank = section:sub(14,14)

zzzzzzz_repair_modifiers.script

L2 🔴 global_write
Global write: outfit_type_repair
Impact: low
Show code
outfit_type_repair = {
L22 🔴 global_write
Global write: HowMuch
Impact: low
Show code
HowMuch = inventory_upgrades_mp.how_much_repair

15- Voiced Actor - DesmanMetzger

2 files (🟢0 🟡0 🔴33 🔵31)

AGDD_voiced_actor.script

L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sound volume: " .. sound_volume) --prints out the volume of the sound to the console log, debug purposes
L148 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("actor sound played: " .. file) --prints out played files to the console log, debug purposes
L61 🔴 global_write
Global write: muffle
Impact: low
Show code
muffle = "" -- initiates muffling condition
L66 🔴 global_write
Global write: muffle
Impact: low
Show code
muffle = "m_"
L68 🔴 global_write
Global write: muffle
Impact: low
Show code
muffle = ""
L89 🔴 global_write
Global write: combat_inertia
Impact: low
Show code
combat_inertia = 1
L95 🔴 global_write
Global write: combat_inertia
Impact: low
Show code
combat_inertia = time_global() + 10000 --sets the delay of ten seconds to ensure that combat status doesn't drop in case enemies stop targeting the actor for a short time
L157 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = 0 --main value that drives the combat status system
L158 🔴 global_write
Global write: combat_intensity_drain_cooldown
Impact: low
Show code
combat_intensity_drain_cooldown = 0 --auxilary value, prevents combat progression from draining constantly, instead it only drains after nothing combat-related happens for some time
L159 🔴 global_write
Global write: combat_medium_threshold
Impact: low
Show code
combat_medium_threshold = 500 --the threshold at which combat status switches to it's second phase
L160 🔴 global_write
Global write: combat_high_threshold
Impact: low
Show code
combat_high_threshold = 1500 --the threshold at which combat status switches to it's final third phase (combat_intensity value doesn't stop there and can progress even further, but that won't have any changes)
L171 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = combat_intensity + intensity --adds it
L173 🔴 global_write
Global write: combat_intensity_drain_cooldown
Impact: low
Show code
combat_intensity_drain_cooldown = combat_intensity_drain_cooldown + cooldown --adds the cooldown even if we didn't add intensity
L180 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = 1
L204 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = 1
L263 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = combat_intensity - 1
L266 🔴 global_write
Global write: combat_intensity_drain_cooldown
Impact: low
Show code
combat_intensity_drain_cooldown = combat_intensity_drain_cooldown - 2
L269 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = clamp(combat_intensity,0,combat_high_threshold * 2) --keeps combat intensity value in bounds, it shouldn't go into negatives nor overshoot the max cap
L270 🔴 global_write
Global write: combat_intensity_drain_cooldown
Impact: low
Show code
combat_intensity_drain_cooldown = clamp(combat_intensity_drain_cooldown,0,1000) --same thing but for the cooldown

axr_companions.script

L257 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! axr_companions | cleared old data: %s", "companion_"..c_idx)
L360 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("ERROR: do not have access to scripts\\beh_companion.ltx! Make sure you installed properly!")
L479 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Companions | Can't play the effect when it's being played aleady")
L496 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Companions | squad can't be added cause it doesn't exist?!")
L501 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Companions | squad (%s) is already companion squad", squad.id)
L526 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Companions | squad can't be dismissed cause it doesn't exist?!")
L531 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Companions | squad (%s) can't be dismissed cause it's not a companion squad", squad.id)
L545 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Companions | squad can't be released cause it doesn't exist?!")
L629 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_companion | can't find story squad [%s]", p[1])
L636 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_giver_companion | can't set up task giver as companion because task is not declared")
L643 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_giver_companion | task [%s] is not active", p[1])
L649 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_giver_companion | task giver id not found for task [%s]", p[1])
L656 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_giver_companion | can't find task giver object (%s) for task [%s]", id, p[1])
L665 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_giver_companion | can't set up task giver as companion because task is not declared")
L672 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_giver_companion | task [%s] is not active", p[1])
L678 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_giver_companion | task giver id not found for task [%s]", p[1])
L685 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_giver_companion | can't find task giver object (%s) for task [%s]", id, p[1])
L696 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_speaker_companion | actor is not talking")
L704 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_speaker_companion | speaker id not found for task [%s]", task_id)
L710 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_speaker_companion | can't find speaker object (%s) for task [%s]", id, task_id)
L720 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- %s | saved companion id (%s)", task_id, id)
L738 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR dismiss_speaker_companion | speaker squad id not found for task [%s]", task_id)
L780 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! setup_companion_task: no smart found! %s", smart_id or smrt_name)
L785 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! setup_companion_task: Trying to setup companion squad with a non-existent section!")
L1267 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR axr_companions.get_inventory_table | no npc object recieved")
L1346 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe('ERROR axr_companions.trasnfer_item | no object recieved | item: %s - npc_from: %s - npc_to: %s', (item and true), (npc_from and true), (npc_to and true))
L1370 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('~ axr_companions.trasnfer_item | item [%s] is not assigned to companion [%s] | assigned companion: %s - assigned item: %s', item:name(), npc_from:name(), is_assigned_companion(npc_from), is_assigned_item(id_from,item_id))
L1406 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('! is_assigned_item: one or more arguments nil: %s %s',npc_id, item_id)
L1508 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('! is_assigned_companion: id is nil: %s %s',npc_id)
L26 🔴 global_write
Global write: allow_only_friends_as_companions
Impact: low
Show code
allow_only_friends_as_companions = true
L27 🔴 global_write
Global write: allow_simulation_squads_as_companions
Impact: low
Show code
allow_simulation_squads_as_companions = false
L28 🔴 global_write
Global write: max_actor_squad_size
Impact: low
Show code
max_actor_squad_size = 0 -- used only for non task companions
L31 🔴 global_write
Global write: companion_squads
Impact: low
Show code
companion_squads = {}
L32 🔴 global_write
Global write: non_task_companions
Impact: low
Show code
non_task_companions = {}
L154 🔴 global_write
Global write: non_task_companions
Impact: low
Show code
non_task_companions = m_data.non_task_companions or non_task_companions
L157 🔴 global_write
Global write: companion_squads
Impact: low
Show code
companion_squads = m_data.companion_squads or companion_squads
L174 🔴 global_write
Global write: st
Impact: low
Show code
st = db.storage[k.id]
L237 🔴 global_write
Global write: max_actor_squad_size
Impact: low
Show code
max_actor_squad_size = ini:r_float_ex("main","max_actor_squad_size_patriarch") or 4
L267 🔴 global_write
Global write: Enabled
Impact: low
Show code
Enabled = ini:r_bool_ex("main","enable",false)
L290 🔴 global_write
Global write: allow_only_friends_as_companions
Impact: low
Show code
allow_only_friends_as_companions = ini:r_bool_ex("main","allow_only_friends_as_companions",false)
L291 🔴 global_write
Global write: allow_simulation_squads_as_companions
Impact: low
Show code
allow_simulation_squads_as_companions = ini:r_bool_ex("main","allow_simulation_squads_as_companions",false)
L292 🔴 global_write
Global write: max_actor_squad_size
Impact: low
Show code
max_actor_squad_size = ini:r_float_ex("main","max_actor_squad_size") or 2
L1051 🔴 global_write
Global write: st
Impact: low
Show code
st = db.storage[k.id]
L1240 🔴 global_write
Global write: st
Impact: low
Show code
st = db.storage[k.id]
L1847 🔴 global_write
Global write: pass
Impact: low
Show code
pass = false

152- Configurable loot condition - dph

1 file (🟢2 🟡1 🔴5 🔵4)

death_manager.script

L508 🟢 repeated_itm_section()
itm:section() called 3x in itr
Impact: low
Show code
Cache itm:section() result
L593 🟢 repeated_itm_section()
itm:section() called 3x in set_weapon_drop_condition
Impact: low
Show code
Cache itm:section() result
L922 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. " , " .. info.sec .. " (" .. info.num .. ")" .. add
L343 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR [%s] is not spawned by ItemProcessor",section)
L907 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("----------------------------------------------------------")
L924 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(str)
L926 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("----------------------------------------------------------")
L21 🔴 global_write
Global write: item_by_story_id
Impact: low
Show code
item_by_story_id = {}
L65 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = death_ini:r_line_ex(x,i,"","")
L106 🔴 global_write
Global write: item_by_story_id
Impact: low
Show code
item_by_story_id = {}
L156 🔴 global_write
Global write: items_by_npc
Impact: low
Show code
items_by_npc = {} -- table = trade, false = no trade, nil = not asked yet
L777 🔴 global_write
Global write: items_by_npc
Impact: low
Show code
items_by_npc = m_data.items_by_npc or {}

154- RF Receiver Tasks - Tweaki_Breeki

2 files (🟢0 🟡0 🔴86 🔵4)

TB_RF_Receiver_Packages.script

L820 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--- Loading TBs_RF_Receiver_Hidden_Package_Sidequests_v1.8 ---")
L848 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--- Cleaning v1.5 package queue for v1.6 | Queue size was: %s, is now: %s ---",tb_queue_num,#tb_package_queue)
L863 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! --------------------------------------------------\n! ERROR!\n! SOMETHING HAS REMOVED THE PACKAGE FROM THE GAME!\n! Please post the following information to tweaki_breeki on moddb!\n! tb_target_item is %s\n! tb_package_active is %s\n! tb_package_in_level is %s\n! #tb_package_queue is %s\n! tb_target_lvid is %s\n! tb_target_gvid is %s\n! --------------------------------------------------",tb_target_item,tb_package_active,tb_package_in_level,#tb_package_queue,tb_target_lvid,tb_target_gvid)
L26 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L27 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = false
L28 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = false
L29 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = "empty"
L30 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = "empty"
L31 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = 0
L32 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = "empty"
L33 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L34 🔴 global_write
Global write: tb_tg_scan
Impact: low
Show code
tb_tg_scan = 0
L35 🔴 global_write
Global write: tb_device
Impact: low
Show code
tb_device = "detector_radio"
L36 🔴 global_write
Global write: tb_relation_diff
Impact: low
Show code
tb_relation_diff = 250
L38 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = 0
L39 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = 0
L40 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = 0
L41 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = false
L42 🔴 global_write
Global write: tb_tg_badguys
Impact: low
Show code
tb_tg_badguys = 0
L44 🔴 global_write
Global write: tb_previous_level
Impact: low
Show code
tb_previous_level = "empty"
L46 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L49 🔴 global_write
Global write: tb_relations
Impact: low
Show code
tb_relations = {
L65 🔴 global_write
Global write: tb_maybe_badguys
Impact: low
Show code
tb_maybe_badguys = {
L81 🔴 global_write
Global write: tb_factions
Impact: low
Show code
tb_factions = {"army", "bandit", "csky", "dolg", "ecolog", "freedom", "greh", "isg", "killer", "monolith", "renegade", "stalker"}
L83 🔴 global_write
Global write: tb_cut_factions
Impact: low
Show code
tb_cut_factions = {"army", "bandit", "csky", "dolg", "ecolog", "freedom", "killer", "renegade", "stalker"}
L85 🔴 global_write
Global write: tb_homebases
Impact: low
Show code
tb_homebases = {"l03_agroprom", "l04_darkvalley", "k00_marsh", "l05_bar", "l08_yantar", "l07_military", "l10_red_forest", "pripyat", "l09_deadcity", "l11_pripyat", "k00_marsh", "l01_escape"}
L88 🔴 global_write
Global write: tb_package_queue
Impact: low
Show code
tb_package_queue = {}
L91 🔴 global_write
Global write: tb_allmaps
Impact: low
Show code
tb_allmaps = {
L129 🔴 global_write
Global write: tb_package_coords
Impact: low
Show code
tb_package_coords = {
L617 🔴 global_write
Global write: tb_extraloot
Impact: low
Show code
tb_extraloot = {
L634 🔴 global_write
Global write: tb_extraupgrades
Impact: low
Show code
tb_extraupgrades = {
L724 🔴 global_write
Global write: tb_junks
Impact: low
Show code
tb_junks = {
L759 🔴 global_write
Global write: tb_copy_of_itms_manager
Impact: low
Show code
tb_copy_of_itms_manager = itms_manager.use_package_random
L772 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = tb_bonus_items - 1
L847 🔴 global_write
Global write: tb_package_queue
Impact: low
Show code
tb_package_queue = tb_new_queue
L875 🔴 global_write
Global write: tb_tg_badguys
Impact: low
Show code
tb_tg_badguys = tg + 2000
L880 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = true
L890 🔴 global_write
Global write: tb_tg_scan
Impact: low
Show code
tb_tg_scan = tg + tb_scan_time
L907 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = tb_relations[tb_factions[i]][2]
L912 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = true
L930 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = tb_relations[tb_factions[i]][2]
L931 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = game.translate_string("tb_sooner_rf")
L934 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = true
L957 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = true
L961 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L965 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L974 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = tb_package_queue[1][2]
L988 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = chosenmap
L999 🔴 global_write
Global write: tb_previous_level
Impact: low
Show code
tb_previous_level = chosenmap
L1008 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = rfreq
L1014 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = se_obj.id
L1015 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = rlvid
L1016 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = rgvid
L1019 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = true
L1021 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = game.translate_string("tb_dont_forget") .. " " .. game.translate_string(rlocat) .. " " .. game.translate_string(rplace) .. game.translate_string("tb_freq_was_on") .. " " .. g_tostring(rfreq) .. game.translate_string("tb_the_mhz")
L1025 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1028 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1075 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 1000
L1081 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 2000
L1087 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 3000
L1093 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L1110 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = false
L1111 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = false
L1112 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L1113 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L1114 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = "empty"
L1115 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = "empty"
L1116 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L1126 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = 0
L1128 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = tb_bonus_items + 1
L1158 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = m_data.tb_target_item
L1159 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = m_data.tb_sufficient_passed
L1160 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = m_data.tb_package_active
L1161 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = m_data.tb_reminder
L1162 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = m_data.tb_package_in_level
L1163 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = m_data.tb_freq
L1164 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = m_data.tb_sender_icon
L1165 🔴 global_write
Global write: tb_relations
Impact: low
Show code
tb_relations = m_data.tb_relations
L1166 🔴 global_write
Global write: tb_package_queue
Impact: low
Show code
tb_package_queue = m_data.tb_package_queue
L1169 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = m_data.tb_target_lvid
L1170 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = m_data.tb_target_gvid
L1171 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = m_data.tb_bonus_items
L1172 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = m_data.tb_badguy_spawned
L1175 🔴 global_write
Global write: tb_previous_level
Impact: low
Show code
tb_previous_level = m_data.tb_previous_level

item_radio.script

L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("item_radio | " .. fmt, ...)
L99 🔴 global_write
Global write: RF_stashes
Impact: low
Show code
RF_stashes = {} -- stored stashes with RF source
L100 🔴 global_write
Global write: RF_targets
Impact: low
Show code
RF_targets = {} -- stored specific targets with RF source
L263 🔴 global_write
Global write: refresh
Impact: low
Show code
refresh = true -- require sounds update
L504 🔴 global_write
Global write: RF_stashes
Impact: low
Show code
RF_stashes = m_data.RF_stashes or {}
L505 🔴 global_write
Global write: RF_targets
Impact: low
Show code
RF_targets = m_data.RF_targets or {}

155- UNISG Trader Fix - Qball

1 file (🟢0 🟡0 🔴0 🔵1)

dialogs_lostzone.script

L510 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad with id[%s]", story_id)

156- No Exos in the South - Grokitach

2 files (🟢0 🟡0 🔴14 🔵0)

grok_nes.script

L229 🔴 global_write
Global write: npc_has_af
Impact: low
Show code
npc_has_af = 1
L233 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L234 🔴 global_write
Global write: delay
Impact: low
Show code
delay = 1130
L236 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L239 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + delay
L240 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 1
L244 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0

grok_no_north_faction_in_south.script

L220 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L221 🔴 global_write
Global write: delay
Impact: low
Show code
delay = 250
L227 🔴 global_write
Global write: npc_has_af
Impact: low
Show code
npc_has_af = 1
L232 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L235 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + delay
L236 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 1
L240 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0

158- ABF - Jurkonov

3 files (🟢3 🟡0 🔴0 🔵9)

chem_damage.script

L26 🟢 repeated_field_section()
field:section() called 4x in hit_callback
Impact: low
Show code
Cache field:section() result
L26 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("current hitter %s", field:section())
L28 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("not valid field %s", field:section())
L44 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Registering")

fire_damage.script

L26 🟢 repeated_field_section()
field:section() called 4x in hit_callback
Impact: low
Show code
Cache field:section() result
L26 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("current hitter %s", field:section())
L28 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("not valid field %s", field:section())
L44 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Registering")

psy_damage.script

L26 🟢 repeated_field_section()
field:section() called 4x in hit_callback
Impact: low
Show code
Cache field:section() result
L26 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("current hitter %s", field:section())
L28 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("not valid field %s", field:section())
L44 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Registering")

161- Improved player and NPCs ranks (longer for player, faster for companions) - mandothreesixtee

1 file (🟢0 🟡0 🔴13 🔵1)

game_statistics.script

L250 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Player used debug mode!")
L19 🔴 global_write
Global write: actor_achievements
Impact: low
Show code
actor_achievements = {
L48 🔴 global_write
Global write: actor_artefacts
Impact: low
Show code
actor_artefacts = {
L52 🔴 global_write
Global write: actor_anomaly_maps
Impact: low
Show code
actor_anomaly_maps = {
L56 🔴 global_write
Global write: actor_miscellaneous
Impact: low
Show code
actor_miscellaneous = {
L62 🔴 global_write
Global write: actor_visited_levels
Impact: low
Show code
actor_visited_levels = {
L100 🔴 global_write
Global write: actor_visited_smarts
Impact: low
Show code
actor_visited_smarts = {
L104 🔴 global_write
Global write: actor_statistics
Impact: low
Show code
actor_statistics = {
L140 🔴 global_write
Global write: npc_statistics
Impact: low
Show code
npc_statistics = {
L528 🔴 global_write
Global write: actor_artefacts
Impact: low
Show code
actor_artefacts = data.game_statistics.actor_artefacts or actor_artefacts
L529 🔴 global_write
Global write: actor_anomaly_maps
Impact: low
Show code
actor_anomaly_maps = data.game_statistics.actor_anomaly_maps or actor_anomaly_maps
L530 🔴 global_write
Global write: actor_miscellaneous
Impact: low
Show code
actor_miscellaneous = data.game_statistics.actor_miscellaneous or actor_miscellaneous
L531 🔴 global_write
Global write: actor_visited_levels
Impact: low
Show code
actor_visited_levels = data.game_statistics.actor_visited_levels or actor_visited_levels
L532 🔴 global_write
Global write: actor_visited_smarts
Impact: low
Show code
actor_visited_smarts = data.game_statistics.actor_visited_smarts or actor_visited_smarts

163- Identification UI - CrookR

1 file (🟢0 🟡0 🔴10 🔵1)

factionID_hud_mcm.script

L383 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("ERROR: faction ID nil in tick")
L223 🔴 global_write
Global write: op
Impact: low
Show code
op ={ id= "targetID" , sh = true , gr =
L308 🔴 global_write
Global write: rank
Impact: low
Show code
rank = game.translate_string("st_rank_" .. ranks.get_obj_rank_name(obj)) or ""
L310 🔴 global_write
Global write: rank
Impact: low
Show code
if not rankID then rank = nil end
L315 🔴 global_write
Global write: rank
Impact: low
Show code
rank = nil
L404 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L405 🔴 global_write
Global write: delay
Impact: low
Show code
delay = 100
L409 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L412 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + delay
L413 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 1
L417 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0

164- Hunger Thirst Sleep UI - xcvb

1 file (🟢0 🟡0 🔴1 🔵0)

hts_inventory_bars.script

L165 🔴 global_write
Global write: loc_val
Impact: low
Show code
_,_, loc_val = string.find(line, "start_blur_4%s*=%s*(%d+)")

165- Hunger Thirst Sleep UI htsb knifebinoc patches - xcvb

1 file (🟢0 🟡0 🔴1 🔵0)

hts_inventory_bars.script

L165 🔴 global_write
Global write: loc_val
Impact: low
Show code
_,_, loc_val = string.find(line, "start_blur_4%s*=%s*(%d+)")

166- New sorting tabs - Bartoche

1 file (🟢2 🟡0 🔴1 🔵5)

ui_inventory.script

L770 🟢 table_insert_append
table.insert(context_params, v) -> context_params[#context_params+1] = v
Impact: high
Show code
table.insert(context_params, {id, bag, g_unpack(func_action)})
L3099 🟢 repeated_obj_from_section()
obj_from:section() called 3x in On_CC_DragDrop
Impact: low
Show code
Cache obj_from:section() result
L675 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR Can't get item game object!")
L856 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIInventory:Name_Custom | can't find function (%s) for %s in section [%s]", str[1] .. str[2], "use" .. i .. "_functor", sec)
L1234 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIInventory:Action_Custom | can't find function (%s) for %s in section [%s]", str[1] .. str[2], "use" .. i .. "_action_functor", sec)
L1548 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("UIInventory | can't get cast_CustomOutfit of [%s]", outfit:name())
L1581 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("UIInventory | can't get cast_Helmet of [%s]", outfit:name())
L3121 🔴 global_write
Global write: quick_item
Impact: low
Show code
quick_item = exec_console_cmd("slot_" .. (idx_to - 1) .. " " .. obj_from:section())

167- New sorting tabs htsb patch - Bartoche

1 file (🟢2 🟡0 🔴1 🔵5)

ui_inventory.script

L772 🟢 table_insert_append
table.insert(context_params, v) -> context_params[#context_params+1] = v
Impact: high
Show code
table.insert(context_params, {id, bag, g_unpack(func_action)})
L3123 🟢 repeated_obj_from_section()
obj_from:section() called 3x in On_CC_DragDrop
Impact: low
Show code
Cache obj_from:section() result
L677 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR Can't get item game object!")
L858 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIInventory:Name_Custom | can't find function (%s) for %s in section [%s]", str[1] .. str[2], "use" .. i .. "_functor", sec)
L1236 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIInventory:Action_Custom | can't find function (%s) for %s in section [%s]", str[1] .. str[2], "use" .. i .. "_action_functor", sec)
L1550 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("UIInventory | can't get cast_CustomOutfit of [%s]", outfit:name())
L1583 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("UIInventory | can't get cast_Helmet of [%s]", outfit:name())
L3145 🔴 global_write
Global write: quick_item
Impact: low
Show code
quick_item = exec_console_cmd("slot_" .. (idx_to - 1) .. " " .. obj_from:section())

168- Alternative icons - Strogglet15

1 file (🟢0 🟡0 🔴5 🔵0)

alticons.script

L10 🔴 global_write
Global write: size_adjust
Impact: low
Show code
size_adjust = 0.75
L12 🔴 global_write
Global write: basethrst
Impact: low
Show code
basethrst = actor_status_thirst.create
L19 🔴 global_write
Global write: basesleep
Impact: low
Show code
basesleep = actor_status_sleep.create
L46 🔴 global_write
Global write: ratio
Impact: low
Show code
ratio = (device().height / device().width) / (768 / 1024)
L53 🔴 global_write
Global write: pos
Impact: low
Show code
pos = self.dialog:GetWndPos()

171- Instant tooltip - RavenAscendant

1 file (🟢0 🟡0 🔴1 🔵0)

instant_tooltip.script

L8 🔴 global_write
Global write: delay
Impact: low
Show code
delay = 80 -- change this to adjust delay to all tool tips at once. Make idividual changes below.

173- Parts in tooltip - Demonized

1 file (🟢0 🟡0 🔴2 🔵1)

zz_parts_in_tooltip.script

L7 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(error_or_result)
L20 🔴 global_write
Global write: og_info_item_init
Impact: low
Show code
og_info_item_init = utils_ui.UIInfoItem.__init
L144 🔴 global_write
Global write: og_info_item_update
Impact: low
Show code
og_info_item_update = utils_ui.UIInfoItem.Update

175- Battery Warning - RavenAscendant

1 file (🟢0 🟡0 🔴3 🔵0)

battery_warning.script

L15 🔴 global_write
Global write: lastdev
Impact: low
Show code
lastdev = 0
L45 🔴 global_write
Global write: lastdev
Impact: low
Show code
lastdev = dev:id() --update last device
L47 🔴 global_write
Global write: lastdev
Impact: low
Show code
lastdev = 0 -- if no device active update last device

176- Encyclopedia Messages Restored - RavenAscendant

1 file (🟢0 🟡0 🔴3 🔵0)

zz_Encyclopedia_messages_restored.script

L14 🔴 global_write
Global write: categories
Impact: low
Show code
categories = {} --not local because it would have been nice not to have to make a duplicate of the table in the base scrip, not that anyone is going to try and modify this.
L23 🔴 global_write
Global write: base_unlock_note
Impact: low
Show code
base_unlock_note = ui_pda_encyclopedia_tab.unlock_note
L48 🔴 global_write
Global write: base_unlock_article
Impact: low
Show code
base_unlock_article = ui_pda_encyclopedia_tab.unlock_article

177- Minimap Toggle - RavenAscendant

1 file (🟢0 🟡0 🔴1 🔵0)

mini_map_toggle_mcm.script

L87 🔴 global_write
Global write: minimap_enabled
Impact: low
Show code
minimap_enabled = ui_options.get("video/hud/show_minimap")

179- Better Stats Bar - Demonized

2 files (🟢0 🟡0 🔴16 🔵3)

better_stats_bars_mcm.script

L1 🔴 global_write
Global write: op
Impact: low
Show code
op = {

zz_ui_inventory_better_stats_bars.script

L8 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(error_or_result)
L654 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("UIInventory | can't get cast_CustomOutfit of [%s]", outfit:name())
L699 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("UIInventory | can't get cast_Helmet of [%s]", outfit:name())
L15 🔴 global_write
Global write: alife_time_factor
Impact: low
Show code
alife_time_factor = 6
L16 🔴 global_write
Global write: boosters_table
Impact: low
Show code
boosters_table = {}
L21 🔴 global_write
Global write: food_table
Impact: low
Show code
food_table = {}
L61 🔴 global_write
Global write: ignore_sections
Impact: low
Show code
ignore_sections = { -- Sections to ignore
L264 🔴 global_write
Global write: stat_to_dmg
Impact: low
Show code
stat_to_dmg = {
L290 🔴 global_write
Global write: damage_threshold
Impact: low
Show code
damage_threshold = {
L303 🔴 global_write
Global write: damages
Impact: low
Show code
damages = {}
L304 🔴 global_write
Global write: max_damage
Impact: low
Show code
max_damage = {}
L438 🔴 global_write
Global write: max_damage
Impact: low
Show code
max_damage = t
L515 🔴 global_write
Global write: ui_inventory_init
Impact: low
Show code
ui_inventory_init = ui_inventory.UIInventory.__init
L1365 🔴 global_write
Global write: full_stats_keys
Impact: low
Show code
full_stats_keys = {
L1369 🔴 global_write
Global write: show_full_stats
Impact: low
Show code
show_full_stats = false
L1372 🔴 global_write
Global write: clr_list
Impact: low
Show code
clr_list = {
L1605 🔴 global_write
Global write: show_full_stats
Impact: low
Show code
show_full_stats = true
L1614 🔴 global_write
Global write: show_full_stats
Impact: low
Show code
show_full_stats = false

181- Ballistics Overhaul (GBOOBS) - Grokitach

2 files (🟢3 🟡0 🔴72 🔵21)

grok_bo.script

L120 🟢 repeated_wpn_section()
wpn:section() called 2x in monster_on_before_hit
Impact: low
Show code
Cache wpn:section() result
L329 🟢 repeated_wpn_section()
wpn:section() called 2x in npc_on_before_hit
Impact: low
Show code
Cache wpn:section() result
L133 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/////////// Mutant Hit registered: GBO v1.7.0 //////////////////")
L134 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('%s about to be hit by %s in bone %s', monster and monster:name(), shit and shit.draftsman and shit.draftsman:name(), bone_id)
L138 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('Close quarter combat hit detected')
L229 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Critical Hit!")
L237 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Critical Hit!")
L249 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Critical Hit!")
L257 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Critical Hit!")
L272 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Critical Hit!")
L280 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Critical Hit!")
L289 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Critical Hit!")
L298 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Critical Hit!")
L304 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Barrel condition: %s, GBO output damage: %s", barrel_condition, shit.power)
L348 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/////////// Stalker Hit registered: GBO v1.7.0 //////////////////")
L349 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('%s about to be hit by %s in bone %s', npc and npc:name(), shit and shit.draftsman and shit.draftsman:name(), bone_id)
L417 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Sniper hit, redirecting to torso")
L429 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Knife hit, redirecting to torso")
L464 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom bone found. Loading custom_bone values")
L475 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("NPC visual model: %s",npc_viz)
L518 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('%s shot with %s, Weapon power= %s, AP power= %s, Hit multiplier= %s, Air res= %s, Distance= %s m, Barrel condition: %s', ammo_section, sec, wpn_hit_power, k_ap, k_hit, air_res, dist, barrel_condition)
L519 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('Bone hit= %s, Bone damage mult= %s, Bone AP scale= %s, Bone hit fraction= %s, Bone armor= %s', custom_bone_name, custom_bone_dmg[custom_bone_id], custom_bone_ap[custom_bone_id], custom_bone_hf[custom_bone_id], custom_bone_value[custom_bone_id])
L566 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Real AP power= %s, Bone armor after hit= %s, Damages inflicted= %s, Remaining health= %s", k_ap, custom_bone_value[custom_bone_id], shit.power, life_remove)
L1 🔴 global_write
Global write: custom_bone_value
Impact: low
Show code
custom_bone_value = {} -- this a table with each identifier being npcid_boneid, these returns custom bonearmor value. It is filled, alongside the other custom tables, after every new bone hit
L2 🔴 global_write
Global write: custom_bone_ap
Impact: low
Show code
custom_bone_ap = {}
L3 🔴 global_write
Global write: custom_bone_hf
Impact: low
Show code
custom_bone_hf = {}
L4 🔴 global_write
Global write: custom_bone_dmg
Impact: low
Show code
custom_bone_dmg = {}
L5 🔴 global_write
Global write: ini_capture
Impact: low
Show code
ini_capture = ini_file("creatures\\grok_bo_models_capture.ltx")
L6 🔴 global_write
Global write: ini_bones
Impact: low
Show code
ini_bones = ini_file("creatures\\grok_bo_bone_profiles.ltx")
L7 🔴 global_write
Global write: ini_damage
Impact: low
Show code
ini_damage = ini_file("creatures\\damages.ltx")
L9 🔴 global_write
Global write: leg_meta_sniper_null
Impact: low
Show code
leg_meta_sniper_null = 1
L10 🔴 global_write
Global write: sniper_bad_bone_shit_reduce
Impact: low
Show code
sniper_bad_bone_shit_reduce = 1
L12 🔴 global_write
Global write: Bone_IDs
Impact: low
Show code
Bone_IDs = {
L40 🔴 global_write
Global write: stalker_damage
Impact: low
Show code
stalker_damage = {
L106 🔴 global_write
Global write: wpn
Impact: low
Show code
wpn = level.object_by_id(shit.weapon_id)
L120 🔴 global_write
Global write: sec
Impact: low
Show code
sec = wpn:section()
L127 🔴 global_write
Global write: cqc_mult
Impact: low
Show code
cqc_mult = 1
L128 🔴 global_write
Global write: mutant_mult
Impact: low
Show code
mutant_mult = 0.90
L129 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 0.85
L130 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 1.00
L131 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 1.00
L137 🔴 global_write
Global write: cqc_mult
Impact: low
Show code
cqc_mult = 8
L161 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 0.78
L165 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.40
L169 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 2.50
L176 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.00
L180 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.10
L184 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 2.30
L188 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.25
L192 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.20
L197 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = nil
L198 🔴 global_write
Global write: barrel_condition_corrected
Impact: low
Show code
barrel_condition_corrected = nil
L203 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = v / 100
L208 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = 1
L211 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = 1
L214 🔴 global_write
Global write: barrel_condition_corrected
Impact: low
Show code
barrel_condition_corrected = barrel_condition * 1.6
L217 🔴 global_write
Global write: barrel_condition_corrected
Impact: low
Show code
barrel_condition_corrected = 1
L220 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = 1
L221 🔴 global_write
Global write: barrel_condition_corrected
Impact: low
Show code
barrel_condition_corrected = 1
L226 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 2.00
L228 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 2.50
L234 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.85
L236 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 2.00
L242 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.90
L246 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.85
L248 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 1.40
L254 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.85
L256 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 1.60
L262 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.90
L264 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 1.30
L269 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.80
L271 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 2.00
L277 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.95
L279 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 2.00
L286 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.85
L288 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 1.50
L295 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.65
L297 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 2.00
L328 🔴 global_write
Global write: wpn
Impact: low
Show code
wpn = level.object_by_id(shit.weapon_id)
L329 🔴 global_write
Global write: sec
Impact: low
Show code
sec = wpn:section()
L377 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = nil
L378 🔴 global_write
Global write: barrel_condition_corrected
Impact: low
Show code
barrel_condition_corrected = nil
L383 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = v / 100
L388 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = 1
L391 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = 1
L394 🔴 global_write
Global write: barrel_condition_corrected
Impact: low
Show code
barrel_condition_corrected = barrel_condition * 1.3
L397 🔴 global_write
Global write: barrel_condition_corrected
Impact: low
Show code
barrel_condition_corrected = 1
L400 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = 1
L401 🔴 global_write
Global write: barrel_condition_corrected
Impact: low
Show code
barrel_condition_corrected = 1
L416 🔴 global_write
Global write: sniper_bad_bone_shit_reduce
Impact: low
Show code
sniper_bad_bone_shit_reduce = 0.9
L420 🔴 global_write
Global write: leg_meta_sniper_null
Impact: low
Show code
leg_meta_sniper_null = 0
L484 🔴 global_write
Global write: ini_npc_armor
Impact: low
Show code
ini_npc_armor = ini_file(npc_armor_path)
L487 🔴 global_write
Global write: npc_bone_profile_name
Impact: low
Show code
npc_bone_profile_name = ini_bones:r_string(npc_armor_section,"head_profile")
L489 🔴 global_write
Global write: npc_bone_profile_name
Impact: low
Show code
npc_bone_profile_name = ini_bones:r_string(npc_armor_section,"bone_profile")
L564 🔴 global_write
Global write: life_remove
Impact: low
Show code
life_remove = npc.health - shit.power

grok_bo_enhanced_recoil.script

L108 🟢 table_insert_append
table.insert(anims, v) -> anims[#anims+1] = v
Impact: high
Show code
table.insert(anims,{e = i,d = v[2] or math_random(0,1),c = cnt})

184- Body Health System - Grokitach

4 files (🟢3 🟡15 🔴37 🔵21)

ab_move_notification.script

L1 🔴 global_write
Global write: notify_icon_x
Impact: low
Show code
notify_icon_x = 13
L2 🔴 global_write
Global write: notify_icon_y
Impact: low
Show code
notify_icon_y = 620
L5 🔴 global_write
Global write: monkey
Impact: low
Show code
monkey = actor_menu.set_notification
L11 🔴 global_write
Global write: cs
Impact: low
Show code
cs = hud:GetCustomStatic("notify_icon")
L12 🔴 global_write
Global write: pos
Impact: low
Show code
pos = cs:wnd():GetWndPos()

itms_manager.script

L716 🟢 repeated_wpn_section()
wpn:section() called 3x in new_game_equippment
Impact: low
Show code
Cache wpn:section() result
L1310 🟢 repeated_alife
alife called 3x in Create_Item
Impact: low
Show code
local sim = alife()
L78 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR item_combination | wrong section names")
L708 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Autosaved new game")
L1011 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: relocate_item_to_actor | object for section [%s] is bugged!", section)
L1066 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: Couldn't relocate_item_from_actor | not enough item [%s] recolated! need %s more", section, cnt)
L1098 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR itms_manager | play_item_sound | no object recieved!")
L1171 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("* ItemProcessor | processing condition | id: %s - con: %s", id, con)
L1181 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# ItemProcessor | processing condition done | id: %s - con: %s", id, new_con)
L1200 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("* ItemProcessor | processing uses | id: %s - uses: %s", id, uses)
L1209 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# ItemProcessor | processing uses done | id: %s - con: %s", id, uses)
L1228 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("* ItemProcessor | processing ammo | id: %s - ammo: %s", id, ammo)
L1237 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# ItemProcessor | processing ammo done | id: %s - con: %s", id, new_con)
L1286 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ItemProcessor | Missing spawn properties for [%s] | Spawn type: %s | pos: %s, lvi: %s, gvi: %s", section, spawn_typ, pos , lvi , gvi)
L1320 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ alife_create [%s] (%s) x%s ammo %s", section, se_ammo and se_ammo.id, num_in_box, spawn_typ)
L1329 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ alife_create [%s] (%s) x%s ammo %s", section, se_ammo and se_ammo.id, num, spawn_typ)
L1344 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ alife_create [%s] (%s) on %s", section, se_itm and se_itm.id, spawn_typ)
L1348 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ItemProcessor | Missing spawn owner for [%s]!", section)
L1387 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR [%s] is not spawned by ItemProcessor",section)
L1391 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ItemProcessor | section [%s] doesn't exist!", section)
L1395 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ ItemProcessor | nothing is passed to process!")
L1430 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s ItemProcessor | %s: (%s) [%s] - owner: (%s) [%s]", mark, str, id, obj and obj:section(), p and p:id() or "-", p and p:section())
L27 🔴 global_write
Global write: ini_manager
Impact: low
Show code
ini_manager = ini_file("items\\settings\\itms_manager.ltx")
L28 🔴 global_write
Global write: ini_container
Impact: low
Show code
ini_container = ini_file("items\\settings\\arty_container.ltx")
L29 🔴 global_write
Global write: ini_parts
Impact: low
Show code
ini_parts = ini_file("items\\settings\\parts.ltx")
L30 🔴 global_write
Global write: ini_craft
Impact: low
Show code
ini_craft = ini_file("items\\settings\\craft.ltx")
L31 🔴 global_write
Global write: ini_death
Impact: low
Show code
ini_death = ini_file("items\\settings\\death_generic.ltx")
L32 🔴 global_write
Global write: ini_reward
Impact: low
Show code
ini_reward = ini_file("items\\settings\\item_rewards.ltx")
L40 🔴 global_write
Global write: itms_arty_container
Impact: low
Show code
itms_arty_container = utils_data.collect_section(ini_container,"containers",true) or {}
L51 🔴 global_write
Global write: item_rewards
Impact: low
Show code
item_rewards = {}
L66 🔴 global_write
Global write: item_combine
Impact: low
Show code
item_combine = {}

zzz_player_injuries.script

L783 🟢 repeated_get_hud
get_hud called 4x in HUDUpdate
Impact: low
Show code
local hud = get_hud()
L837 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str..""
L841 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str..""
L845 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str..""
L867 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str..""
L871 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str..""
L884 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str..""
L888 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str..""
L899 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str..""
L903 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str..""
L907 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str..""
L913 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str..""
L917 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str..""
L921 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str..""
L926 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str..""
L929 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str..colors[GetConditionFromFloat(health[array2]/maxhp[array2],array2)]
L633 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! actor got hit in %s", bone_id)
L74 🔴 global_write
Global write: maxhp
Impact: low
Show code
maxhp={}
L82 🔴 global_write
Global write: health
Impact: low
Show code
health={}
L90 🔴 global_write
Global write: preview
Impact: low
Show code
preview={}
L109 🔴 global_write
Global write: timedhp
Impact: low
Show code
timedhp={}
L117 🔴 global_write
Global write: hud_blink_timer
Impact: low
Show code
hud_blink_timer={}
L126 🔴 global_write
Global write: medkits
Impact: low
Show code
medkits={}
L145 🔴 global_write
Global write: healhelp
Impact: low
Show code
healhelp={}
L655 🔴 global_write
Global write: text
Impact: low
Show code
text=hitboxes[bone_id]
L666 🔴 global_write
Global write: text
Impact: low
Show code
text=hitboxes[bone_id]
L1193 🔴 global_write
Global write: cooldown
Impact: low
Show code
cooldown = 2500
L1194 🔴 global_write
Global write: state_cooldown
Impact: low
Show code
state_cooldown = 0
L1255 🔴 global_write
Global write: muffle
Impact: low
Show code
muffle = "m_"
L1257 🔴 global_write
Global write: muffle
Impact: low
Show code
muffle = ""
L1264 🔴 global_write
Global write: file_to_say
Impact: low
Show code
file_to_say = sound_object( file )
L1269 🔴 global_write
Global write: state_cooldown
Impact: low
Show code
state_cooldown = time_global() + cooldown
L1271 🔴 global_write
Global write: actor_health
Impact: low
Show code
actor_health = db.actor.health
L1272 🔴 global_write
Global write: actor_health_reduced
Impact: low
Show code
actor_health_reduced = actor_health - hit_power
L1379 🔴 global_write
Global write: old_is_actor_not_healthy
Impact: low
Show code
old_is_actor_not_healthy = dialogs.is_actor_not_healthy
L1390 🔴 global_write
Global write: old_is_actor_injured
Impact: low
Show code
old_is_actor_injured = dialogs.is_actor_injured
L1401 🔴 global_write
Global write: old_is_actor_injured_irradiated
Impact: low
Show code
old_is_actor_injured_irradiated = dialogs.is_actor_injured_irradiated
L1434 🔴 global_write
Global write: old_heal_actor_injury_radiation
Impact: low
Show code
old_heal_actor_injury_radiation = dialogs.heal_actor_injury_radiation
L1445 🔴 global_write
Global write: old_heal_actor_injury
Impact: low
Show code
old_heal_actor_injury = dialogs.heal_actor_injury

zzz_player_injuries_mcm.script

L20 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "body_health_system",sh=true ,gr={

185- Shader Driven Scopes - CrookR

2 files (🟢0 🟡0 🔴1 🔵3)

fakelens.script

L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--" .. wpn:id() .. "--")
L33 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("scope: " .. scopeState .. " | sensitivity: " .. ui_options.get("control/general/mouse_sens"))
L34 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("factor: " .. tostring(zf / sf) .. " | base zoom: " .. tostring(scopeBaseFactors[wpn:id()]))

scopeRadii.script

L4 🔴 global_write
Global write: scopeRadii
Impact: low
Show code
scopeRadii = {

186- Shader Driven Scopes BAS patch - CrookR

1 file (🟢0 🟡0 🔴1 🔵0)

scopeRadii.script

L4 🔴 global_write
Global write: scopeRadii
Impact: low
Show code
scopeRadii = {

189- Beef's NVG - theRealBeef

3 files (🟢1 🟡0 🔴28 🔵6)

item_device.script

L140 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR item_device | reading from items\\settings\\devices.ltx | section [%s] or power consumption values don't exist", sec)
L155 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("item_device | %s | " .. txt, time_global(), ...)
L227 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("beef - key on-press")
L232 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("beef - time event fired for nvg turn-on")
L250 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("beef - key on-release")
L254 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("beef - brightness adjust")
L18 🔴 global_write
Global write: dev_consumption
Impact: low
Show code
dev_consumption = {} -- [sec] = {...} | Power consumption of device per stage
L19 🔴 global_write
Global write: dev_consumption_act
Impact: low
Show code
dev_consumption_act = {} -- [sec] = {...} | Power consumption of device per action (stage 2)
L20 🔴 global_write
Global write: dev_consumption_tot
Impact: low
Show code
dev_consumption_tot = {} -- [sec] = num | Total power consumption of a device
L21 🔴 global_write
Global write: dev_critical
Impact: low
Show code
dev_critical = {} -- [sec] = num | Power limit, devices go off when their power go below this value
L40 🔴 global_write
Global write: devices
Impact: low
Show code
devices = {}
L41 🔴 global_write
Global write: device_battery
Impact: low
Show code
device_battery = nil
L42 🔴 global_write
Global write: device_geiger
Impact: low
Show code
device_geiger = nil
L43 🔴 global_write
Global write: device_npc_pda
Impact: low
Show code
device_npc_pda = {}
L61 🔴 global_write
Global write: nv_state
Impact: low
Show code
nv_state = false -- make nv_state a global variable so we can access it from beefs_nvgs
L79 🔴 global_write
Global write: dosimeter_env_rads_mode
Impact: low
Show code
dosimeter_env_rads_mode = false
L94 🔴 global_write
Global write: device_battery
Impact: low
Show code
device_battery = ini_device:r_sec_ex("settings","battery","batteries_dead")
L95 🔴 global_write
Global write: device_geiger
Impact: low
Show code
device_geiger = ini_device:r_sec_ex("settings","geiger","detector_geiger")
L266 🔴 global_write
Global write: dosimeter_env_rads_mode
Impact: low
Show code
dosimeter_env_rads_mode = not dosimeter_env_rads_mode
L267 🔴 global_write
Global write: dosimeter_mode_string
Impact: low
Show code
dosimeter_mode_string = dosimeter_env_rads_mode and game.translate_string("st_environment_rads") or game.translate_string("st_actor_rads")
L620 🔴 global_write
Global write: nv_state
Impact: low
Show code
nv_state = true
L626 🔴 global_write
Global write: nv_state
Impact: low
Show code
nv_state = false

z_beefs_nvgs.script

L199 🟢 repeated_itm_section()
itm:section() called 3x in item_device.set_nightvision
Impact: low
Show code
Cache itm:section() result
L69 🔴 global_write
Global write: nvg_num_tubes_gen1
Impact: low
Show code
nvg_num_tubes_gen1 = z_beefs_nvgs_mcm.get_config("nvg_gen1_tubes_mcm")
L73 🔴 global_write
Global write: nvg_mode_gen2
Impact: low
Show code
nvg_mode_gen2 = z_beefs_nvgs_mcm.get_config("nvg_gen2_mode_mcm")
L74 🔴 global_write
Global write: nvg_mode_gen3
Impact: low
Show code
nvg_mode_gen3 = z_beefs_nvgs_mcm.get_config("nvg_gen3_mode_mcm")
L434 🔴 global_write
Global write: zoom_type
Impact: low
Show code
zoom_type = wpn:cast_Weapon():GetZoomType()
L474 🔴 global_write
Global write: zoom_type
Impact: low
Show code
zoom_type = nil
L533 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L569 🔴 global_write
Global write: zoom_type
Impact: low
Show code
zoom_type = wpn:cast_Weapon():GetZoomType()
L570 🔴 global_write
Global write: zoomed
Impact: low
Show code
zoomed = wpn:cast_Weapon():IsZoomed()
L571 🔴 global_write
Global write: scoped
Impact: low
Show code
scoped = wpn:cast_Weapon():IsScopeAttached()
L618 🔴 global_write
Global write: zoom_type
Impact: low
Show code
zoom_type = wpn:cast_Weapon():GetZoomType()
L619 🔴 global_write
Global write: scoped_weapon_is_zoomed
Impact: low
Show code
scoped_weapon_is_zoomed = wpn and IsWeapon(wpn) and wpn:weapon_is_scope()

z_beefs_nvgs_mcm.script

L23 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "beef_nvg",sh=true ,gr={

19- Horror Overhaul - DesmanMetzger

2 files (🟢0 🟡0 🔴5 🔵0)

psi_storm_manager.script

L19 🔴 global_write
Global write: PsiStormManager
Impact: low
Show code
PsiStormManager = nil
L21 🔴 global_write
Global write: PsiStormManager
Impact: low
Show code
PsiStormManager = PsiStormManager or CPsiStormManager()

sr_psy_antenna.script

L8 🔴 global_write
Global write: psy_antenna
Impact: low
Show code
psy_antenna = false
L447 🔴 global_write
Global write: psy_antenna
Impact: low
Show code
psy_antenna = PsyAntenna()
L457 🔴 global_write
Global write: psy_antenna
Impact: low
Show code
psy_antenna = PsyAntenna()

190- Screen Space Shaders 15.0 - Ascii1457

9 files (🟢1 🟡0 🔴15 🔵0)

ssfx_001_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "general", sh=true, text="ui_mcm_ssfx_module_general", gr ={

ssfx_001_settings.script

L7 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings = {

ssfx_interactive_grass_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "inter_grass", sh=true, text="ui_mcm_ssfx_module_inter_grass", gr ={

ssfx_interactive_grass_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_shadow_cascades_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "shw_cascades", sh=true, text="ui_mcm_ssfx_module_shw_cascades", gr ={

ssfx_shadow_cascades_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_weapons_dof.script

L284 🟢 repeated_itm_section()
itm:section() called 2x in actor_on_update
Impact: low
Show code
Cache itm:section() result
L166 🔴 global_write
Global write: itm
Impact: low
Show code
itm = db.actor:active_item()
L232 🔴 global_write
Global write: anim_tm
Impact: low
Show code
anim_tm = tm * 0.001
L236 🔴 global_write
Global write: anim_tm
Impact: low
Show code
anim_tm = anim_tm * ssfx_weapons_dof_settings.items_time[ssfx_itm_in_use]
L238 🔴 global_write
Global write: anim_tm
Impact: low
Show code
anim_tm = anim_tm * 0.7

ssfx_weapons_dof_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "wpn_dof", sh=true, text="ui_mcm_ssfx_module_wpn_dof", gr ={

ssfx_weapons_dof_settings.script

L7 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings = {
L31 🔴 global_write
Global write: wpn_nodof
Impact: low
Show code
wpn_nodof = {
L57 🔴 global_write
Global write: items_time
Impact: low
Show code
items_time = {
L103 🔴 global_write
Global write: wpn_reloadtime
Impact: low
Show code
wpn_reloadtime = {

190- Screen Space Shaders 23 - Ascii1457

54 files (🟢1 🟡0 🔴86 🔵4)

bind_anomaly_field.script

L30 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L48 🔴 global_write
Global write: dyn_anomalies
Impact: low
Show code
dyn_anomalies = {} -- [level][id] = name
L503 🔴 global_write
Global write: dyn_anomalies
Impact: low
Show code
dyn_anomalies = m_data.dyn_anomalies or {}
L540 🔴 global_write
Global write: fields_by_names
Impact: low
Show code
fields_by_names = {}

ssfx_001_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "general", sh=true, text="ui_mcm_ssfx_module_general", gr ={

ssfx_001_settings.script

L7 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings = {

ssfx_ao.script

L21 🔴 global_write
Global write: module_installed
Impact: low
Show code
module_installed = true
L36 🔴 global_write
Global write: module_id
Impact: low
Show code
module_id = "ao"

ssfx_ao_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "ao", sh=true, text="ui_mcm_ssfx_module_ao", gr = {

ssfx_ao_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_florafixes_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "florafixes", sh=true, text="ui_mcm_ssfx_module_florafixes", gr ={

ssfx_florafixes_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_fog_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "fog", sh=true, text="ui_mcm_ssfx_module_fog", gr ={

ssfx_fog_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_il.script

L18 🔴 global_write
Global write: module_installed
Impact: low
Show code
module_installed = true
L33 🔴 global_write
Global write: module_id
Impact: low
Show code
module_id = "il"

ssfx_il_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "il", sh=true, text="ui_mcm_ssfx_module_il", gr = {

ssfx_il_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_interactive_grass_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "inter_grass", sh=true, text="ui_mcm_ssfx_module_inter_grass", gr ={

ssfx_interactive_grass_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_lut.script

L140 🔴 global_write
Global write: Map_LUT
Impact: low
Show code
Map_LUT = ssfx_maps[level.name()].group or ssfx_lut_default.group
L143 🔴 global_write
Global write: Map_LUT
Impact: low
Show code
Map_LUT = ssfx_lut_default.group

ssfx_parallax_mcm.script

L9 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "parallax", sh=true, text="ui_mcm_ssfx_module_parallax", gr = {

ssfx_parallax_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_pp_0taa.script

L12 🔴 global_write
Global write: module_installed
Impact: low
Show code
module_installed = true
L24 🔴 global_write
Global write: module_id
Impact: low
Show code
module_id = "ssfx_pp/ssfx_taa"

ssfx_pp_0taa_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_pp_bloom.script

L21 🔴 global_write
Global write: module_installed
Impact: low
Show code
module_installed = true
L36 🔴 global_write
Global write: module_id
Impact: low
Show code
module_id = "ssfx_pp/ssfx_bloom"

ssfx_pp_bloom_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_pp_mblur.script

L14 🔴 global_write
Global write: module_installed
Impact: low
Show code
module_installed = true
L26 🔴 global_write
Global write: module_id
Impact: low
Show code
module_id = "ssfx_pp/ssfx_motionblur"

ssfx_pp_mblur_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_pp_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = "ssfx_pp", sh=false ,gr = {

ssfx_rain.script

L25 🔴 global_write
Global write: module_installed
Impact: low
Show code
module_installed = true
L42 🔴 global_write
Global write: module_id
Impact: low
Show code
module_id = "ssfx_rain_module/ssfx_rain_main"

ssfx_rain_footsteps.script

L18 🔴 global_write
Global write: module_installed
Impact: low
Show code
module_installed = true
L76 🔴 global_write
Global write: Actor_Crouch
Impact: low
Show code
Actor_Crouch = ssfx_rf_vol_multi_walk * (bit_and(Actor_State, 16) ~= 0 and 1 or 0)
L77 🔴 global_write
Global write: Actor_Walk
Impact: low
Show code
Actor_Walk = ssfx_rf_vol_multi_walk * (bit_and(Actor_State, 32) ~= 0 and 1 or 0)
L78 🔴 global_write
Global write: Actor_Aiming
Impact: low
Show code
Actor_Aiming = ssfx_rf_vol_multi_walk * Weapon_Aiming
L81 🔴 global_write
Global write: Actor_Sprint
Impact: low
Show code
Actor_Sprint = bit_and(Actor_State, 4096) ~= 0
L84 🔴 global_write
Global write: Vol_Mod
Impact: low
Show code
Vol_Mod = 1.0 - (Actor_Crouch + Actor_Walk + Actor_Aiming)
L85 🔴 global_write
Global write: Vol_Mod
Impact: low
Show code
Vol_Mod = Actor_Sprint and ssfx_rf_vol_multi_run or Vol_Mod
L95 🔴 global_write
Global write: variation
Impact: low
Show code
variation = math.random(0.0, ssfx_rf_vol_variation * 100) / 100

ssfx_rain_footsteps_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_rain_hud_raindrops.script

L20 🔴 global_write
Global write: module_installed
Impact: low
Show code
module_installed = true
L30 🔴 global_write
Global write: Rain_factor
Impact: low
Show code
Rain_factor = level.rain_factor();
L37 🔴 global_write
Global write: delta_time
Impact: low
Show code
delta_time = device().time_delta;
L46 🔴 global_write
Global write: rain_speed_factor
Impact: low
Show code
rain_speed_factor = (1.5 - Rain_factor) * 10
L88 🔴 global_write
Global write: val_density
Impact: low
Show code
val_density = 0.15 * (3.5 - ssfx_hud_raindrops_density) -- 0.5 ~ 3.0
L89 🔴 global_write
Global write: val_texsize
Impact: low
Show code
val_texsize = 2.0 - ssfx_hud_raindrops_size

ssfx_rain_hud_raindrops_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_rain_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = "ssfx_rain_module", sh=false ,gr = {

ssfx_rain_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_shadow_cascades_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "shw_cascades", sh=true, text="ui_mcm_ssfx_module_shw_cascades", gr ={

ssfx_shadow_cascades_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_shadows_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "shadows", sh=true, text="ui_mcm_ssfx_module_shadows", gr ={

ssfx_shadows_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_ssr_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "ssr", sh=true, text="ui_mcm_ssfx_module_ssr", gr ={

ssfx_ssr_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_sss_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "sss", sh=true, text="ui_mcm_ssfx_module_sss", gr ={

ssfx_sss_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_terrain_mcm.script

L9 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "terrain", sh=true, text="ui_mcm_ssfx_module_terrain", gr = {

ssfx_terrain_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_water.script

L24 🔴 global_write
Global write: module_installed
Impact: low
Show code
module_installed = true
L39 🔴 global_write
Global write: module_id
Impact: low
Show code
module_id = "water"

ssfx_water_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "water", sh=true, text="ui_mcm_ssfx_module_water", gr = {

ssfx_water_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_weapons_dof.script

L292 🟢 repeated_itm_section()
itm:section() called 2x in actor_on_update
Impact: low
Show code
Cache itm:section() result
L166 🔴 global_write
Global write: itm
Impact: low
Show code
itm = db.actor:active_item()
L237 🔴 global_write
Global write: anim_tm
Impact: low
Show code
anim_tm = tm * 0.001
L241 🔴 global_write
Global write: anim_tm
Impact: low
Show code
anim_tm = anim_tm * ssfx_weapons_dof_settings.items_time[ssfx_itm_in_use]
L243 🔴 global_write
Global write: anim_tm
Impact: low
Show code
anim_tm = anim_tm * 0.7

ssfx_weapons_dof_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "wpn_dof", sh=true, text="ui_mcm_ssfx_module_wpn_dof", gr ={

ssfx_weapons_dof_settings.script

L7 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings = {
L31 🔴 global_write
Global write: wpn_nodof
Impact: low
Show code
wpn_nodof = {
L57 🔴 global_write
Global write: items_time
Impact: low
Show code
items_time = {
L103 🔴 global_write
Global write: wpn_reloadtime
Impact: low
Show code
wpn_reloadtime = {

ssfx_wetness.script

L34 🔴 global_write
Global write: module_installed
Impact: low
Show code
module_installed = true
L39 🔴 global_write
Global write: Wetness_gloss
Impact: low
Show code
Wetness_gloss = ssfx_gloss_min + (math.max(ssfx_gloss_auto_max - ssfx_gloss_min, 0) * level.rain_wetness())
L60 🔴 global_write
Global write: ripples_size
Impact: low
Show code
ripples_size = math.max(2.0 - ssfx_wet_ripples_size, 0.01) -- Change how the value works to be more intuitive ( < 1.0 smaller | > 1.0 bigger )
L63 🔴 global_write
Global write: waterfall_size
Impact: low
Show code
waterfall_size = math.max(2.0 - ssfx_wet_waterfall_size, 0.01) -- Change how the value works to be more intuitive ( < 1.0 smaller | > 1.0 bigger )
L66 🔴 global_write
Global write: wet_resolution
Impact: low
Show code
wet_resolution = math.pow(2, ssfx_wet_res + 6)

ssfx_wetness_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = "ssfx_wetness", sh=false ,gr = {

ssfx_wetness_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_wind_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "wind", sh=true, text="ui_mcm_ssfx_module_wind", gr ={

ssfx_wind_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ui_debug_weather.script

L1323 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! group doesn't exist for selecte_g: %s", self.select_g)
L1674 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- main_menu off")
L1719 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("WeatherEditor | " .. fmt, ...)
L716 🔴 global_write
Global write: point
Impact: low
Show code
point = cnt

196- DLTX Minimodpack - Demonized

3 files (🟢0 🟡0 🔴6 🔵13)

bind_crow.script

L64 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("releasing object ["..self.object:name().."]")
L6 🔴 global_write
Global write: crow_storage
Impact: low
Show code
crow_storage = {}
L7 🔴 global_write
Global write: crow_counter
Impact: low
Show code
crow_counter = 0
L9 🔴 global_write
Global write: knifes
Impact: low
Show code
knifes = {

ui_mutant_loot.script

L174 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR ui_mutant_loot | no game object passed!")
L514 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR ui_mutant_loot | can't retrieve online object of mutant [%s](%s)", self.section, self.id)

zz_itms_manager_more_drops_from_drugs.script

L31 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- %s uses: [%s]", sec, uses)
L33 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("giving item %s", item)
L38 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("giving item on empty %s", item)
L44 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("giving item %s", item)
L53 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("calling override itms_manager.actor_on_item_use")
L64 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(dbg_str, sec, jar[sec])
L69 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(dbg_str, sec, jar_textolite_syringe[sec])
L74 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(dbg_str, sec, jar_film_syringe_textolite[sec])
L79 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(dbg_str, sec, jar_film_textolite[sec])
L84 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(dbg_str, sec, film[sec])
L2 🔴 global_write
Global write: ini_manager
Impact: low
Show code
ini_manager = ini_manager or ini_file("items\\settings\\itms_manager.ltx")
L9 🔴 global_write
Global write: item_group
Impact: low
Show code
item_group = {}
L94 🔴 global_write
Global write: base_itms_manager_actor_on_item_use
Impact: low
Show code
base_itms_manager_actor_on_item_use = itms_manager.actor_on_item_use

197- New Storylines (DLTX minimodpack) - Demonized

4 files (🟢0 🟡0 🔴8 🔵26)

ah_dialogs.script

L136 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("_"..ah_level_counter)
L139 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(" ")
L199 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("_")
L327 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(" ")
L330 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(" ")
L333 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(" ")

grok_additional_storyline_npc_invincible.script

L1 🔴 global_write
Global write: ads_npcs
Impact: low
Show code
ads_npcs = {

hidden_threat.script

L210 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![SLHT] Storyline | Hidden Threat : disabled")
L214 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![SLHT] Storyline | Hidden Threat : disabled")
L216 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("-[SLHT] Storyline | Hidden Threat : enabled")

utils_slht.script

L148 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[SLHT] Flag or Section: not found")
L169 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[SLHT] %s | Item = %s", tostring(flag), txt)
L200 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![SLHT] Wrong parametr 'who=%s' for news!!!",tostring(who))
L217 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![SLHT] Wrong 'npc_table=%s' for news!!!",tostring(who))
L226 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[SLHT]!Warning: couldn't load file gamedata/configs/items/settings/hidden_threat_spooner_barter.ltx, feature disabled!")
L376 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[SLHT] Adding postprocces [%s] | ID = %s | looped = %s", tostring(p[1]), tostring(num), tostring(looped))
L380 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[SLHT] Postprocces [%s] is no set!", tostring(p[1]))
L529 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~[SLHT] Alife release [%s]", tostring(p[1]))
L555 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[SLHT] TimeEventDisabled | ID: %s", tostring(k))
L556 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("*** Day:%s Time:%s:%s:%s",
L624 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[SLHT] TimeEventEnabled | ID: %s", tostring(teid))
L625 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("*** Value: %s seconds",tostring(value))
L626 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("*** Start: Day:%s Time:%s:%s:%s",
L631 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("*** End: Day:%s Time:%s:%s:%s",
L647 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Hidden Threat, no smart specified")
L652 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Hidden Threat, no smart found with name %s", smart_name)
L662 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Hidden Threat, cleaning scene from monster %s, dist_sqr %s", se_obj:name(), dist)
L11 🔴 global_write
Global write: debug_mode
Impact: low
Show code
debug_mode = false
L18 🔴 global_write
Global write: reward_table
Impact: low
Show code
reward_table = {}
L21 🔴 global_write
Global write: task_table
Impact: low
Show code
task_table = ini_file("misc\\tasks_hidden_threat.ltx")
L43 🔴 global_write
Global write: points
Impact: low
Show code
points = {
L603 🔴 global_write
Global write: HTCreateTimeEvent
Impact: low
Show code
HTCreateTimeEvent = function(teid,value,func,...)
L608 🔴 global_write
Global write: value
Impact: low
Show code
value = tonumber(value)
L677 🔴 global_write
Global write: reward_table
Impact: low
Show code
reward_table = m_data.slht_reward_table or {}

201- SquareDOV (square minimap) - RavenAscendant

1 file (🟢0 🟡0 🔴1 🔵0)

ui_minimap_counter.script

L157 🔴 global_write
Global write: sound
Impact: low
Show code
sound = enable_contact_offline and "squaredov\\contact_2" or ("squaredov\\contact_" .. math.random(2))

203- YACS Better Campfire Saves (forces campfire saves but they are better) - Ishmaeel

1 file (🟢0 🟡0 🔴2 🔵2)

ish_campfire_saving.script

L235 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("///YACS Save")
L261 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(message)
L19 🔴 global_write
Global write: bonus_bases
Impact: low
Show code
bonus_bases = {}
L23 🔴 global_write
Global write: the_bawses
Impact: low
Show code
the_bawses = {zat_b18_noah = true, m_trader = true, m_lesnik = true}

204- Limited Fast Travel (walking is good for your health) - Demonized

4 files (🟢0 🟡0 🔴35 🔵0)

fast_travel_limiter_mcm.script

L1 🔴 global_write
Global write: op
Impact: low
Show code
op = {

game_backpack_travel.script

L8 🔴 global_write
Global write: bp_travel
Impact: low
Show code
bp_travel = nil
L9 🔴 global_write
Global write: bp_combat
Impact: low
Show code
bp_combat = nil
L10 🔴 global_write
Global write: bp_damage
Impact: low
Show code
bp_damage = nil
L11 🔴 global_write
Global write: bp_notime
Impact: low
Show code
bp_notime = nil
L12 🔴 global_write
Global write: bp_storm
Impact: low
Show code
bp_storm = nil
L13 🔴 global_write
Global write: bp_weight
Impact: low
Show code
bp_weight = nil
L120 🔴 global_write
Global write: bp_travel
Impact: low
Show code
bp_travel = ui_options.get("gameplay/backpack_travel/state")
L121 🔴 global_write
Global write: bp_combat
Impact: low
Show code
bp_combat = ui_options.get("gameplay/backpack_travel/on_combat")
L122 🔴 global_write
Global write: bp_damage
Impact: low
Show code
bp_damage = ui_options.get("gameplay/backpack_travel/on_damage")
L123 🔴 global_write
Global write: bp_notime
Impact: low
Show code
bp_notime = ui_options.get("gameplay/backpack_travel/time")
L124 🔴 global_write
Global write: bp_storm
Impact: low
Show code
bp_storm = ui_options.get("gameplay/backpack_travel/on_emission")
L125 🔴 global_write
Global write: bp_weight
Impact: low
Show code
bp_weight = ui_options.get("gameplay/backpack_travel/on_overweight")

game_fast_travel.script

L9 🔴 global_write
Global write: enabled
Impact: low
Show code
enabled = 0
L10 🔴 global_write
Global write: combattravel
Impact: low
Show code
combattravel = false
L11 🔴 global_write
Global write: weighttravel
Impact: low
Show code
weighttravel = false
L12 🔴 global_write
Global write: damagetravel
Impact: low
Show code
damagetravel = false
L13 🔴 global_write
Global write: stormtravel
Impact: low
Show code
stormtravel = false
L14 🔴 global_write
Global write: longnames
Impact: low
Show code
longnames = false
L15 🔴 global_write
Global write: markermessage
Impact: low
Show code
markermessage = false
L16 🔴 global_write
Global write: notime
Impact: low
Show code
notime = false
L17 🔴 global_write
Global write: tsmarts
Impact: low
Show code
tsmarts = nil
L165 🔴 global_write
Global write: st_list_1
Impact: low
Show code
st_list_1 = game.translate_string("ui_mm_travel_list_1")
L167 🔴 global_write
Global write: enabled
Impact: low
Show code
enabled = ui_options.get("gameplay/fast_travel/state")
L168 🔴 global_write
Global write: combattravel
Impact: low
Show code
combattravel = ui_options.get("gameplay/fast_travel/on_combat")
L169 🔴 global_write
Global write: weighttravel
Impact: low
Show code
weighttravel = ui_options.get("gameplay/fast_travel/on_overweight")
L170 🔴 global_write
Global write: damagetravel
Impact: low
Show code
damagetravel = ui_options.get("gameplay/fast_travel/on_damage")
L171 🔴 global_write
Global write: stormtravel
Impact: low
Show code
stormtravel = ui_options.get("gameplay/fast_travel/on_emission")
L172 🔴 global_write
Global write: longnames
Impact: low
Show code
longnames = ui_options.get("gameplay/fast_travel/long_names")
L173 🔴 global_write
Global write: markermessage
Impact: low
Show code
markermessage = ui_options.get("gameplay/fast_travel/visit_message")
L174 🔴 global_write
Global write: notime
Impact: low
Show code
notime = ui_options.get("gameplay/fast_travel/time")
L178 🔴 global_write
Global write: tsmarts
Impact: low
Show code
tsmarts = utils_data.collect_section(pini,faction,true)

zz_game_fast_travel_limiter.script

L54 🔴 global_write
Global write: next_travel
Impact: low
Show code
next_travel = 0
L112 🔴 global_write
Global write: next_travel
Impact: low
Show code
next_travel = get_time_elapsed() + settings.next_travel_inc
L181 🔴 global_write
Global write: next_travel
Impact: low
Show code
next_travel = m_data.ftl_next_travel or 0

205- Old to ammo to new ammo converter (less item bloat) - Great_Day

1 file (🟢4 🟡0 🔴1 🔵3)

item_weapon.script

L74 🟢 repeated_weapon_section()
weapon:section() called 3x in attach_scope
Impact: low
Show code
Cache weapon:section() result
L101 🟢 repeated_weapon_section()
weapon:section() called 3x in detach_scope
Impact: low
Show code
Cache weapon:section() result
L893 🟢 repeated_wpn_section()
wpn:section() called 4x in update_overheat
Impact: low
Show code
Cache wpn:section() result
L970 🟢 repeated_item_section()
item:section() called 2x in actor_on_item_use
Impact: low
Show code
Cache item:section() result
L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_weapon.detach_scope | weapon owner not found")
L309 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: Couldn't relocate_item_from_actor | not enough item [%s] recolated! need %s more", section, cnt)
L730 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("ERROR: could not find ammo list for [%s] - grenade mode: %s", self.section, self.grenade_mode)
L870 🔴 global_write
Global write: can_overheat
Impact: low
Show code
can_overheat = true

206- Areas transition without confirmation (smoother gameflow) - Tom_Sharikov

1 file (🟢0 🟡0 🔴0 🔵1)

ui_sr_teleport.script

L21 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sr_teleport_sections.ltx: section doesn't exist %s",obj and obj:name())

207- Anomaly Magazines (Disable G.A.M.M.A. Unjam Reload) - RavenAscendant

11 files (🟢3 🟡3 🔴148 🔵8)

a_magazine.script

L1 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L2 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L4 🔴 global_write
Global write: GetCost
Impact: low
Show code
GetCost = utils_item.get_item_cost

mag_hud.script

L368 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sacle %s", scale)
L187 🔴 global_write
Global write: id
Impact: low
Show code
id = item:id()
L300 🔴 global_write
Global write: count
Impact: low
Show code
count = self.count
L402 🔴 global_write
Global write: p_width
Impact: low
Show code
p_width = parent_width or 1024
L403 🔴 global_write
Global write: p_center
Impact: low
Show code
p_center = p_width/2
L404 🔴 global_write
Global write: width
Impact: low
Show code
width = ele:GetWidth()
L405 🔴 global_write
Global write: pos
Impact: low
Show code
pos = ele:GetWndPos()
L406 🔴 global_write
Global write: anchorpos
Impact: low
Show code
anchorpos = {}
L410 🔴 global_write
Global write: ratio
Impact: low
Show code
ratio = (device().height / device().width) / (768 / 1024)
L411 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = anchorpos.left
L414 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = p_width - (p_width - (anchor and anchorpos[anchor] or anchorpos.left))*ratio
L416 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = p_center - (p_center - (anchor and anchorpos[anchor] or anchorpos.left))*ratio
L418 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = ratio * (anchor and anchorpos[anchor] or anchorpos.left)

magazine_binder.script

L63 🔴 global_write
Global write: tbl
Impact: low
Show code
tbl = {}
L312 🔴 global_write
Global write: carried
Impact: low
Show code
carried = get_total_carried()
L659 🔴 global_write
Global write: ready_color
Impact: low
Show code
ready_color = GetARGB(100, 255, 159, 82)

magazines.script

L209 🟢 repeated_item_section()
item:section() called 3x in on_item_drag_dropped
Impact: low
Show code
Cache item:section() result
L209 🟢 repeated_weapon_section()
weapon:section() called 3x in on_item_drag_dropped
Impact: low
Show code
Cache weapon:section() result
L375 🟢 repeated_ammo_section()
ammo:section() called 3x in chamber_single_round
Impact: low
Show code
Cache ammo:section() result
L36 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
dbg_log:log( text , ...)
L38 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "RAX: | %s | "..text ,time_global(), ...)
L50 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
err_log:log( text , ...)
L52 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe( "ERR: | %s | "..text ,time_global(), ...)
L6 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L7 🔴 global_write
Global write: get_mag_data
Impact: low
Show code
get_mag_data = magazine_binder.get_data
L8 🔴 global_write
Global write: set_mag_data
Impact: low
Show code
set_mag_data = magazine_binder.set_data
L9 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = magazine_binder.is_supported_weapon
L10 🔴 global_write
Global write: get_magazine_caliber
Impact: low
Show code
get_magazine_caliber = magazine_binder.get_magazine_caliber
L11 🔴 global_write
Global write: weapon_default_magazine
Impact: low
Show code
weapon_default_magazine = magazine_binder.weapon_default_magazine
L12 🔴 global_write
Global write: is_compatible
Impact: low
Show code
is_compatible = magazine_binder.is_compatible
L13 🔴 global_write
Global write: isMagazine
Impact: low
Show code
isMagazine = magazine_binder.is_magazine
L14 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L15 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = magazine_binder.get_mag_loaded
L16 🔴 global_write
Global write: is_carried_mag
Impact: low
Show code
is_carried_mag = magazine_binder.is_carried_mag
L17 🔴 global_write
Global write: toggle_carried_mag
Impact: low
Show code
toggle_carried_mag = magazine_binder.toggle_carried_mag
L18 🔴 global_write
Global write: get_carried_mags
Impact: low
Show code
get_carried_mags = magazine_binder.get_carried_mags
L19 🔴 global_write
Global write: room_in_pouch
Impact: low
Show code
room_in_pouch = magazine_binder.room_in_pouch
L20 🔴 global_write
Global write: get_retool_section
Impact: low
Show code
get_retool_section = magazine_binder.get_retool_section
L21 🔴 global_write
Global write: get_weapon_base_type
Impact: low
Show code
get_weapon_base_type = magazine_binder.get_weapon_base_type
L22 🔴 global_write
Global write: get_magazine_base_type
Impact: low
Show code
get_magazine_base_type = magazine_binder.get_magazine_base_type
L23 🔴 global_write
Global write: get_mags_for_basetype
Impact: low
Show code
get_mags_for_basetype = magazine_binder.get_mags_for_basetype
L24 🔴 global_write
Global write: dump_data
Impact: low
Show code
dump_data = magazine_binder.dump_data
L25 🔴 global_write
Global write: get_mags_by_ammo_type
Impact: low
Show code
get_mags_by_ammo_type = magazine_binder.get_mags_by_ammo_type
L26 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = magazines_mcm.get_config
L135 🔴 global_write
Global write: cache_mag_time
Impact: low
Show code
cache_mag_time = {}
L317 🔴 global_write
Global write: weapon
Impact: low
Show code
weapon = get_object_by_id(id)
L495 🔴 global_write
Global write: se_mag
Impact: low
Show code
se_mag = alife_create_item(mag_data.section, weapon:parent())
L620 🔴 global_write
Global write: FADArun
Impact: low
Show code
FADArun = enhanced_animations and enhanced_animations.used_item and true or false
L715 🔴 global_write
Global write: ext_ammo_obj
Impact: low
Show code
ext_ammo_obj = get_object_by_id(ext_ammo_box)
L720 🔴 global_write
Global write: new_ammo_box
Impact: low
Show code
new_ammo_box = find_next_box(ammo_section, ext_ammo_box)
L932 🔴 global_write
Global write: new_obj
Impact: low
Show code
new_obj = alife_create_item(retool_section, obj:parent())
L1058 🔴 global_write
Global write: args
Impact: low
Show code
args = str_explode(k, ",")

magazines_keybinds.script

L2 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L5 🔴 global_write
Global write: InventoryClick
Impact: low
Show code
InventoryClick = ui_inventory.UIInventory.On_CC_Mouse1

magazines_loot.script

L225 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!!! FRAUD DETECTED !!! Item %s should not have mag data!", sec)
L4 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L5 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = magazine_binder.get_data
L6 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = magazine_binder.set_data
L7 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = magazine_binder.get_mag_loaded
L8 🔴 global_write
Global write: prep_weapon
Impact: low
Show code
prep_weapon = magazines.prep_weapon
L9 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = magazine_binder.is_supported_weapon
L10 🔴 global_write
Global write: get_magazine_caliber
Impact: low
Show code
get_magazine_caliber = magazine_binder.get_magazine_caliber
L11 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L12 🔴 global_write
Global write: weapon_default_magazine
Impact: low
Show code
weapon_default_magazine = magazine_binder.weapon_default_magazine
L13 🔴 global_write
Global write: weapon_improved_magazine
Impact: low
Show code
weapon_improved_magazine = magazine_binder.weapon_improved_magazine
L14 🔴 global_write
Global write: create_mag_data
Impact: low
Show code
create_mag_data = magazine_binder.create_mag_data
L15 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L16 🔴 global_write
Global write: get_weapon_base_type
Impact: low
Show code
get_weapon_base_type = magazine_binder.get_weapon_base_type
L17 🔴 global_write
Global write: get_mags_for_basetype
Impact: low
Show code
get_mags_for_basetype = magazine_binder.get_mags_for_basetype
L18 🔴 global_write
Global write: valid_mag_data
Impact: low
Show code
valid_mag_data = magazine_binder.valid_mag_data
L19 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = magazines_mcm.get_config
L20 🔴 global_write
Global write: validate_mag
Impact: low
Show code
validate_mag = magazine_binder.validate_mag
L21 🔴 global_write
Global write: validate_wep
Impact: low
Show code
validate_wep = magazine_binder.validate_wep
L33 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update
L162 🔴 global_write
Global write: SetWepCondition
Impact: low
Show code
SetWepCondition = death_manager.set_weapon_drop_condition

magazines_mcm.script

L78 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "magazines",gr={

mags_patches.script

L227 🟡 string_concat_in_loop
String concat in loop: _str = _str .. x
Impact: critical
Show code
_str = _str .. clr_p .. gc("st_dot") .. " ".. clr_1 .. gc("st_mag_"..k) .. " " .. utils_xml.get_color_con(color_ratio) .. v .. "/" .. total ..(total > outfit_slots[k] and string.format(gc("st_mag_bonus"),outfit_slots[k],total - outfit_slots[k] ) or "") .. "\\n"
L233 🟡 string_concat_in_loop
String concat in loop: _str = _str .. x
Impact: critical
Show code
_str = _str .. clr_p .. gc("st_dot") .. " ".. clr_1 .. gc("st_mag_"..k)..slots.. "\\n"
L299 🟡 string_concat_in_loop
String concat in loop: _str = _str .. x
Impact: critical
Show code
_str = _str .. "\\n " .. gc("st_dot").." ".. collected[#collected - i + 1]
L3 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L4 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = magazine_binder.get_data
L5 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = magazine_binder.set_data
L6 🔴 global_write
Global write: dump_data
Impact: low
Show code
dump_data = magazine_binder.dump_data
L7 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = magazine_binder.is_supported_weapon
L8 🔴 global_write
Global write: get_magazine_caliber
Impact: low
Show code
get_magazine_caliber = magazine_binder.get_magazine_caliber
L9 🔴 global_write
Global write: is_compatible
Impact: low
Show code
is_compatible = magazine_binder.is_compatible
L10 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L11 🔴 global_write
Global write: get_weapon_base_type
Impact: low
Show code
get_weapon_base_type = magazine_binder.get_weapon_base_type
L12 🔴 global_write
Global write: is_carried_mag
Impact: low
Show code
is_carried_mag = magazine_binder.is_carried_mag
L13 🔴 global_write
Global write: toggle_carried_mag
Impact: low
Show code
toggle_carried_mag = magazine_binder.toggle_carried_mag
L14 🔴 global_write
Global write: room_in_pouch
Impact: low
Show code
room_in_pouch = magazine_binder.room_in_pouch
L15 🔴 global_write
Global write: eject
Impact: low
Show code
eject = magazines.eject_magazine
L16 🔴 global_write
Global write: get_total_carried
Impact: low
Show code
get_total_carried = magazine_binder.get_total_carried
L17 🔴 global_write
Global write: get_loadout_size
Impact: low
Show code
get_loadout_size = magazine_binder.get_loadout_size
L18 🔴 global_write
Global write: weapon_default_magazine
Impact: low
Show code
weapon_default_magazine = magazine_binder.weapon_default_magazine
L19 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = magazine_binder.get_mag_loaded
L20 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L21 🔴 global_write
Global write: has_loadout_slots
Impact: low
Show code
has_loadout_slots = magazine_binder.has_loadout_slots
L22 🔴 global_write
Global write: get_loadout_slots
Impact: low
Show code
get_loadout_slots = magazine_binder.get_loadout_slots
L23 🔴 global_write
Global write: create_mag_data
Impact: low
Show code
create_mag_data = magazine_binder.create_mag_data
L24 🔴 global_write
Global write: validate_mag
Impact: low
Show code
validate_mag = magazine_binder.validate_mag
L25 🔴 global_write
Global write: validate_wep
Impact: low
Show code
validate_wep = magazine_binder.validate_wep
L26 🔴 global_write
Global write: create_time_event
Impact: low
Show code
create_time_event = magazines.create_time_event
L27 🔴 global_write
Global write: get_sec_chambered
Impact: low
Show code
get_sec_chambered = magazines.get_sec_chambered
L28 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = magazines_mcm.get_config
L42 🔴 global_write
Global write: mousebase
Impact: low
Show code
mousebase = utils_ui.UICellContainer.On_Mouse1
L84 🔴 global_write
Global write: DisassemblyWeapon
Impact: low
Show code
DisassemblyWeapon = item_parts.disassembly_weapon
L100 🔴 global_write
Global write: WorkshopUpgrade
Impact: low
Show code
WorkshopUpgrade = ui_workshop.UIWorkshopUpgrade.Upgrade
L122 🔴 global_write
Global write: WorkshopRepair
Impact: low
Show code
WorkshopRepair = ui_workshop.UIWorkshopRepair.Repair
L143 🔴 global_write
Global write: CanRepair
Impact: low
Show code
CanRepair = inventory_upgrades.can_repair_item
L149 🔴 global_write
Global write: TechUpgrade
Impact: low
Show code
TechUpgrade = ui_inventory.UIInventory.RMode_UpgradeYes
L165 🔴 global_write
Global write: UnloadAll
Impact: low
Show code
UnloadAll = item_weapon.unload_all_weapons
L200 🔴 global_write
Global write: original_build_desc_header
Impact: low
Show code
original_build_desc_header = ui_item.build_desc_header
L274 🔴 global_write
Global write: original_build_desc_footer
Impact: low
Show code
original_build_desc_footer = ui_item.build_desc_footer
L297 🔴 global_write
Global write: collected
Impact: low
Show code
collected = collect_mag_data(mag_data, true)
L320 🔴 global_write
Global write: CloneWep
Impact: low
Show code
CloneWep = _G.alife_clone_weapon
L394 🔴 global_write
Global write: id_1
Impact: low
Show code
id_1 = alife_create_item(default_mag, db.actor)
L395 🔴 global_write
Global write: id_2
Impact: low
Show code
id_2 = alife_create_item(default_mag, db.actor)
L404 🔴 global_write
Global write: NewGameEquipment
Impact: low
Show code
NewGameEquipment = itms_manager.new_game_equippment
L410 🔴 global_write
Global write: AzazelDeath
Impact: low
Show code
AzazelDeath = gamemode_azazel.actor_on_before_death
L471 🔴 global_write
Global write: BarTele
Impact: low
Show code
BarTele = xr_effects.bar_arena_teleport
L862 🔴 global_write
Global write: DetachScope
Impact: low
Show code
DetachScope = item_weapon.detach_scope
L864 🔴 global_write
Global write: AttachScope
Impact: low
Show code
AttachScope = item_weapon.attach_scope

rax_persistent_highlight.script

L44 🔴 global_write
Global write: persistant_highlight
Impact: low
Show code
persistant_highlight = self:GetPersistantHighlight()
L47 🔴 global_write
Global write: color
Impact: low
Show code
color = main_clr and change_alpha(persistant_highlight, 255) or persistant_highlight -- if main_clr set the alpha to max for reasons.
L55 🔴 global_write
Global write: clr_cache
Impact: low
Show code
clr_cache = {}
L62 🔴 global_write
Global write: b
Impact: low
Show code
b = bit_band(clr, 255)
L63 🔴 global_write
Global write: g
Impact: low
Show code
g = bit_band(bit.rshift(clr, 8), 255)
L64 🔴 global_write
Global write: r
Impact: low
Show code
r = bit_band(bit.rshift(clr, 16), 255)

rax_stacking_control.script

L54 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UICellContainer:ValidateSimilar | no data recieved!")
L86 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UICellContainer:FindSimilar | no data recieved!")

yyy_mag_sorting.script

L6 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L7 🔴 global_write
Global write: is_carried_mag
Impact: low
Show code
is_carried_mag = magazine_binder.is_carried_mag
L8 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L11 🔴 global_write
Global write: ini
Impact: low
Show code
ini = ini_sys
L14 🔴 global_write
Global write: ui_catagories
Impact: low
Show code
ui_catagories = {}
L15 🔴 global_write
Global write: item_order
Impact: low
Show code
item_order = {}
L17 🔴 global_write
Global write: ab_w
Impact: low
Show code
ab_w, ab_h, ab_k = {}, {}, {}
L17 🔴 global_write
Global write: ab_h
Impact: low
Show code
ab_w, ab_h, ab_k = {}, {}, {}
L17 🔴 global_write
Global write: ab_k
Impact: low
Show code
ab_w, ab_h, ab_k = {}, {}, {}
L18 🔴 global_write
Global write: a_sec
Impact: low
Show code
a_sec, a_w, a_h, a_k = nil, nil, nil, nil
L18 🔴 global_write
Global write: a_w
Impact: low
Show code
a_sec, a_w, a_h, a_k = nil, nil, nil, nil
L18 🔴 global_write
Global write: a_h
Impact: low
Show code
a_sec, a_w, a_h, a_k = nil, nil, nil, nil
L18 🔴 global_write
Global write: a_k
Impact: low
Show code
a_sec, a_w, a_h, a_k = nil, nil, nil, nil
L19 🔴 global_write
Global write: b_sec
Impact: low
Show code
b_sec, b_w, b_h, b_k = nil, nil, nil, nil
L19 🔴 global_write
Global write: b_w
Impact: low
Show code
b_sec, b_w, b_h, b_k = nil, nil, nil, nil
L19 🔴 global_write
Global write: b_h
Impact: low
Show code
b_sec, b_w, b_h, b_k = nil, nil, nil, nil
L19 🔴 global_write
Global write: b_k
Impact: low
Show code
b_sec, b_w, b_h, b_k = nil, nil, nil, nil
L42 🔴 global_write
Global write: a_sec
Impact: low
Show code
a_sec = asec
L43 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(a_sec,1)
L52 🔴 global_write
Global write: a_w
Impact: low
Show code
a_w = ab_w[a_sec]
L53 🔴 global_write
Global write: a_h
Impact: low
Show code
a_h = ab_h[a_sec]
L54 🔴 global_write
Global write: a_k
Impact: low
Show code
a_k = item_order[ab_k[a_sec]]
L57 🔴 global_write
Global write: b_sec
Impact: low
Show code
b_sec = bsec
L58 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(b_sec,1)
L67 🔴 global_write
Global write: b_w
Impact: low
Show code
b_w = ab_w[b_sec]
L68 🔴 global_write
Global write: b_h
Impact: low
Show code
b_h = ab_h[b_sec]
L69 🔴 global_write
Global write: b_k
Impact: low
Show code
b_k = item_order[ab_k[b_sec]]
L192 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(sec,1)

207- Mags Redux (Disable G.A.M.M.A. Unjam Reload) - RavenAscendant

18 files (🟢5 🟡3 🔴176 🔵40)

a_magazine.script

L1 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L2 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L4 🔴 global_write
Global write: GetCost
Impact: low
Show code
GetCost = utils_item.get_item_cost

aaa_rax_icon_override_mcm.script

L22 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "RAX: | %s | "..text ,time_global(), ...)
L367 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | XML_box or XML_temp doesn't exist")
L375 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | section [%s] doesn't exist in system ini", sec)
L18 🔴 global_write
Global write: icon_override
Impact: low
Show code
icon_override = ini_file_ex("icon_override\\icon_override.ltx")
L540 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(a_sec,1)
L555 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(b_sec,1)

actor_stash_patch.script

L6 🟢 repeated_item_section()
item:section() called 3x in <global>
Impact: low
Show code
Cache item:section() result

ammo_check_mcm.script

L41 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AC] " .. msg, ...)
L49 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
if dbg_log then dbg_log:log(msg, ...) end
L115 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L118 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = magazine_binder.get_data
L119 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = magazine_binder.set_data
L120 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = magazine_binder.get_mag_loaded or get_mag_loaded_shim -- get_mag_loaded does not exist in moddb version. MagsRedux needs update.
L121 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = magazine_binder.is_supported_weapon
L122 🔴 global_write
Global write: is_jammed_weapon
Impact: low
Show code
is_jammed_weapon = magazines.is_jammed_weapon
L123 🔴 global_write
Global write: get_sec_chambered
Impact: low
Show code
get_sec_chambered = magazines.get_sec_chambered
L126 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = null_function -- Should not be called, just in case.
L127 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = null_function -- Should not be called, just in case.
L128 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = null_function -- Always returns false, meaning none of the weapons are supported, fall back on vanilla ammo handling.
L129 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = null_function -- There is never a loaded magazine in vanilla.
L130 🔴 global_write
Global write: is_jammed_weapon
Impact: low
Show code
is_jammed_weapon = null_function -- Sadly, standalone mode does not report weapon jams for now.
L131 🔴 global_write
Global write: get_sec_chambered
Impact: low
Show code
get_sec_chambered = null_function -- No "one-in-the-chamber" feature in vanilla.
L144 🔴 global_write
Global write: ch_options
Impact: low
Show code
ch_options = {
L181 🔴 global_write
Global write: pos
Impact: low
Show code
pos = ActorMenu.get_maingame().m_ui_hud_states.m_ui_weapon_cur_ammo:GetWndPos()
L185 🔴 global_write
Global write: pos
Impact: low
Show code
pos = ActorMenu.get_maingame().m_ui_hud_states.m_ui_weapon_icon:GetWndPos()
L268 🔴 global_write
Global write: idx
Impact: low
Show code
idx = l_round((curAmmoPerc * 10) + .5) -- gives an integer value n for the decile of curAmmoPerc and 11 for full.

custom_functor_autoinject.script

L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."*"..g_tostring(t))
L114 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(t).." {")
L116 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..string.rep(" ",#pos+6).."}")
L118 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(val))
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..g_tostring(t))
L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L145 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L152 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L154 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L158 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L321 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s", k, v.index)
L324 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s, max custom_functor reached", k, v.index)
L426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, processing queue")
L429 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, type %s", v.type)
L466 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid, min 1, max 10, your slot: %s", slot)
L481 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid min 1, max 10, your slot: %s", slot)
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[" .. k .. "] => ")

mag_hud.script

L368 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sacle %s", scale)
L187 🔴 global_write
Global write: id
Impact: low
Show code
id = item:id()
L300 🔴 global_write
Global write: count
Impact: low
Show code
count = self.count
L402 🔴 global_write
Global write: p_width
Impact: low
Show code
p_width = parent_width or 1024
L403 🔴 global_write
Global write: p_center
Impact: low
Show code
p_center = p_width/2
L404 🔴 global_write
Global write: width
Impact: low
Show code
width = ele:GetWidth()
L405 🔴 global_write
Global write: pos
Impact: low
Show code
pos = ele:GetWndPos()
L406 🔴 global_write
Global write: anchorpos
Impact: low
Show code
anchorpos = {}
L410 🔴 global_write
Global write: ratio
Impact: low
Show code
ratio = (device().height / device().width) / (768 / 1024)
L411 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = anchorpos.left
L414 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = p_width - (p_width - (anchor and anchorpos[anchor] or anchorpos.left))*ratio
L416 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = p_center - (p_center - (anchor and anchorpos[anchor] or anchorpos.left))*ratio
L418 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = ratio * (anchor and anchorpos[anchor] or anchorpos.left)

magazine_binder.script

L63 🔴 global_write
Global write: tbl
Impact: low
Show code
tbl = {}
L312 🔴 global_write
Global write: carried
Impact: low
Show code
carried = get_total_carried()
L659 🔴 global_write
Global write: ready_color
Impact: low
Show code
ready_color = GetARGB(100, 255, 159, 82)

magazines.script

L209 🟢 repeated_item_section()
item:section() called 3x in on_item_drag_dropped
Impact: low
Show code
Cache item:section() result
L209 🟢 repeated_weapon_section()
weapon:section() called 3x in on_item_drag_dropped
Impact: low
Show code
Cache weapon:section() result
L375 🟢 repeated_ammo_section()
ammo:section() called 3x in chamber_single_round
Impact: low
Show code
Cache ammo:section() result
L36 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
dbg_log:log( text , ...)
L38 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "RAX: | %s | "..text ,time_global(), ...)
L50 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
err_log:log( text , ...)
L52 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe( "ERR: | %s | "..text ,time_global(), ...)
L6 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L7 🔴 global_write
Global write: get_mag_data
Impact: low
Show code
get_mag_data = magazine_binder.get_data
L8 🔴 global_write
Global write: set_mag_data
Impact: low
Show code
set_mag_data = magazine_binder.set_data
L9 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = magazine_binder.is_supported_weapon
L10 🔴 global_write
Global write: get_magazine_caliber
Impact: low
Show code
get_magazine_caliber = magazine_binder.get_magazine_caliber
L11 🔴 global_write
Global write: weapon_default_magazine
Impact: low
Show code
weapon_default_magazine = magazine_binder.weapon_default_magazine
L12 🔴 global_write
Global write: is_compatible
Impact: low
Show code
is_compatible = magazine_binder.is_compatible
L13 🔴 global_write
Global write: isMagazine
Impact: low
Show code
isMagazine = magazine_binder.is_magazine
L14 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L15 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = magazine_binder.get_mag_loaded
L16 🔴 global_write
Global write: is_carried_mag
Impact: low
Show code
is_carried_mag = magazine_binder.is_carried_mag
L17 🔴 global_write
Global write: toggle_carried_mag
Impact: low
Show code
toggle_carried_mag = magazine_binder.toggle_carried_mag
L18 🔴 global_write
Global write: get_carried_mags
Impact: low
Show code
get_carried_mags = magazine_binder.get_carried_mags
L19 🔴 global_write
Global write: room_in_pouch
Impact: low
Show code
room_in_pouch = magazine_binder.room_in_pouch
L20 🔴 global_write
Global write: get_retool_section
Impact: low
Show code
get_retool_section = magazine_binder.get_retool_section
L21 🔴 global_write
Global write: get_weapon_base_type
Impact: low
Show code
get_weapon_base_type = magazine_binder.get_weapon_base_type
L22 🔴 global_write
Global write: get_magazine_base_type
Impact: low
Show code
get_magazine_base_type = magazine_binder.get_magazine_base_type
L23 🔴 global_write
Global write: get_mags_for_basetype
Impact: low
Show code
get_mags_for_basetype = magazine_binder.get_mags_for_basetype
L24 🔴 global_write
Global write: dump_data
Impact: low
Show code
dump_data = magazine_binder.dump_data
L25 🔴 global_write
Global write: get_mags_by_ammo_type
Impact: low
Show code
get_mags_by_ammo_type = magazine_binder.get_mags_by_ammo_type
L26 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = magazines_mcm.get_config
L135 🔴 global_write
Global write: cache_mag_time
Impact: low
Show code
cache_mag_time = {}
L317 🔴 global_write
Global write: weapon
Impact: low
Show code
weapon = get_object_by_id(id)
L495 🔴 global_write
Global write: se_mag
Impact: low
Show code
se_mag = alife_create_item(mag_data.section, weapon:parent())
L620 🔴 global_write
Global write: FADArun
Impact: low
Show code
FADArun = enhanced_animations and enhanced_animations.used_item and true or false
L715 🔴 global_write
Global write: ext_ammo_obj
Impact: low
Show code
ext_ammo_obj = get_object_by_id(ext_ammo_box)
L720 🔴 global_write
Global write: new_ammo_box
Impact: low
Show code
new_ammo_box = find_next_box(ammo_section, ext_ammo_box)
L932 🔴 global_write
Global write: new_obj
Impact: low
Show code
new_obj = alife_create_item(retool_section, obj:parent())
L1058 🔴 global_write
Global write: args
Impact: low
Show code
args = str_explode(k, ",")

magazines_keybinds.script

L2 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L5 🔴 global_write
Global write: InventoryClick
Impact: low
Show code
InventoryClick = ui_inventory.UIInventory.On_CC_Mouse1

magazines_loot.script

L225 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!!! FRAUD DETECTED !!! Item %s should not have mag data!", sec)
L4 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L5 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = magazine_binder.get_data
L6 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = magazine_binder.set_data
L7 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = magazine_binder.get_mag_loaded
L8 🔴 global_write
Global write: prep_weapon
Impact: low
Show code
prep_weapon = magazines.prep_weapon
L9 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = magazine_binder.is_supported_weapon
L10 🔴 global_write
Global write: get_magazine_caliber
Impact: low
Show code
get_magazine_caliber = magazine_binder.get_magazine_caliber
L11 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L12 🔴 global_write
Global write: weapon_default_magazine
Impact: low
Show code
weapon_default_magazine = magazine_binder.weapon_default_magazine
L13 🔴 global_write
Global write: weapon_improved_magazine
Impact: low
Show code
weapon_improved_magazine = magazine_binder.weapon_improved_magazine
L14 🔴 global_write
Global write: create_mag_data
Impact: low
Show code
create_mag_data = magazine_binder.create_mag_data
L15 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L16 🔴 global_write
Global write: get_weapon_base_type
Impact: low
Show code
get_weapon_base_type = magazine_binder.get_weapon_base_type
L17 🔴 global_write
Global write: get_mags_for_basetype
Impact: low
Show code
get_mags_for_basetype = magazine_binder.get_mags_for_basetype
L18 🔴 global_write
Global write: valid_mag_data
Impact: low
Show code
valid_mag_data = magazine_binder.valid_mag_data
L19 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = magazines_mcm.get_config
L20 🔴 global_write
Global write: validate_mag
Impact: low
Show code
validate_mag = magazine_binder.validate_mag
L21 🔴 global_write
Global write: validate_wep
Impact: low
Show code
validate_wep = magazine_binder.validate_wep
L33 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update
L162 🔴 global_write
Global write: SetWepCondition
Impact: low
Show code
SetWepCondition = death_manager.set_weapon_drop_condition

magazines_mcm.script

L78 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "magazines",gr={

mags_patches.script

L227 🟡 string_concat_in_loop
String concat in loop: _str = _str .. x
Impact: critical
Show code
_str = _str .. clr_p .. gc("st_dot") .. " ".. clr_1 .. gc("st_mag_"..k) .. " " .. utils_xml.get_color_con(color_ratio) .. v .. "/" .. total ..(total > outfit_slots[k] and string.format(gc("st_mag_bonus"),outfit_slots[k],total - outfit_slots[k] ) or "") .. "\\n"
L233 🟡 string_concat_in_loop
String concat in loop: _str = _str .. x
Impact: critical
Show code
_str = _str .. clr_p .. gc("st_dot") .. " ".. clr_1 .. gc("st_mag_"..k)..slots.. "\\n"
L299 🟡 string_concat_in_loop
String concat in loop: _str = _str .. x
Impact: critical
Show code
_str = _str .. "\\n " .. gc("st_dot").." ".. collected[#collected - i + 1]
L3 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L4 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = magazine_binder.get_data
L5 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = magazine_binder.set_data
L6 🔴 global_write
Global write: dump_data
Impact: low
Show code
dump_data = magazine_binder.dump_data
L7 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = magazine_binder.is_supported_weapon
L8 🔴 global_write
Global write: get_magazine_caliber
Impact: low
Show code
get_magazine_caliber = magazine_binder.get_magazine_caliber
L9 🔴 global_write
Global write: is_compatible
Impact: low
Show code
is_compatible = magazine_binder.is_compatible
L10 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L11 🔴 global_write
Global write: get_weapon_base_type
Impact: low
Show code
get_weapon_base_type = magazine_binder.get_weapon_base_type
L12 🔴 global_write
Global write: is_carried_mag
Impact: low
Show code
is_carried_mag = magazine_binder.is_carried_mag
L13 🔴 global_write
Global write: toggle_carried_mag
Impact: low
Show code
toggle_carried_mag = magazine_binder.toggle_carried_mag
L14 🔴 global_write
Global write: room_in_pouch
Impact: low
Show code
room_in_pouch = magazine_binder.room_in_pouch
L15 🔴 global_write
Global write: eject
Impact: low
Show code
eject = magazines.eject_magazine
L16 🔴 global_write
Global write: get_total_carried
Impact: low
Show code
get_total_carried = magazine_binder.get_total_carried
L17 🔴 global_write
Global write: get_loadout_size
Impact: low
Show code
get_loadout_size = magazine_binder.get_loadout_size
L18 🔴 global_write
Global write: weapon_default_magazine
Impact: low
Show code
weapon_default_magazine = magazine_binder.weapon_default_magazine
L19 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = magazine_binder.get_mag_loaded
L20 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L21 🔴 global_write
Global write: has_loadout_slots
Impact: low
Show code
has_loadout_slots = magazine_binder.has_loadout_slots
L22 🔴 global_write
Global write: get_loadout_slots
Impact: low
Show code
get_loadout_slots = magazine_binder.get_loadout_slots
L23 🔴 global_write
Global write: create_mag_data
Impact: low
Show code
create_mag_data = magazine_binder.create_mag_data
L24 🔴 global_write
Global write: validate_mag
Impact: low
Show code
validate_mag = magazine_binder.validate_mag
L25 🔴 global_write
Global write: validate_wep
Impact: low
Show code
validate_wep = magazine_binder.validate_wep
L26 🔴 global_write
Global write: create_time_event
Impact: low
Show code
create_time_event = magazines.create_time_event
L27 🔴 global_write
Global write: get_sec_chambered
Impact: low
Show code
get_sec_chambered = magazines.get_sec_chambered
L28 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = magazines_mcm.get_config
L42 🔴 global_write
Global write: mousebase
Impact: low
Show code
mousebase = utils_ui.UICellContainer.On_Mouse1
L84 🔴 global_write
Global write: DisassemblyWeapon
Impact: low
Show code
DisassemblyWeapon = item_parts.disassembly_weapon
L100 🔴 global_write
Global write: WorkshopUpgrade
Impact: low
Show code
WorkshopUpgrade = ui_workshop.UIWorkshopUpgrade.Upgrade
L122 🔴 global_write
Global write: WorkshopRepair
Impact: low
Show code
WorkshopRepair = ui_workshop.UIWorkshopRepair.Repair
L143 🔴 global_write
Global write: CanRepair
Impact: low
Show code
CanRepair = inventory_upgrades.can_repair_item
L149 🔴 global_write
Global write: TechUpgrade
Impact: low
Show code
TechUpgrade = ui_inventory.UIInventory.RMode_UpgradeYes
L165 🔴 global_write
Global write: UnloadAll
Impact: low
Show code
UnloadAll = item_weapon.unload_all_weapons
L200 🔴 global_write
Global write: original_build_desc_header
Impact: low
Show code
original_build_desc_header = ui_item.build_desc_header
L274 🔴 global_write
Global write: original_build_desc_footer
Impact: low
Show code
original_build_desc_footer = ui_item.build_desc_footer
L297 🔴 global_write
Global write: collected
Impact: low
Show code
collected = collect_mag_data(mag_data, true)
L320 🔴 global_write
Global write: CloneWep
Impact: low
Show code
CloneWep = _G.alife_clone_weapon
L394 🔴 global_write
Global write: id_1
Impact: low
Show code
id_1 = alife_create_item(default_mag, db.actor)
L395 🔴 global_write
Global write: id_2
Impact: low
Show code
id_2 = alife_create_item(default_mag, db.actor)
L404 🔴 global_write
Global write: NewGameEquipment
Impact: low
Show code
NewGameEquipment = itms_manager.new_game_equippment
L410 🔴 global_write
Global write: AzazelDeath
Impact: low
Show code
AzazelDeath = gamemode_azazel.actor_on_before_death
L471 🔴 global_write
Global write: BarTele
Impact: low
Show code
BarTele = xr_effects.bar_arena_teleport
L862 🔴 global_write
Global write: DetachScope
Impact: low
Show code
DetachScope = item_weapon.detach_scope
L864 🔴 global_write
Global write: AttachScope
Impact: low
Show code
AttachScope = item_weapon.attach_scope

rax_persistent_highlight.script

L44 🔴 global_write
Global write: persistant_highlight
Impact: low
Show code
persistant_highlight = self:GetPersistantHighlight()
L47 🔴 global_write
Global write: color
Impact: low
Show code
color = main_clr and change_alpha(persistant_highlight, 255) or persistant_highlight -- if main_clr set the alpha to max for reasons.
L55 🔴 global_write
Global write: clr_cache
Impact: low
Show code
clr_cache = {}
L62 🔴 global_write
Global write: b
Impact: low
Show code
b = bit_band(clr, 255)
L63 🔴 global_write
Global write: g
Impact: low
Show code
g = bit_band(bit.rshift(clr, 8), 255)
L64 🔴 global_write
Global write: r
Impact: low
Show code
r = bit_band(bit.rshift(clr, 16), 255)

rax_stacking_control.script

L54 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UICellContainer:ValidateSimilar | no data recieved!")
L86 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UICellContainer:FindSimilar | no data recieved!")

trader_autoinject.script

L184 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

ui_encyclopedia_autoinject.script

L16 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("category: processing %s", section)
L22 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("article: processing %s", section)
L59 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("there are %s new categories", #new_cat)
L33 🔴 global_write
Global write: InitArticles
Impact: low
Show code
InitArticles = ui_pda_encyclopedia_tab.pda_encyclopedia_tab.InitArticles
L56 🔴 global_write
Global write: InitCategories
Impact: low
Show code
InitCategories = ui_pda_encyclopedia_tab.pda_encyclopedia_tab.InitCategories
L62 🔴 global_write
Global write: item
Impact: low
Show code
item = ui_pda_encyclopedia_tab.pda_encyclopedia_entry(v, k, clr)

ui_pda_autoinject.script

L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("category: processing %s", section)
L21 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("article: processing %s", section)
L58 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("there are %s new categories", #new_cat)
L32 🔴 global_write
Global write: InitArticles
Impact: low
Show code
InitArticles = ui_pda_encyclopedia_tab.pda_encyclopedia_tab.InitArticles
L55 🔴 global_write
Global write: InitCategories
Impact: low
Show code
InitCategories = ui_pda_encyclopedia_tab.pda_encyclopedia_tab.InitCategories
L61 🔴 global_write
Global write: item
Impact: low
Show code
item = ui_pda_encyclopedia_tab.pda_encyclopedia_entry(v, k, clr)

yyy_mag_sorting.script

L6 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L7 🔴 global_write
Global write: is_carried_mag
Impact: low
Show code
is_carried_mag = magazine_binder.is_carried_mag
L8 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L11 🔴 global_write
Global write: ini
Impact: low
Show code
ini = ini_sys
L14 🔴 global_write
Global write: ui_catagories
Impact: low
Show code
ui_catagories = {}
L15 🔴 global_write
Global write: item_order
Impact: low
Show code
item_order = {}
L17 🔴 global_write
Global write: ab_w
Impact: low
Show code
ab_w, ab_h, ab_k = {}, {}, {}
L17 🔴 global_write
Global write: ab_h
Impact: low
Show code
ab_w, ab_h, ab_k = {}, {}, {}
L17 🔴 global_write
Global write: ab_k
Impact: low
Show code
ab_w, ab_h, ab_k = {}, {}, {}
L18 🔴 global_write
Global write: a_sec
Impact: low
Show code
a_sec, a_w, a_h, a_k = nil, nil, nil, nil
L18 🔴 global_write
Global write: a_w
Impact: low
Show code
a_sec, a_w, a_h, a_k = nil, nil, nil, nil
L18 🔴 global_write
Global write: a_h
Impact: low
Show code
a_sec, a_w, a_h, a_k = nil, nil, nil, nil
L18 🔴 global_write
Global write: a_k
Impact: low
Show code
a_sec, a_w, a_h, a_k = nil, nil, nil, nil
L19 🔴 global_write
Global write: b_sec
Impact: low
Show code
b_sec, b_w, b_h, b_k = nil, nil, nil, nil
L19 🔴 global_write
Global write: b_w
Impact: low
Show code
b_sec, b_w, b_h, b_k = nil, nil, nil, nil
L19 🔴 global_write
Global write: b_h
Impact: low
Show code
b_sec, b_w, b_h, b_k = nil, nil, nil, nil
L19 🔴 global_write
Global write: b_k
Impact: low
Show code
b_sec, b_w, b_h, b_k = nil, nil, nil, nil
L42 🔴 global_write
Global write: a_sec
Impact: low
Show code
a_sec = asec
L43 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(a_sec,1)
L52 🔴 global_write
Global write: a_w
Impact: low
Show code
a_w = ab_w[a_sec]
L53 🔴 global_write
Global write: a_h
Impact: low
Show code
a_h = ab_h[a_sec]
L54 🔴 global_write
Global write: a_k
Impact: low
Show code
a_k = item_order[ab_k[a_sec]]
L57 🔴 global_write
Global write: b_sec
Impact: low
Show code
b_sec = bsec
L58 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(b_sec,1)
L67 🔴 global_write
Global write: b_w
Impact: low
Show code
b_w = ab_w[b_sec]
L68 🔴 global_write
Global write: b_h
Impact: low
Show code
b_h = ab_h[b_sec]
L69 🔴 global_write
Global write: b_k
Impact: low
Show code
b_k = item_order[ab_k[b_sec]]
L192 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(sec,1)

208- Ironman Roguelite (for easier ironman lovers) - Jabbers

1 file (🟢0 🟡1 🔴0 🔵0)

roguelite_manager.script

L53 🟡 string_concat_in_loop
String concat in loop: toprint = toprint .. x
Impact: critical
Show code
toprint = toprint .. string_rep(" ", indent)

210- Disables Music in game but not in main menu (if you do not like the new OST) - Ishmaeel

1 file (🟢0 🟡0 🔴0 🔵7)

ish_eine_kleine_nah_music.script

L12 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("on_game_start")
L19 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_first_update")
L24 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_net_destroy")
L29 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Main menu: %s", state)
L40 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("restore")
L45 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("silence")
L52 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Exec: %s %s", cmd, arg)

212- Trader Destockifier (shrinks and randomize traders stocks) - Demonized

3 files (🟢3 🟡0 🔴4 🔵35)

trader_autoinject.script

L187 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L41 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

trader_destockifier_mcm.script

L1 🔴 global_write
Global write: op
Impact: low
Show code
op = {

zz_trader_destockifier.script

L136 🟢 repeated_item_section()
item:section() called 3x in create_items_table
Impact: low
Show code
Cache item:section() result
L172 🟢 repeated_item_section()
item:section() called 14x in <global>
Impact: low
Show code
Cache item:section() result
L30 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Trader Destockifier: " .. str, ...)
L48 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."*"..g_tostring(t))
L54 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(t).." {")
L56 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..string.rep(" ",#pos+6).."}")
L58 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(val))
L62 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..g_tostring(t))
L71 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Table Print")
L105 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("%s table is empty, ignoring", key)
L117 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("picked %s", key)
L119 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("picked %s %s, id %s", key, k, v)
L145 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("collecting %s %s, id %s", self.key, sec, id)
L155 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Maximum for %s set to -1, not removing", self.max_key)
L162 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("%s is not in the picked table, removing. %s, id %s", self.key, sec, id)
L304 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("collecting %s %s, id %s", t.key, sec, id)
L312 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("%s table is empty, ignoring", t.key)
L332 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("picked %s", t.key)
L334 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("picked %s %s, id %s", t.key, k, v)
L343 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Maximum for %s set to -1, not removing", t.max_key)
L350 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("%s is not in the picked table, removing. %s, id %s", t.key, sec, id)
L371 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("%s table is empty, ignoring", self.key)
L405 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("picked %s", t.key)
L407 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("picked %s %s, id %s", t.key, k, v)
L417 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("picked %s", t.key)
L419 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("picked %s %s, id %s", t.key, k, v)
L440 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("%s table is empty, ignoring", self.key)
L468 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("picked %s", t.key)
L470 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("picked %s %s, id %s", t.key, k, v)
L480 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("picked %s", t.key)
L482 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("picked %s %s, id %s", t.key, k, v)
L492 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("picked %s", t.key)
L494 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("picked %s %s, id %s", t.key, k, v)
L556 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("%s table is empty, ignoring", self.key)
L610 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("%s is not in the picked table, removing. %s, id %s", self.key, sec, id)
L682 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("npc %s, %s is not trader", npc:name(), npc:id())
L736 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Registering")
L700 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

214- New Item Highlight (not really necessary but some people like it) - RavenAscendant

2 files (🟢0 🟡0 🔴10 🔵0)

rax_inventory_highlights_mcm.script

L31 🔴 global_write
Global write: highlight_color
Impact: low
Show code
highlight_color = GetARGB(50, 212, 175, 55)
L131 🔴 global_write
Global write: t
Impact: low
Show code
t = {
L143 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "new_item_highlight" ,sh=true ,gr= t } -- put the list of setting into the table describing the entire MCM menu
L155 🔴 global_write
Global write: highlight_color
Impact: low
Show code
highlight_color = GetARGB(a, r, g, b)

rax_persistent_highlight.script

L44 🔴 global_write
Global write: persistant_highlight
Impact: low
Show code
persistant_highlight = self:GetPersistantHighlight()
L47 🔴 global_write
Global write: color
Impact: low
Show code
color = main_clr and change_alpha(persistant_highlight, 255) or persistant_highlight -- if main_clr set the alpha to max for reasons.
L55 🔴 global_write
Global write: clr_cache
Impact: low
Show code
clr_cache = {}
L62 🔴 global_write
Global write: b
Impact: low
Show code
b = bit_band(clr, 255)
L63 🔴 global_write
Global write: g
Impact: low
Show code
g = bit_band(bit.rshift(clr, 8), 255)
L64 🔴 global_write
Global write: r
Impact: low
Show code
r = bit_band(bit.rshift(clr, 16), 255)

216- Duty Expansion (dialogue camera issues, nimble and spore dialogues heavy bugs) - GhenTuong

6 files (🟢0 🟡1 🔴12 🔵37)

dialog.script

L1000 🟡 string_concat_in_loop
String concat in loop: npc_text = npc_text .. x
Impact: critical
Show code
npc_text = npc_text .. " " .. game.translate_string("st_drx_questlines_and_this_one") .. " "
L439 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL storyline task started: " .. last_task_id) )
L449 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L468 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL change factions task started: " .. last_task_id) )
L476 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L494 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL mechanic task started: " .. last_task_id) )
L500 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L516 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL dynamic task started: " .. last_task_id) )
L522 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L540 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL simulation task started: " .. last_task_id) )
L549 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L555 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_hostage_giver_" .. giver_id .. " registered") )
L571 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL dynamic task started: " .. task_id) )
L576 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L590 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL simulation task started: " .. task_id) )
L595 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L1365 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Couldn't relocate money to NULL")
L1835 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Couldn't relocate money to NULL")
L80 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil
L176 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = task_section
L193 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = task_section
L210 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = task_section
L318 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = task_section
L328 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = task_section
L452 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil
L478 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil
L501 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil
L523 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil
L544 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil

dialogs_duty_girl.script

L29 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR dialog_manager | No such function exists '%s'",value)
L36 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR dialog_manager | No such function exists '%s'",cond)
L47 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR dialog_manager | No such function exists '%s'",value)
L54 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR dialog_manager | No such function exists '%s'",act)

gameplay_duty_outpost.script

L67 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Release [%s]",se:name())

smart_terrain_ex.script

L102 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return printf("%s no npc_info!",self:name())
L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return printf("%s no job table for %s [stype = %s]",self:name(),npc_info.se_obj:name(),npc_info.stype)

task_duty_girl.script

L495 🔴 global_write
Global write: cmd
Impact: low
Show code
cmd = debug_cmd_list.command_get_list()

xr_logic_ex.script

L182 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: animpoint %s | %s",st.active_section,dt.level_vertex_id)
L221 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: load_campfire_actions [%s] %s is_in_camp %s %s",npc:name(),dt.active_section,is_in_camp,v and v.name)
L233 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: [%s] %s no camp",npc:name(),dt.active_section)
L268 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: animpoint load campfire action %s %s",dt.active_section,v)
L312 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex can not find %s %s",dt.active_section,dt.delay_animation)
L716 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: %s [%s] no dt.position",st.ini_filename,st.active_section)
L719 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: %s [%s] no dt.level_vertex_id",st.ini_filename,st.active_section)
L722 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: %s [%s] no dt.look_position",st.ini_filename,st.active_section)
L782 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex | load_storage_squad file %s doesn't exist.",ini_name)
L817 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex | load_storage_logic file %s doesn't exist.",ini_name)
L892 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: squad_target_update teleport [%s] %s %s",squad:name(),new_target,squad.scripted_target)
L944 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex | old logic [%s] %s %s",npc:name(),st.section_logic,st.active_section)
L959 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex | new logic [%s] %s %s %s",npc:name(),ini_name,new_logic,new_section)

217- DNPCAV NPCs wear armor you give them (Crash to desktop sometimes with shift transfer) - RavenAscendant

1 file (🟢0 🟡0 🔴18 🔵1)

dynamic_npc_armor_visuals.script

L13 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "RAX: | %s | "..text ,time_global(), ...)
L9 🔴 global_write
Global write: default_visuals
Impact: low
Show code
default_visuals = {}
L17 🔴 global_write
Global write: ini_npcv
Impact: low
Show code
ini_npcv = ini_file_ex("dynamic_npc_armor_visuals.ltx")
L18 🔴 global_write
Global write: ini_death
Impact: low
Show code
ini_death = ini_file_ex("items\\settings\\death_outfits.ltx")
L75 🔴 global_write
Global write: item
Impact: low
Show code
item = nil
L76 🔴 global_write
Global write: item_prot
Impact: low
Show code
item_prot = 0
L80 🔴 global_write
Global write: itm_vis
Impact: low
Show code
itm_vis = ini_sys:r_string_ex(itm:section(),"npc_visual")
L81 🔴 global_write
Global write: itm_prot
Impact: low
Show code
itm_prot = get_visual_prot(itm_vis, itm)
L85 🔴 global_write
Global write: item
Impact: low
Show code
item = itm
L86 🔴 global_write
Global write: item_prot
Impact: low
Show code
item_prot = itm_prot
L89 🔴 global_write
Global write: item
Impact: low
Show code
item = itm
L90 🔴 global_write
Global write: item_prot
Impact: low
Show code
item_prot = itm_prot
L121 🔴 global_write
Global write: vis_path_list
Impact: low
Show code
vis_path_list = str_explode(vis, "\\")
L122 🔴 global_write
Global write: vis_name_list
Impact: low
Show code
vis_name_list = vis_path_list and str_explode(vis_path_list[#vis_path_list], "%.")
L133 🔴 global_write
Global write: ballistic
Impact: low
Show code
ballistic = utils_item.get_outfit_protection(item, outfit, "FireWound") + utils_item.get_outfit_protection(nil, helm, "FireWound")
L134 🔴 global_write
Global write: rupture
Impact: low
Show code
rupture = utils_item.get_outfit_protection(item, outfit, "Wound") + utils_item.get_outfit_protection(nil, helm, "Wound")
L135 🔴 global_write
Global write: explosion
Impact: low
Show code
explosion = utils_item.get_outfit_protection(item, outfit, "Explosion") + utils_item.get_outfit_protection(nil, helm, "Explosion")
L138 🔴 global_write
Global write: protection
Impact: low
Show code
protection = ini_npcv:r_float_ex("stat_weights","ballistic") * ballistic + ini_npcv:r_float_ex("stat_weights","rupture") * rupture + ini_npcv:r_float_ex("stat_weights","explosion") * explosion
L190 🔴 global_write
Global write: default_visuals
Impact: low
Show code
default_visuals = mdata.RAX_default_visuals or {}

218- Quick Companion Teleport (teleports rescue mission targets) - RazorShultz

1 file (🟢0 🟡0 🔴1 🔵0)

qcteleport_mcm.script

L38 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "qcteleport", sh= true , gr={

219- Combine all items (potential crash with some items) - Demonized

2 files (🟢0 🟡0 🔴0 🔵25)

combine_all_items.script

L49 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("item parent is undefined %s, %s", actor:name(), actor:section())
L54 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Combiner, all items are filled")
L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("item parent is undefined %s, %s", actor:name(), actor:section())
L111 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("old uses %s, new uses %s, diff %s", old_total_uses, total_uses, total_uses - old_total_uses)

custom_functor_autoinject.script

L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."*"..g_tostring(t))
L114 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(t).." {")
L116 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..string.rep(" ",#pos+6).."}")
L118 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(val))
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..g_tostring(t))
L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L145 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L152 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L154 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L158 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L321 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s", k, v.index)
L324 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s, max custom_functor reached", k, v.index)
L426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, processing queue")
L429 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, type %s", v.type)
L466 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid, min 1, max 10, your slot: %s", slot)
L481 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid min 1, max 10, your slot: %s", slot)
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[" .. k .. "] => ")

22- Agressor Reshade - Awene

2 files (🟢0 🟡0 🔴3 🔵0)

grok_gotta_go_fast.script

L10 🔴 global_write
Global write: run_coeff
Impact: low
Show code
run_coeff = grok_gotta_go_fast_mcm.get_config("gotta_go_fast_run")
L11 🔴 global_write
Global write: sprint_coeff
Impact: low
Show code
sprint_coeff = grok_gotta_go_fast_mcm.get_config("gotta_go_fast_sprint")

grok_gotta_go_fast_mcm.script

L12 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "gggf",sh=true ,gr={

220- Companions Inventory Unlock (enable only to clear your companions inventory from time to time) - RavenAscendant

2 files (🟢0 🟡0 🔴12 🔵0)

rax_persistent_highlight.script

L44 🔴 global_write
Global write: persistant_highlight
Impact: low
Show code
persistant_highlight = self:GetPersistantHighlight()
L47 🔴 global_write
Global write: color
Impact: low
Show code
color = main_clr and change_alpha(persistant_highlight, 255) or persistant_highlight -- if main_clr set the alpha to max for reasons.
L55 🔴 global_write
Global write: clr_cache
Impact: low
Show code
clr_cache = {}
L62 🔴 global_write
Global write: b
Impact: low
Show code
b = bit_band(clr, 255)
L63 🔴 global_write
Global write: g
Impact: low
Show code
g = bit_band(bit.rshift(clr, 8), 255)
L64 🔴 global_write
Global write: r
Impact: low
Show code
r = bit_band(bit.rshift(clr, 16), 255)

zz_companion_inventory_fix_mcm.script

L9 🔴 global_write
Global write: show_klep
Impact: low
Show code
show_klep = true
L10 🔴 global_write
Global write: show_all
Impact: low
Show code
show_all = false
L39 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "companion_inv" ,sh=true ,gr={
L51 🔴 global_write
Global write: axrbase
Impact: low
Show code
axrbase = axr_companions.is_assigned_item
L97 🔴 global_write
Global write: npc
Impact: low
Show code
npc = cell.container.owner.npc_id
L105 🔴 global_write
Global write: npc
Impact: low
Show code
npc = cell.container.owner.npc_id

222- Warfare A Life overhaul - Vintar0

16 files (🟢3 🟡6 🔴121 🔵282)

dialogs.script

L1000 🟡 string_concat_in_loop
String concat in loop: npc_text = npc_text .. x
Impact: critical
Show code
npc_text = npc_text .. " " .. game.translate_string("st_drx_questlines_and_this_one") .. " "
L439 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL storyline task started: " .. last_task_id) )
L449 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L468 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL change factions task started: " .. last_task_id) )
L476 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L494 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL mechanic task started: " .. last_task_id) )
L500 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L516 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL dynamic task started: " .. last_task_id) )
L522 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L540 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL simulation task started: " .. last_task_id) )
L549 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L555 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_hostage_giver_" .. giver_id .. " registered") )
L571 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL dynamic task started: " .. task_id) )
L576 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L590 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL simulation task started: " .. task_id) )
L595 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L1365 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Couldn't relocate money to NULL")
L1835 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Couldn't relocate money to NULL")
L80 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil
L176 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = task_section
L193 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = task_section
L210 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = task_section
L318 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = task_section
L328 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = task_section
L452 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil
L478 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil
L501 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil
L523 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil
L544 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil

faction_expansions.script

L19 🔴 global_write
Global write: faction
Impact: low
Show code
faction = {}
L20 🔴 global_write
Global write: level
Impact: low
Show code
level = {}
L21 🔴 global_write
Global write: mutant
Impact: low
Show code
mutant = {}
L22 🔴 global_write
Global write: mutant_tier_by_clsid
Impact: low
Show code
mutant_tier_by_clsid = {

game_relations.script

L638 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Npc not set in goodwill function!!!")
L655 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Npc not set in sympathy function!!!")
L660 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Applying new game relation [%s] between squad [%s] and npc [%s] !", new_goodwill, squad_id, "actor")
L664 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("there is no story squad with id [%s]", squad_id)
L673 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad [%s] in sim_board", squad_id)
L697 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad [%s] in sim_board", squad_id)
L712 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad [%s] in sim_board", squad_id)
L769 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such squad %s in board", tostring(squad_id))
L773 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(" squad_relation %s", tostring(squad.relationship))
L793 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such squad %s in board", tostring(squad_name))
L32 🔴 global_write
Global write: factions_table
Impact: low
Show code
factions_table = {"stalker","bandit","csky","dolg","freedom","killer","army","ecolog","monolith","renegade","greh","isg"}
L33 🔴 global_write
Global write: factions_table_all
Impact: low
Show code
factions_table_all = {"actor","bandit","dolg","ecolog","freedom","killer","army","monolith","monster","stalker","zombied","csky","renegade","greh","isg","trader","actor_stalker","actor_bandit","actor_dolg","actor_freedom","actor_csky","actor_ecolog","actor_killer","actor_army","actor_monolith","actor_renegade","actor_greh","actor_isg","actor_zombied","arena_enemy"}
L38 🔴 global_write
Global write: friend_limit
Impact: low
Show code
friend_limit = ini_r:r_float_ex ("controls" ,"friend_limit") or 4100
L39 🔴 global_write
Global write: enemy_limit
Impact: low
Show code
enemy_limit = ini_r:r_float_ex ("controls" ,"enemy_limit") or -5000
L44 🔴 global_write
Global write: default_sympathy
Impact: low
Show code
default_sympathy = 0.01
L45 🔴 global_write
Global write: game_relations_by_num
Impact: low
Show code
game_relations_by_num = { [0] = "friend",
L49 🔴 global_write
Global write: temp_goodwill_table
Impact: low
Show code
temp_goodwill_table = {}

sim_offline_combat.script

L147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% OCS | Battle in smart [%s]", smart:name())
L148 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("------------------------------------------------------------------------")
L159 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% OCS | Battle in smart [%s]", smart:name())
L160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("------------------------------------------------------------------------")
L175 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!!! TRYING TO REGISTER NON-SQUAD AS SQUAD")
L216 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("------------------------------------------------------------------------")
L227 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("------------------------------------------------------------------------")
L360 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- OCS | Combat Distance: %s - Execlude special characters: %s - Mutants included: %s", opt_dist, opt_exclude, can_fight_mutant)
L425 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% OCS | [%s] is special, [%s] is removed", squad_1:name(), squad_2:name())
L439 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% OCS | [%s] is special, [%s] is removed", squad_2:name(), squad_1:name())
L502 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ OCS | %s | Attacker [%s](Power: %s) vs Victim [%s](Power: %s) | Damage: %s",
L513 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! OCS | Squad gone [%s] | Moment: %s sec", squad_2:name(), math_ceil(time_global()/1000))
L532 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ OCS | Squad [%s] lost NPC [%s] | Remaining power: %s | Moment: %s sec", squad_2:name(), se_victim:name(), ocs_power[id_2], math_ceil(time_global()/1000))
L539 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! OCS | Squad gone [%s] | Moment: %s sec", squad_2:name(), math_ceil(time_global()/1000))
L56 🔴 global_write
Global write: task_squads
Impact: low
Show code
task_squads = {}
L58 🔴 global_write
Global write: story_id_communities
Impact: low
Show code
story_id_communities = {}
L59 🔴 global_write
Global write: ignore_list
Impact: low
Show code
ignore_list = {}
L60 🔴 global_write
Global write: stationary_squads
Impact: low
Show code
stationary_squads = {}
L63 🔴 global_write
Global write: ocs_power
Impact: low
Show code
ocs_power = {}
L64 🔴 global_write
Global write: opponents
Impact: low
Show code
opponents = {}
L65 🔴 global_write
Global write: squads_by_level
Impact: low
Show code
squads_by_level = {}
L144 🔴 global_write
Global write: in_combat
Impact: low
Show code
in_combat = validate_enemy(sim, lid_1, squad_1, id_1, id_t, community_1)
L156 🔴 global_write
Global write: in_combat
Impact: low
Show code
in_combat = validate_enemy(sim, lid_1, squad_1, id_1, id_2, community_1)
L760 🔴 global_write
Global write: task_squads
Impact: low
Show code
task_squads = m_data.offline_task_squads or {}

sim_squad_scripted.script

L604 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: npc section %s does not exist!",spawn_section)
L610 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("INCORRECT npc_spawn_section USED [%s]. You cannot use npc with custom_data in squads", spawn_section)
L689 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('spawn smart: %s', spawn_smart)
L725 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Spawning trader/mechanic/medic/barman, squad size changed to 1")
L748 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("You are trying to spawn an empty squad [%s]!!!", settings_id)
L874 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("squad community is 'nil' for player_id [%s]", self.player_id)
L12 🔴 global_write
Global write: dbg_map_hud
Impact: low
Show code
dbg_map_hud = false

sim_squad_warfare.script

L405 🟢 repeated_pda_section()
pda:section() called 4x in sim_squad_scripted.sim_squad_scripted.show
Impact: low
Show code
Cache pda:section() result
L71 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "squad_on_update: "..squad:name())
L80 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L127 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, squad:name())
L135 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!!! TRYING TO REGISTER NON-SQUAD AS SQUAD")
L141 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--- registering " .. squad:section_name() .. " with warfare")
L167 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(3, squad:name())
L199 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "squad_warfare_update: "..squad:name())
L250 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L317 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, squad:name())
L332 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L336 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "squad_on_npc_death: "..squad:name())
L360 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L366 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, self:name().." registered: "..tostring(self.registered_with_warfare))
L370 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, self:name())
L382 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, self:name())
L525 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(3, self:name())
L531 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, self:name())
L534 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, self:name())
L541 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, self:name())
L597 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, squad:name())
L648 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L654 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, squad:name())
L779 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L791 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, squad:name())
L829 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L838 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, squad:name())
L903 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L908 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, squad:name())
L922 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, squad:name())
L925 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("squad %s is from capture territory task, ignore it's target", squad:name())
L963 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L968 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, squad:name())
L991 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L21 🔴 global_write
Global write: printd
Impact: low
Show code
printd = warfare.printd
L22 🔴 global_write
Global write: dbg_map_hud
Impact: low
Show code
dbg_map_hud = false
L24 🔴 global_write
Global write: squad_icons
Impact: low
Show code
squad_icons = {

smart_terrain_warfare.script

L3571 🟡 string_concat_in_loop
String concat in loop: props = props .. x
Impact: critical
Show code
props = props .. " \\n" .. clr_b .. " \\n" .. str_wrfr[17] .. " \\n" .. clr_gr
L3730 🟡 string_concat_in_loop
String concat in loop: props = props .. x
Impact: critical
Show code
props = props .. " \\n" .. clr_b .. " \\n" .. str_wrfr[17] .. " \\n" .. clr_gr
L4428 🟡 string_concat_in_loop
String concat in loop: pName = pName .. x
Impact: critical
Show code
pName = pName.." ("..other:name()..")"
L278 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0)
L287 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L291 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "smart_terrain_on_update "..smart:name())
L350 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L392 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, smart:name())
L708 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L795 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L915 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s is mad that %s has stolen target %s from them! %s to relations", faction_1, faction_2, contested_smart:name(), penalty_value)
L968 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L971 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L1101 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sending %s %s squads from %s to attack %s", invasion_size, smart.owning_faction, smart:name(), target:name())
L1213 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, smart:name())
L1217 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "get_invasion_target "..(not smart and "nil" or smart:name()))
L1251 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L1319 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sending %s squad on base %s to empty terrain %s (requested by %s)", other.owning_faction, other:name(), target:name(), smart:name())
L1360 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sending %s squad on base %s to empty terrain %s", smart.owning_faction, smart:name(), target:name())
L1578 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("giving one %s squad at %s to invasion force prepping at %s", smart.owning_faction, smart:name(), other:name())
L1792 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sending %s reinforcement squad from %s to location under attack %s", defending_faction, other:name(), smart:name())
L1806 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("not enough %s reinforcements were available in the vicinity to sufficiently assist %s", defending_faction, smart:name())
L1808 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("no %s reinforcements were available in the area to assist %s", defending_faction, smart:name())
L1842 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("no %s reinforcements were available in the area to assist %s", defending_faction, smart:name())
L1905 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L1909 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L1929 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, smart:name())
L1944 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L1999 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L2046 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "find_patrol_target - smart: "..(not smart and "nil" or smart:name()).."squad: "..(not squad and "nil" or squad:name()))
L2146 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L2338 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of loners on base ".. smart:name() .. " to same-level resource: " ..target:name())
L2361 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of loners on base ".. smart:name() .. " to same-level lair: " ..target:name())
L2410 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of loners on base ".. smart:name() .. " to empty linked-level resource: " ..target:name())
L2417 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of loners on base ".. smart:name() .. " to occupied linked-level resource: " ..target:name())
L2459 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of loners on resource ".. smart:name() .. " to same-level resource: " ..target:name())
L2506 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of loners on resource ".. smart:name() .. " to empty linked-level resource: " ..target:name())
L2513 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of loners on resource ".. smart:name() .. " to occupied linked-level resource: " ..target:name())
L2539 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of loners on lair ".. smart:name() .. " to same-level lair: " ..target:name())
L2576 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of loners on ".. smart:name() .. " to same-level loner base: " ..target:name())
L2583 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of loners on ".. smart:name() .. " to same-level " .. target.owning_faction .. " base: " ..target:name())
L2624 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of loners on ".. smart:name() .. " to linked-level loner base: " ..target:name())
L2631 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of loners on ".. smart:name() .. " to linked-level " .. target.owning_faction .. " base: " ..target:name())
L2656 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of loners on ".. smart:name() .. " to same-level territory: " ..target:name())
L2721 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of ecologists at base ".. smart:name() .. " to same-level resource: " ..target:name())
L2750 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of ecologists at base ".. smart:name() .. " to linked-level resource: " ..target:name())
L2777 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of ecologists on resource ".. smart:name() .. " to same-level resource: " ..target:name())
L2805 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of ecologists on resource ".. smart:name() .. " to linked-level resource: " ..target:name())
L2874 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of ecologists on ".. smart:name() .. " to ecologist base: " ..target:name())
L2881 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of ecologists on ".. smart:name() .. " to same-level " .. target.owning_faction .. " base: " ..target:name())
L2888 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of ecologists on ".. smart:name() .. " to linked-level " .. target.owning_faction .. " base: " ..target:name())
L2911 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of ecologists on ".. smart:name() .. " to same-level territory: " ..target:name())
L2945 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L2949 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L2984 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("spawning %s on terrain %s which already had %s.", section, smart:name(), section)
L2996 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("spawning %s on empty terrain %s. There are now %s / %s mutant squads on that level", section, smart:name(), (mutants_on_level+1), max_active)
L3001 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, smart:name())
L3018 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L3082 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of mutants on ".. smart:name() .. " to linked-level target: " ..target:name())
L3110 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of mutants on ".. smart:name() .. " to same-level target: " ..target:name())
L3121 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L3161 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, self:name())
L3477 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, self:name())
L3482 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, self:name())
L3502 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, self:name())
L3506 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L3527 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L3532 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L3585 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L3590 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L3627 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L3633 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L3772 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L3781 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L3804 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L3817 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L3843 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L3852 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L3886 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L3897 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L3931 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L3937 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L3958 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L3991 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L4020 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("transferring control of " .. smart:name() .. " from " .. smart.owning_faction .. " to " .. faction)
L4119 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("resetting defense timer of base %s due to ownership change from %s to %s", smart:name(), previous_owner[smart.id], smart.owning_faction)
L4125 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("resetting defense timer of base %s due to ownership change from %s to %s", smart:name(), previous_owner[smart.id], smart.owning_faction)
L4137 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L4147 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L4217 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L4224 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "find_random_patrol_target: "..(smart and smart:name() or "spawn"))
L4340 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting target of %s random patrol to: %s", faction, target:name())
L4342 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("spawning %s random patrol on %s", faction, target:name())
L4352 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("spawning %s random patrol on %s", faction, target:name())
L4357 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L4364 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L4570 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L4763 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("moving %s squad on %s to %s, owned by %s", faction, smart:name(), other:name(), other.owning_faction)
L4769 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("moving %s squad on %s to %s, owned by %s", faction, smart:name(), other:name(), other.owning_faction)
L4798 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L4831 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, sm_name)
L4836 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(3, sm_name)
L4891 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("SPAWNED TRADER AT "..sm_name)
L4899 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("SPAWNED MECHANIC AT "..sm_name)
L4907 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("SPAWNED MEDIC AT "..sm_name)
L4915 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("SPAWNED BARMAN AT "..sm_name)
L4922 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(4, sm_name)
L40 🔴 global_write
Global write: printd
Impact: low
Show code
printd = warfare.printd
L42 🔴 global_write
Global write: hide_smarts
Impact: low
Show code
hide_smarts = false -- altered by pda_warfare.script
L47 🔴 global_write
Global write: point_cap_timers
Impact: low
Show code
point_cap_timers = {}
L48 🔴 global_write
Global write: smart_owners
Impact: low
Show code
smart_owners = {}
L49 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = nil
L50 🔴 global_write
Global write: dbg_hud
Impact: low
Show code
dbg_hud = false
L57 🔴 global_write
Global write: defense_timers
Impact: low
Show code
defense_timers = {}
L58 🔴 global_write
Global write: defense_next_update
Impact: low
Show code
defense_next_update = {}
L59 🔴 global_write
Global write: patrol_timers
Impact: low
Show code
patrol_timers = {}
L60 🔴 global_write
Global write: patrol_next_update
Impact: low
Show code
patrol_next_update = {}
L61 🔴 global_write
Global write: spawn_mutant_timers
Impact: low
Show code
spawn_mutant_timers = {}
L62 🔴 global_write
Global write: spawn_mutant_next_update
Impact: low
Show code
spawn_mutant_next_update = {}
L63 🔴 global_write
Global write: process_mutant_timers
Impact: low
Show code
process_mutant_timers = {}
L64 🔴 global_write
Global write: process_mutant_next_update
Impact: low
Show code
process_mutant_next_update = {}
L65 🔴 global_write
Global write: loner_timer
Impact: low
Show code
loner_timer = {}
L66 🔴 global_write
Global write: loners_next_update
Impact: low
Show code
loners_next_update = {}
L67 🔴 global_write
Global write: ecolog_timer
Impact: low
Show code
ecolog_timer = {}
L68 🔴 global_write
Global write: ecolog_next_update
Impact: low
Show code
ecolog_next_update = {}
L70 🔴 global_write
Global write: smart_terrain_distances
Impact: low
Show code
smart_terrain_distances = {} -- store distances when they get used. Save it in warfare.script to avoid lag spikes from continuously measuring distances between smart terrains
L71 🔴 global_write
Global write: under_attack
Impact: low
Show code
under_attack = {} -- when a smart is under attack, halt squad assignment from that smart until the threat has passed or the point has changed hands
L73 🔴 global_write
Global write: patrol_squads
Impact: low
Show code
patrol_squads = {}
L74 🔴 global_write
Global write: random_patrols
Impact: low
Show code
random_patrols = {}
L75 🔴 global_write
Global write: invasions
Impact: low
Show code
invasions = {}
L94 🔴 global_write
Global write: control_hold
Impact: low
Show code
control_hold = {}
L96 🔴 global_write
Global write: pda_icons
Impact: low
Show code
pda_icons = {
L408 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = nil
L497 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = { smart.id, game.get_game_time(), closest_base, targeting_squad, 1 }
L507 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = nil -- actor has attempted a manual capture beyond the capture distance - kill the attempt
L625 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = nil
L642 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = { smart.id, game.get_game_time(), }
L655 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = nil
L665 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = nil
L681 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = nil
L4008 🔴 global_write
Global write: owner
Impact: low
Show code
owner = "none"

tasks_assault.script

L219 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | assault_task_target_functor - var is nil", task_id)
L225 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | assault_task_target_functor - smart is nil", task_id)
L275 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | task failed because smart no longer available", task_id)
L288 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ %s | Faction [%s] is re-added to cache_assault_func table", task_id, params[i])
L303 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ %s | Faction [%s] is re-added to cache_assault_func table", task_id, fac)
L308 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | no enemy factions found",task_id)
L365 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | not enough parameters", task_id)
L389 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | status functor parameters are mising!", task_id)
L428 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | no enemy factions found", task_id)

tasks_smart_control.script

L182 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | assault_task_target_functor - var is nil", task_id)
L189 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | assault_task_target_functor - smart is nil", task_id)
L196 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | assault_task_target_functor - squad is nil", task_id)
L239 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ %s | Faction [%s] is re-added to cache_func table", task_id, params[i])
L254 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ %s | Faction [%s] is re-added to cache_func table", task_id, fac)
L259 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! %s | no enemy factions found",task_id)
L289 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | task failed because smart no longer available", task_id)
L320 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | not enough parameters", task_id)
L334 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | status functor parameters are mising!", task_id)
L376 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! %s | no enemy factions found", task_id)

ui_mm_faction_select.script

L1574 🟡 string_concat_in_loop
String concat in loop: str_stats = str_stats .. x
Impact: critical
Show code
str_stats = str_stats .. "%c[0,150,150,150] %c[0,50,175,50]" .. game.translate_string("st_faction_" .. k) .. "\\n"
L1734 🟡 string_concat_in_loop
String concat in loop: loadout_str = loadout_str .. x
Impact: critical
Show code
loadout_str = loadout_str .. "," .. ci.section
L366 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("giving psy helmet to Monolith/Sin/Zombied actor")
L1296 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sec: %s | points: %s | points left: %s", ci.section, points, self.points_left)

ui_options.script

L67 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L974 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Changed player name from (%s) to (%s)", curr_name, new_name)
L1162 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!Found nil option value [%s]", id)
L76 🔴 global_write
Global write: options
Impact: low
Show code
options = {}
L91 🔴 global_write
Global write: options
Impact: low
Show code
options = {

warfare.script

L73 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0)
L92 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L116 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "save_state")
L180 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Warfare state saved")
L181 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, "save_state")
L188 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "load_state")
L191 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L199 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2)
L224 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(3)
L238 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(4)
L250 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(5)
L258 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(6)
L266 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(7)
L269 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Finished loading Warfare state. Clearing old data")
L271 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, "load_state")
L278 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, squad:name())
L300 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L314 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "actor_on_update")
L404 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, "actor_on_update")
L408 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, "actor_on_update")
L465 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(3, "actor_on_update")
L500 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0)
L503 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("not warfare")
L514 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Warfare | Random starting locations")
L573 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("spawning initial mutants %s on terrain %s", section, smart:name())
L637 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("spawned %s on %s - pop cap is %s and squad count is %s", squad_section, smart:name(), round_idp(math.max(1,smart.max_population * stalker_pop_factor)), smart_current_pop + 1)
L642 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s is a unique squad - spawned on %s",squad_section, smart:name())
L658 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L706 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0)
L727 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L739 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2)
L745 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(3, actor_faction)
L753 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(5)
L793 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(6)
L870 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L916 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(faction)
L922 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "on_game_start")
L935 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, "on_game_start")
L966 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(str)
L1102 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Warfare is not loaded, unregistered warfare callbacks")
L51 🔴 global_write
Global write: warfare_debug
Impact: low
Show code
warfare_debug = true
L53 🔴 global_write
Global write: actor_faction
Impact: low
Show code
actor_faction = nil
L54 🔴 global_write
Global write: actor_influence_points
Impact: low
Show code
actor_influence_points = 0
L55 🔴 global_write
Global write: influence_levels
Impact: low
Show code
influence_levels = {} -- influence_levels[smart_terrain_id] = influence_level if > 0 or nil
L57 🔴 global_write
Global write: base_count
Impact: low
Show code
base_count = 0
L58 🔴 global_write
Global write: resource_count
Impact: low
Show code
resource_count = 0
L59 🔴 global_write
Global write: level_count
Impact: low
Show code
level_count = 32
L60 🔴 global_write
Global write: initialized
Impact: low
Show code
initialized = false
L63 🔴 global_write
Global write: all_out_war_applied
Impact: low
Show code
all_out_war_applied = false
L66 🔴 global_write
Global write: need_all_out_war_applied
Impact: low
Show code
need_all_out_war_applied = true
L67 🔴 global_write
Global write: dynamic_relations_installed
Impact: low
Show code
dynamic_relations_installed = false
L70 🔴 global_write
Global write: ignore
Impact: low
Show code
ignore = {}
L96 🔴 global_write
Global write: registered_squads
Impact: low
Show code
registered_squads = {
L184 🔴 global_write
Global write: loaded_squads
Impact: low
Show code
loaded_squads = false
L193 🔴 global_write
Global write: actor_influence_points
Impact: low
Show code
actor_influence_points = m_data.warfare and m_data.warfare.actor_influence_points or 0
L194 🔴 global_write
Global write: influence_levels
Impact: low
Show code
influence_levels = m_data.warfare and m_data.warfare.influence_levels or {}
L195 🔴 global_write
Global write: all_out_war_applied
Impact: low
Show code
all_out_war_applied = m_data.warfare and m_data.warfare.all_out_war_applied or false
L222 🔴 global_write
Global write: new_surge
Impact: low
Show code
new_surge = m_data.warfare and m_data.warfare.new_surge or true
L246 🔴 global_write
Global write: loaded_squads
Impact: low
Show code
loaded_squads = true
L329 🔴 global_write
Global write: actor_faction
Impact: low
Show code
actor_faction = get_actor_true_community() or sim:actor():community():sub(7)
L368 🔴 global_write
Global write: base_count
Impact: low
Show code
base_count = base_count + 1
L375 🔴 global_write
Global write: resource_count
Impact: low
Show code
resource_count = resource_count + smart.props.resource
L412 🔴 global_write
Global write: actor_faction
Impact: low
Show code
actor_faction = get_actor_true_community() or sim:actor():community():sub(7)
L419 🔴 global_write
Global write: dynamic_relations_installed
Impact: low
Show code
dynamic_relations_installed = true
L425 🔴 global_write
Global write: all_out_war_applied
Impact: low
Show code
all_out_war_applied = true
L472 🔴 global_write
Global write: initialized
Impact: low
Show code
initialized = true
L481 🔴 global_write
Global write: warfare_positions_filled
Impact: low
Show code
warfare_positions_filled = false
L537 🔴 global_write
Global write: ignore
Impact: low
Show code
ignore = sim_offline_combat.get_ignore_list()
L635 🔴 global_write
Global write: squad
Impact: low
Show code
squad = SIMBOARD:create_squad(smart,squad_section) -- common squads can't go over user-set cap
L640 🔴 global_write
Global write: squad
Impact: low
Show code
squad = SIMBOARD:create_squad(smart,squad_section) -- always make story squads
L728 🔴 global_write
Global write: start_pos
Impact: low
Show code
start_pos = {}
L737 🔴 global_write
Global write: actor_faction
Impact: low
Show code
actor_faction = alife():actor():community():sub(7)
L938 🔴 global_write
Global write: ignore
Impact: low
Show code
ignore = sim_offline_combat.get_ignore_list()
L946 🔴 global_write
Global write: info
Impact: low
Show code
info = debug.getinfo(2, "nS")

warfare_factions.script

L122 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, faction or "nil faction")
L312 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Resurgence of %s is underway, targeting %s with %s squads", faction, target:name(), target_pop)
L340 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(9, "true end")
L17 🔴 global_write
Global write: printd
Impact: low
Show code
printd = warfare.printd
L19 🔴 global_write
Global write: factions_p
Impact: low
Show code
factions_p = {}
L20 🔴 global_write
Global write: factions
Impact: low
Show code
factions = {
L37 🔴 global_write
Global write: all_factions
Impact: low
Show code
all_factions = {
L54 🔴 global_write
Global write: faction_information
Impact: low
Show code
faction_information = {}
L55 🔴 global_write
Global write: faction_timers
Impact: low
Show code
faction_timers = {}

warfare_monkeypatches.script

L4 🔴 global_write
Global write: old_anomaly_task_cond
Impact: low
Show code
old_anomaly_task_cond = xr_conditions.has_task_target_anomaly
L15 🔴 global_write
Global write: old_anomaly_task_effect
Impact: low
Show code
old_anomaly_task_effect = xr_effects.setup_task_target_anomaly
L44 🔴 global_write
Global write: old_ecolog_companion_task_2_complete_task
Impact: low
Show code
old_ecolog_companion_task_2_complete_task = dialogs_jupiter.ecolog_companion_task_2_complete_task

warfare_options.script

L199 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("end setup")
L232 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
warfare.printd(0, "get_random_start_location")
L250 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
warfare.printd(1, "get_random_start_location")
L20 🔴 global_write
Global write: options
Impact: low
Show code
options = {}
L234 🔴 global_write
Global write: start_table
Impact: low
Show code
start_table = {}
L248 🔴 global_write
Global write: start_location
Impact: low
Show code
start_location = start_table[math.random(#start_table)]

xr_logic.script

L769 🟢 table_insert_append
table.insert(lst[n][index], v) -> lst[n][index][#lst[n][index]+1] = v
Impact: high
Show code
table.insert(lst[n][index],{infop,1,(string_find(infop,"npcx_"))})
L771 🟢 table_insert_append
table.insert(lst[n][index], v) -> lst[n][index][#lst[n][index]+1] = v
Impact: high
Show code
table.insert(lst[n][index],{infop,2,(string_find(infop,"npcx_"))})
L110 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: object '%s' actual_ini=%s actual_ini_filename=%s %s=%s", npc:name(),actual_ini ~= nil,actual_ini_filename,section_logic,actual_ini and actual_ini:section_exist(section_logic))
L171 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("object '%s': section '%s': section 'active' has no conditionless else clause",npc:name(), section_logic)
L199 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("activate_by_section: INI is nil! npc=%s section=%s",npc and npc:name(),section)
L205 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: xr_logic: activate_by_section: loading field is nil, true or false expected")
L231 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: xr_logic: activate_by_section: section is NIL and NPC not in gulag.")
L245 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("object '%s': activate_by_section: section '%s' does not exist", npc:name(), section)
L250 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("object '%s': unable to determine scheme name from section name '%s'", npc:name(), section)
L254 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: %s trying to use a scheme not intended for stype scheme=%s stype=%s",npc:name(),scheme,db.storage[npc_id].stype)
L269 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: xr_logic: scheme '%s' is not registered in modules.script", scheme)
L273 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: xr_logic: can't call %s.set_scheme() - a nil value", filename)
L313 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: no scheme found in schemes table or scheme has no add_to_binder function! scheme = %s",scheme)
L338 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: subscribe_action_for_events storage is nil!")
L454 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("pick_section_from_condlist xr_conditions fail! obj=%s functor=%s",npc and npc:name(),infop[1])
L461 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("pick_section_from_condlist xr_conditions fail! obj=%s functor=%s",npc and npc:name(),infop[1])
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("pick_section_from_condlist xr_effects fail! obj=%s functor=%s",npc and npc:name(),infop[1])
L636 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("WARNING: object '%s': try_switch_to_another_section: unknown condition '%s' encountered",npc:name(), c.name)
L649 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("npc '%s': st.section is nil, active section is '%s'",npc:name(), utils_data.to_str(db.storage[npc:id()].active_section))
L724 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "wrong condlist" )
L807 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR!! xr_logic.parse_condlist npc=%s section=%s field=%s src=%s",npc and npc:name(),section,field,src)
L933 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("object '%s': section '%s': field '%s': there is no object with story_id '%s'",npc:name(), section, field, t.v1)
L1044 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("mob_capture: reset_actions parameter's value is not specified")
L1095 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_logic: pstor_save_all: not registered type '%s' encountered", tv)
L1147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_logic: pstor_load_all: not registered type '%s' encountered %s", tn,obj:name())
L1175 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("save_obj WARNING: db.storage is nil! %s",obj:name())
L1260 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1:get_customdata_or_ini_file %s file %s doesn't exist!",npc:name(),link_filename)
L1278 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("2:get_customdata_or_ini_file %s file %s doesn't exist!",npc:name(),filename)
L1311 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("set_new_scheme_and_logic npc is nil!")
L1323 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: set_new_scheme_and_logic: cannot find ini %s",ini_filename)
L50 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = st.ini:r_line(spawn_items_section,i,"","")
L773 🔴 global_write
Global write: a
Impact: low
Show code
a = string_find(infop,"(",1,true)
L775 🔴 global_write
Global write: b
Impact: low
Show code
b = string_find(infop,")",1,true)

223- Fluid Relations - Favkis_Nexerade

1 file (🟢0 🟡0 🔴7 🔵10)

game_relations.script

L682 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Npc not set in goodwill function!!!")
L699 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Npc not set in sympathy function!!!")
L704 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Applying new game relation [%s] between squad [%s] and npc [%s] !", new_goodwill, squad_id, "actor")
L708 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("there is no story squad with id [%s]", squad_id)
L717 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad [%s] in sim_board", squad_id)
L741 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad [%s] in sim_board", squad_id)
L756 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad [%s] in sim_board", squad_id)
L813 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such squad %s in board", tostring(squad_id))
L817 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(" squad_relation %s", tostring(squad.relationship))
L837 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such squad %s in board", tostring(squad_name))
L33 🔴 global_write
Global write: factions_table
Impact: low
Show code
factions_table = {"stalker","bandit","csky","dolg","freedom","killer","army","ecolog","monolith","renegade","greh","isg"}
L34 🔴 global_write
Global write: factions_table_all
Impact: low
Show code
factions_table_all = {"actor","bandit","dolg","ecolog","freedom","killer","army","monolith","monster","stalker","zombied","csky","renegade","greh","isg","trader","actor_stalker","actor_bandit","actor_dolg","actor_freedom","actor_csky","actor_ecolog","actor_killer","actor_army","actor_monolith","actor_renegade","actor_greh","actor_isg","actor_zombied","arena_enemy"}
L40 🔴 global_write
Global write: friend_limit
Impact: low
Show code
friend_limit = ini_r:r_float_ex ("controls" ,"friend_limit") or 4100
L41 🔴 global_write
Global write: enemy_limit
Impact: low
Show code
enemy_limit = ini_r:r_float_ex ("controls" ,"enemy_limit") or -5000
L46 🔴 global_write
Global write: default_sympathy
Impact: low
Show code
default_sympathy = 0.01
L47 🔴 global_write
Global write: game_relations_by_num
Impact: low
Show code
game_relations_by_num = { [0] = "friend",
L51 🔴 global_write
Global write: temp_goodwill_table
Impact: low
Show code
temp_goodwill_table = {}

225- Placeable Campfires - xcvb

3 files (🟢1 🟡0 🔴6 🔵7)

campfire_placeable.script

L49 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("tbl is empty || .level_name is now: %s", prev_level.level_name)
L51 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("tbl is not empty")
L53 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(".level_name is not equal curr_level")
L59 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Object deleted (id): %s", se_obj.id)
L76 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("obj: %s is not campfire or doesnt fit CZoneCampfire class", obj:section())
L232 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s degraded for: %s %", sec, degr_for * 100)
L244 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Time spent on chopping wood: %s Minutes", minutes)
L267 🔴 global_write
Global write: NameCustom
Impact: low
Show code
NameCustom = ui_inventory.UIInventory.Name_Custom
L284 🔴 global_write
Global write: ActionCustom
Impact: low
Show code
ActionCustom = ui_inventory.UIInventory.Action_Custom
L428 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

campfire_placeable_mcm.script

L14 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "campfire_placeable",sh=true ,gr={

trader_autoinject.script

L182 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

227- Increased Companions Distance - Dhatri

2 files (🟢0 🟡0 🔴10 🔵0)

axr_beh.script

L9 🔴 global_write
Global write: beh_evid
Impact: low
Show code
beh_evid = 188111
L10 🔴 global_write
Global write: beh_actid
Impact: low
Show code
beh_actid = 188111

xr_companion.script

L13 🔴 global_write
Global write: beh_walk_simple
Impact: low
Show code
beh_walk_simple = 0
L14 🔴 global_write
Global write: beh_walk_near
Impact: low
Show code
beh_walk_near = 1
L15 🔴 global_write
Global write: beh_walk_ignore
Impact: low
Show code
beh_walk_ignore = 2
L16 🔴 global_write
Global write: beh_wait_simple
Impact: low
Show code
beh_wait_simple = 3
L17 🔴 global_write
Global write: beh_wait_near
Impact: low
Show code
beh_wait_near = 4
L18 🔴 global_write
Global write: beh_wait_ignore
Impact: low
Show code
beh_wait_ignore = 5
L161 🔴 global_write
Global write: desired_direction
Impact: low
Show code
desired_direction = vector_rotate_y(actor:direction(), math.random(50,60) )
L169 🔴 global_write
Global write: desired_direction
Impact: low
Show code
desired_direction = vector_rotate_y(actor:direction(), -math.random(50,60) )

230- Repair Bonuses in Details Window - Demonized

1 file (🟢0 🟡0 🔴0 🔵4)

zz_ui_itm_details_repair_bonuses.script

L25 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
local dumped = string.dump(fn)
L43 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("calling override ui_itm_details.UIItemSheet.Reset")
L46 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Super function ui_itm_details.UIItemSheet.Reset called")
L124 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('Repair part %s has supported repair kits', useable_material)

231- More Aggressive NPC Looting (harder game, do not use with NPC Loot Claim) - Demonized

2 files (🟢0 🟡0 🔴6 🔵4)

xr_corpse_detection.script

L296 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("C Stack Overflow Prevention: warning xr_corpse_detection scheme making repeated calls without return; save now and reload!")
L630 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: xr_corpse_detection: no action id p[%s]",i)
L637 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: xr_corpse_detection: reset_generic_scheme storage is nil! npc=%s scheme=%s section=%s",npc and npc:name(),scheme,section)
L11 🔴 global_write
Global write: lootable_table
Impact: low
Show code
lootable_table = nil
L139 🔴 global_write
Global write: lootable_table
Impact: low
Show code
lootable_table = get_loot_table(ini)
L502 🔴 global_write
Global write: look_pos
Impact: low
Show code
look_pos = corpse and utils_obj.safe_bone_pos(corpse,"bip01_spine") or self.a.vertex_position

zz_npc_loot_claim_softcore.script

L8 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(error_or_result)
L15 🔴 global_write
Global write: claimed_monsters
Impact: low
Show code
claimed_monsters = {}
L83 🔴 global_write
Global write: ui_inventory_start
Impact: low
Show code
ui_inventory_start = ui_inventory.start
L138 🔴 global_write
Global write: fdda_monster_use
Impact: low
Show code
fdda_monster_use = enhanced_animations.monster_on_actor_use

233- AUGmented Weapon Pack - Firebreath

2 files (🟢2 🟡0 🔴3 🔵0)

augmented_trader_inject.script

L43 🟢 repeated_npc_section()
npc:section() called 5x in spawn_augmented
Impact: low
Show code
Cache npc:section() result
L64 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

trader_autoinject.script

L181 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

234- Dynamic Anomalies Overhaul - Demonized

10 files (🟢2 🟡0 🔴75 🔵136)

demonized_concurrent_queues.script

L50 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s is not table, abort", queue_table)
L55 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("queue %s is already active, abort", queue_name)
L46 🔴 global_write
Global write: active_queues
Impact: low
Show code
active_queues = {}

demonized_time_events.script

L36 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L39 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L41 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L46 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L48 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L52 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L54 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L59 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L61 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("refreshing time events")

drx_da_main.script

L2027 🟢 repeated_obj_section()
obj:section() called 4x in <global>
Impact: low
Show code
Cache obj:section() result
L82 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."*"..g_tostring(t))
L88 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(t).." {")
L90 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..string.rep(" ",#pos+6).."}")
L92 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(val))
L96 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..g_tostring(t))
L109 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(error_or_result)
L163 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("snd is nil")
L196 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("current_time %s, adding effect %s", time_elapsed, time_elapsed + (timer or 0))
L210 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
effect_function = effect_function and dump(effect_function),
L215 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
on_end_function = on_end_function and dump(on_end_function),
L266 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("removing effect, key %s", key)
L268 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("removing effect, firing on end, key %s", key)
L285 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("removing effect, effect timer %s, current_time %s", props.timer, time_elapsed)
L309 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("registering callback %s, key %s", callback, key)
L316 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("unregistering callback %s, %s", key, callbacks[key].callback)
L585 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("removed restriction %s for level %s", se_obj:name(), se_obj_level)
L651 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("adding anomaly %s to smart %s", se_obj:section_name(), smart_name)
L682 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("disabling anomaly %s, %s, level %s", g_obj:section(), g_obj:id(), level_name)
L700 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("enabling anomaly %s, %s, level %s", g_obj:section(), g_obj:id(), level_name)
L717 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, object is not an anomaly, %s, %s, on level %s", obj:section_name(), obj.id, level_name)
L721 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("removing anomaly object %s, %s, on level %s", obj:section_name(), obj.id, level_name)
L790 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, can't remove old anomaly %s, level %s, in restriction", anom_id, level_name)
L799 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("old anomalies already cleaned on level %s", level_name)
L807 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, updated_anomaly_levels table not found for %s", level_name)
L829 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, can't remove anomaly %s, level %s, in restriction", t[i], level_name)
L834 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Anomalies cleaned on level %s", level_name)
L883 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Deleting anomaly %s, %s globally, level %s", se_obj:section_name(), v1, k)
L887 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, object is not an anomaly, %s, %s, on level %s", se_obj:section_name(), v1, k)
L904 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("can't delete anomaly %s globally, level %s, in restriction", v1, k)
L925 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, can't remove old anomaly %s, level %s, in restriction", anom_id, k)
L934 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("old anomalies already cleaned on level %s", k)
L938 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Cleaned dynamic anomalies globally")
L952 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Unable to create dynamic anomaly field for %s, the specified smart location does not exist", smart_name)
L968 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Dynamic anomaly field %s spawned at %s, level %s", anomaly_type, smart_name, level_name)
L972 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: failed to generate position")
L980 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("ltx file not found: %s", level_file_name)
L987 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Dynamic anomalies not spawned, spawn chance is 0")
L994 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Dynamic anomalies not spawned, max anomaly count is 0")
L1001 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Dynamic anomalies not spawned, max active count is 0")
L1024 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, unable to get data for %s", level_name)
L1073 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("disable all new anomalies, found section %s", v)
L1084 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("anomaly %s is not enabled", v)
L1127 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("picked anomaly type %s", anomaly_type)
L1162 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No dynamic anomaly types specified for level %s", level_name)
L1165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("no anomalies spawn on smart %s, level %s in restriction", smart_name, level_name)
L1210 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, anomaly %s failed to spawn correctly, releasing", anom_type)
L1224 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Unable to spawn dynamic anomaly")
L1231 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Unable to set dynamic anomaly properties")
L1338 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Unable to generate positional data, specified smart location does not exist")
L1398 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Anomaly type %s, Position data valid, distance %s, saving %s, %s, %s", anomaly_type, distance, pos_x, pos_y, pos_z)
L1402 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Anomaly type %s, Position data invalid, too close, distance %s, %s, %s, %s", anomaly_type, distance, pos_x, pos_y, pos_z)
L1406 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Anomaly type %s, Can't check position data %s, %s, %s", anomaly_type, pos_x, pos_y, pos_z)
L1412 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Anomaly type %s, Position data provided, saving %s, %s, %s", anomaly_type, pos_x, pos_y, pos_z)
L1424 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Unable to generate valid lvid pos, aborting")
L1442 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("releasing artefact %s, sec %s, level_name %s", k, v, level_name)
L1453 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Unable to create artefact %s, is nil", picked_artefact)
L1460 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Unable to create artefact for %s, the specified smart location does not exist", smart_name)
L1479 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Artefact %s, id %s spawned at %s, level %s", picked_artefact, artefact.id, smart_name, level_name)
L1483 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: failed to generate position")
L1493 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, unable to get data for %s", level_name)
L1520 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s has smarts with anomalies, try to spawn artefacts", level_name)
L1524 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("checking smart %s for spawning artefacts", smart_name)
L1526 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("try to spawn artefacts on smart %s", smart_name)
L1532 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("artefacts dice roll %s, chance %s, spawn %s", dice_roll, chance, dice_roll <= chance)
L1550 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("picking artefact by level %s, anomaly zone %s has defined arty list", level_name, anomaly_type)
L1553 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("picking artefact by level %s", level_name)
L1558 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("artefact is not allowed to spawn, repicking")
L1564 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("picking random artefacts")
L1569 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("failed to pick artefact by level, pick random from allowed, level_name %s, anomaly_type %s, has artefacts_map_tiers %s, has anomaly_type_to_artefacts %s", level_name, anomaly_type, artefacts_map_tiers ~= nil, anomaly_type_to_artefacts[anomaly_type] ~= nil)
L1587 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("picked artefact to spawn %s, anomaly_type %s, smart %s level %s", picked_artefact, anomaly_type, smart_name, level_name)
L1592 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("error, unabled to spawn artefact %s, anomaly_type %s, smart %s level %s", picked_artefact, anomaly_type, smart_name, level_name)
L1600 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s has no smarts with anomalies, dont spawn artefacts", level_name)
L1609 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Cannot update anomalies, db.actor not available")
L1616 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Cannot update anomalies, surge manager not available")
L1629 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, failed to spawn anomalies")
L1634 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("updated anomalies on level %s", level_name)
L1643 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("anomalies not updated on level %s, no emission happened, last_surge_time %s, level update time %s", level_name, last_surge_time, updated_anomaly_levels[level_name].time)
L1663 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("saved level %s, current level %s", alife_storage_manager.get_state().drx_da_previous_level, level.name())
L1673 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("on the same level, only register behaviour")
L1699 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("anomalies updated, unregistering")
L1715 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("anomalies behaviour, anomalies not found for level %s", level_name)
L1727 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("anomalies behaviour, turning on behaviour for level %s", level_name)
L1978 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("trying to spawn poltergeist")
L2872 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("surge happened globally at %s", last_surge_time)
L2873 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("update on level %s after emission", level.name())
L2880 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("surge happened globally at %s", get_time_elapsed())
L2881 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("update artefacts on level %s after emission", level.name())
L2893 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("taken created artefact %s, id %s, level_name %s", updated_anomaly_levels[level_name].artefacts[id], id, level_name)
L2907 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("change_time")
L2996 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("flash got hit %s", monster:section())
L3115 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("saving previous_level")
L3186 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("article not found for %s", section)
L3192 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("article already opened for %s", section)
L3198 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("youre too stupid for article boy")
L3253 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("time resetted for %s", k)
L3255 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("last_surge_time is 0")
L3273 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, unable to get data for %s", level_name)
L3294 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, unable to get data for %s", level_name)
L3324 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("picked anomaly type %s", anomaly_type)
L3340 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No dynamic anomaly types specified for level %s", level_name)
L3343 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("no anomalies spawn on smart %s, level %s in restriction", smart_name, level_name)
L3370 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("anomalies updated after surge on level %s", level_name)
L3409 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Deleting anomaly %s, %s globally, level %s", se_obj:section_name(), v1, k)
L3413 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, object is not an anomaly, %s, %s, on level %s", se_obj:section_name(), v1, k)
L3430 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("can't delete anomaly %s globally, level %s, in restriction", v1, k)
L3451 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, can't remove old anomaly %s, level %s, in restriction", anom_id, k)
L3460 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("old anomalies already cleaned on level %s", k)
L3493 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Cleaned dynamic anomalies globally")
L194 🔴 global_write
Global write: timed_effects
Impact: low
Show code
timed_effects = {}
L295 🔴 global_write
Global write: callbacks
Impact: low
Show code
callbacks = {}
L358 🔴 global_write
Global write: reduced_chance_levels
Impact: low
Show code
reduced_chance_levels = {
L372 🔴 global_write
Global write: anomaly_radii
Impact: low
Show code
anomaly_radii = {
L413 🔴 global_write
Global write: updated_anomaly_levels
Impact: low
Show code
updated_anomaly_levels = {}
L414 🔴 global_write
Global write: last_surge_time
Impact: low
Show code
last_surge_time = 0
L1287 🔴 global_write
Global write: small_levels
Impact: low
Show code
small_levels = {
L1293 🔴 global_write
Global write: anomalies_distance_check_ignore
Impact: low
Show code
anomalies_distance_check_ignore = {
L1313 🔴 global_write
Global write: anomalies_radiation_fields
Impact: low
Show code
anomalies_radiation_fields = {
L1708 🔴 global_write
Global write: anomalies_do_not_register_behaviour
Impact: low
Show code
anomalies_do_not_register_behaviour = {
L1768 🔴 global_write
Global write: anomalies_pos_tree
Impact: low
Show code
anomalies_pos_tree = nil
L1769 🔴 global_write
Global write: detectable_anomalies_pos_tree
Impact: low
Show code
detectable_anomalies_pos_tree = nil
L1770 🔴 global_write
Global write: detectable_anomalies_ids
Impact: low
Show code
detectable_anomalies_ids = {}
L1771 🔴 global_write
Global write: anomalies_obj_to_pos
Impact: low
Show code
anomalies_obj_to_pos = {}
L1772 🔴 global_write
Global write: anomalies_sec_to_obj
Impact: low
Show code
anomalies_sec_to_obj = {}
L1774 🔴 global_write
Global write: common_sec
Impact: low
Show code
common_sec = {
L1852 🔴 global_write
Global write: detectable_anomalies_pos_tree
Impact: low
Show code
detectable_anomalies_pos_tree = kd_tree.buildTreeSeObjectIds(t)
L1874 🔴 global_write
Global write: anomalies_vars
Impact: low
Show code
anomalies_vars = {
L1911 🔴 global_write
Global write: condition
Impact: low
Show code
condition = function() return true end
L1913 🔴 global_write
Global write: condition
Impact: low
Show code
condition = function() return false end
L1930 🔴 global_write
Global write: condition
Impact: low
Show code
condition = function() return true end
L1932 🔴 global_write
Global write: condition
Impact: low
Show code
condition = function() return false end
L1955 🔴 global_write
Global write: anomalies_near_actor_radii
Impact: low
Show code
anomalies_near_actor_radii = {
L1964 🔴 global_write
Global write: anomalies_near_actor_functions
Impact: low
Show code
anomalies_near_actor_functions = {
L2268 🔴 global_write
Global write: pda_glitch_value
Impact: low
Show code
pda_glitch_value = clamp(mine_factor ^ 0.5, 0, 1)
L2270 🔴 global_write
Global write: pda_glitch_value
Impact: low
Show code
pda_glitch_value = nil
L2335 🔴 global_write
Global write: pda_glitch_value
Impact: low
Show code
pda_glitch_value = clamp(mine_factor ^ 0.5, 0, 1)
L2337 🔴 global_write
Global write: pda_glitch_value
Impact: low
Show code
pda_glitch_value = nil
L2357 🔴 global_write
Global write: anomalies_spawn_functions
Impact: low
Show code
anomalies_spawn_functions = {
L2442 🔴 global_write
Global write: anomalies_destroy_functions
Impact: low
Show code
anomalies_destroy_functions = {
L2452 🔴 global_write
Global write: anomaly_detector_ignore
Impact: low
Show code
anomaly_detector_ignore = {
L2570 🔴 global_write
Global write: detector_functions
Impact: low
Show code
detector_functions = {
L2654 🔴 global_write
Global write: bind_anomaly_field_spawn
Impact: low
Show code
bind_anomaly_field_spawn = bind_anomaly_field.anomaly_field_binder.net_spawn
L2741 🔴 global_write
Global write: bind_anomaly_field_destroy
Impact: low
Show code
bind_anomaly_field_destroy = bind_anomaly_field.anomaly_field_binder.net_destroy
L2771 🔴 global_write
Global write: bind_anomaly_field_update
Impact: low
Show code
bind_anomaly_field_update = bind_anomaly_field.anomaly_field_binder.update
L2821 🔴 global_write
Global write: pda_glitch_value
Impact: low
Show code
pda_glitch_value = nil
L2822 🔴 global_write
Global write: process_glitch
Impact: low
Show code
process_glitch = item_device.device_binder.process_glitch
L2830 🔴 global_write
Global write: process_flicker
Impact: low
Show code
process_flicker = item_device.device_binder.process_flicker
L2835 🔴 global_write
Global write: process_torch
Impact: low
Show code
process_torch = item_device.device_binder.process_torch
L2870 🔴 global_write
Global write: last_surge_time
Impact: low
Show code
last_surge_time = get_time_elapsed()
L2903 🔴 global_write
Global write: anomalies_hit_functions
Impact: low
Show code
anomalies_hit_functions = {
L2992 🔴 global_write
Global write: anomalies_monster_hit_functions
Impact: low
Show code
anomalies_monster_hit_functions = {
L3018 🔴 global_write
Global write: npc_on_near_anomalies_functions
Impact: low
Show code
npc_on_near_anomalies_functions = {
L3081 🔴 global_write
Global write: timed_effects
Impact: low
Show code
timed_effects = t
L3083 🔴 global_write
Global write: last_surge_time
Impact: low
Show code
last_surge_time = m_data.drx_da_last_surge_time or 0
L3084 🔴 global_write
Global write: updated_anomaly_levels
Impact: low
Show code
updated_anomaly_levels = m_data.drx_da_updated_anomaly_levels or {}
L3085 🔴 global_write
Global write: opened_articles
Impact: low
Show code
if m_data.drx_da_opened_articles then opened_articles = m_data.drx_da_opened_articles end
L3162 🔴 global_write
Global write: additional_articles_to_category
Impact: low
Show code
additional_articles_to_category = {
L3178 🔴 global_write
Global write: opened_articles
Impact: low
Show code
opened_articles = {
L3232 🔴 global_write
Global write: InitArticles
Impact: low
Show code
InitArticles = ui_pda_encyclopedia_tab.pda_encyclopedia_tab.InitArticles
L3250 🔴 global_write
Global write: last_surge_time
Impact: low
Show code
last_surge_time = 0

drx_da_main_artefacts.script

L11 🔴 global_write
Global write: allowed_artefacts
Impact: low
Show code
allowed_artefacts = (function() -- Allowed artefacts to spawn
L120 🔴 global_write
Global write: artefacts_map_chances
Impact: low
Show code
artefacts_map_chances = {
L138 🔴 global_write
Global write: artefacts_map_tiers
Impact: low
Show code
artefacts_map_tiers = {
L1877 🔴 global_write
Global write: anomaly_type_to_artefacts
Impact: low
Show code
anomaly_type_to_artefacts = {

drx_da_main_artefacts_movement.script

L53 🔴 global_write
Global write: artefact_ids_to_way
Impact: low
Show code
artefact_ids_to_way = table_nexter({})
L55 🔴 global_write
Global write: spawn_artefact_on_smart
Impact: low
Show code
spawn_artefact_on_smart = drx_da_main.spawn_artefact_on_smart
L67 🔴 global_write
Global write: clean_artefacts_on_level
Impact: low
Show code
clean_artefacts_on_level = drx_da_main.clean_artefacts_on_level
L183 🔴 global_write
Global write: artefact_ids_to_way
Impact: low
Show code
artefact_ids_to_way = m_data.dao_artefact_movement

drx_da_main_mcm.script

L140 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("DRX DA preset %s not found", p)
L2 🔴 global_write
Global write: new_anomalies_sections
Impact: low
Show code
new_anomalies_sections = {
L16 🔴 global_write
Global write: variations_anomalies_sections
Impact: low
Show code
variations_anomalies_sections = {
L27 🔴 global_write
Global write: presets
Impact: low
Show code
presets = {
L66 🔴 global_write
Global write: op_id
Impact: low
Show code
op_id = "drx_da"
L67 🔴 global_write
Global write: op_preset_id
Impact: low
Show code
op_preset_id = "presets"
L69 🔴 global_write
Global write: op
Impact: low
Show code
op = {
L190 🔴 global_write
Global write: MCM_Callback_List
Impact: low
Show code
MCM_Callback_List = ui_mcm.UIMCM.Callback_List

drx_da_main_traders.script

L1 🔴 global_write
Global write: get_param
Impact: low
Show code
get_param = utils_item.SYS_GetParam
L11 🔴 global_write
Global write: trade_table
Impact: low
Show code
trade_table = {
L40 🔴 global_write
Global write: spawn_chance
Impact: low
Show code
spawn_chance = 1
L73 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

new_game_loadout_injector_mcm.script

L78 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loadout Injector: " .. str, ...)
L82 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Loadout Injector: ERROR, " .. str, ...)
L109 🔴 global_write
Global write: loadout_items
Impact: low
Show code
loadout_items = {}
L112 🔴 global_write
Global write: loadout_removed_items
Impact: low
Show code
loadout_removed_items = {}

thirst_sleep_changer.script

L4 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(str, ...)
L52 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("thirst not enabled, nothing changed")
L71 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("thirst changed by %s%", perc)
L76 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("sleep not enabled, nothing changed")
L95 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("sleep changed by %s%", perc)
L100 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("thirst not enabled, nothing changed")
L119 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("thirst changed by %s%", perc * 0.1)
L124 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("sleep not enabled, nothing changed")
L143 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("sleep changed by %s%", perc * 0.1)
L148 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("thirst not enabled, nothing changed")
L167 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("thirst changed by %s%", perc * 0.01)
L172 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("sleep not enabled, nothing changed")
L191 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("sleep changed by %s%", perc * 0.01)

trader_autoinject.script

L184 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

235- Weapon Cover Tilt - Demonized

7 files (🟢1 🟡0 🔴8 🔵11)

demonized_time_events.script

L36 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L39 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L41 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L46 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L48 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L52 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L54 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L59 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L61 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("refreshing time events")

weapon_cover_tilt.script

L859 🟢 repeated_wpn_section()
wpn:section() called 7x in actor_on_update
Impact: low
Show code
Cache wpn:section() result
L436 🔴 global_write
Global write: not_pistol_sec
Impact: low
Show code
not_pistol_sec = {
L443 🔴 global_write
Global write: wpn_kind_adjustment_table
Impact: low
Show code
wpn_kind_adjustment_table = {
L1264 🔴 global_write
Global write: actor_is_safemode
Impact: low
Show code
actor_is_safemode = xr_conditions.actor_is_safemode

weapon_cover_tilt_gun_trigger_radii.script

L5 🔴 global_write
Global write: weapon_trigger_radii
Impact: low
Show code
weapon_trigger_radii = {

weapon_cover_tilt_gun_trigger_radii_fire_bone.script

L3 🔴 global_write
Global write: weapon_trigger_radii
Impact: low
Show code
weapon_trigger_radii = {

weapon_cover_tilt_mcm.script

L1 🔴 global_write
Global write: op
Impact: low
Show code
op = {

weapon_cover_tilt_positions.script

L11 🔴 global_write
Global write: weapon_positions
Impact: low
Show code
weapon_positions = {
L21 🔴 global_write
Global write: weapon_offsets
Impact: low
Show code
weapon_offsets = {

weapon_cover_tilt_rattle.script

L17 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("snd is nil")

236- 1st Person Visible Body Ported from SWM - Wang_Laoshi & SWM Team

4 files (🟢0 🟡3 🔴93 🔵2)

_u.script

L208 🟡 string_concat_in_loop
String concat in loop: result = result .. x
Impact: critical
Show code
result = result..g_tostring(line).."\n"
L217 🟡 string_concat_in_loop
String concat in loop: result = result .. x
Impact: critical
Show code
result = result..g_tostring(p1)
L228 🟡 string_concat_in_loop
String concat in loop: result = result .. x
Impact: critical
Show code
result = result..g_tostring(p1)..", "..g_tostring(p2)
L170 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("SWMtrue")
L208 🔴 global_write
Global write: result
Impact: low
Show code
result = result..g_tostring(line).."\n"
L210 🔴 global_write
Global write: result
Impact: low
Show code
result = result..g_tostring(line).." = "
L217 🔴 global_write
Global write: result
Impact: low
Show code
result = result..g_tostring(p1)
L220 🔴 global_write
Global write: result
Impact: low
Show code
result = result..", "..g_tostring(p1)
L228 🔴 global_write
Global write: result
Impact: low
Show code
result = result..g_tostring(p1)..", "..g_tostring(p2)
L231 🔴 global_write
Global write: result
Impact: low
Show code
result = result..", "..g_tostring(p1)..", "..g_tostring(p2)
L235 🔴 global_write
Global write: result
Impact: low
Show code
result = result.."\n"
L237 🔴 global_write
Global write: result
Impact: low
Show code
result = result..g_tostring(t_Param).."\n"

se_legs.script

L5 🔴 global_write
Global write: LegsTbl
Impact: low
Show code
LegsTbl = {}

swm_legs.script

L968 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("legs object %s with id %s released",sec,id)
L37 🔴 global_write
Global write: idle_sound
Impact: low
Show code
idle_sound = ""
L38 🔴 global_write
Global write: enable_idle_anims
Impact: low
Show code
enable_idle_anims = true
L39 🔴 global_write
Global write: idle_anim_min_cooldown
Impact: low
Show code
idle_anim_min_cooldown = 3000
L40 🔴 global_write
Global write: idle_anim_max_cooldown
Impact: low
Show code
idle_anim_max_cooldown = 120000
L41 🔴 global_write
Global write: idle_anim_name
Impact: low
Show code
idle_anim_name = ""
L42 🔴 global_write
Global write: tmr_a
Impact: low
Show code
tmr_a = 0
L43 🔴 global_write
Global write: idle_cooldown
Impact: low
Show code
idle_cooldown = 3000
L44 🔴 global_write
Global write: idle_play_time
Impact: low
Show code
idle_play_time = 2000
L45 🔴 global_write
Global write: idle_anim_random
Impact: low
Show code
idle_anim_random = 0
L46 🔴 global_write
Global write: idle_tm
Impact: low
Show code
idle_tm = 1499
L47 🔴 global_write
Global write: last_idle_tm
Impact: low
Show code
last_idle_tm = 2003
L48 🔴 global_write
Global write: can_play
Impact: low
Show code
can_play = false
L49 🔴 global_write
Global write: idle_pause_rnd
Impact: low
Show code
idle_pause_rnd = 0
L164 🔴 global_write
Global write: visual_armor_upg_supported
Impact: low
Show code
visual_armor_upg_supported = {
L782 🔴 global_write
Global write: materials
Impact: low
Show code
materials = {"wood", "earth", "metal", "water", "tin", "grass", "gravel", "asphalt"}
L783 🔴 global_write
Global write: dirty_materials
Impact: low
Show code
dirty_materials = {["earth"] = 5, ["water"] = 10, ["grass"] = 5, ["gravel"] = 10}
L784 🔴 global_write
Global write: current_mat
Impact: low
Show code
current_mat = "default"
L793 🔴 global_write
Global write: current_mat
Impact: low
Show code
current_mat = val
L796 🔴 global_write
Global write: current_mat
Impact: low
Show code
current_mat = "default"
L980 🔴 global_write
Global write: dir_rgt_mod
Impact: low
Show code
dir_rgt_mod = dir_rgt_mod + 0.01
L984 🔴 global_write
Global write: dir_rgt_mod
Impact: low
Show code
dir_rgt_mod = dir_rgt_mod - 0.01
L1013 🔴 global_write
Global write: model_name
Impact: low
Show code
model_name = ""
L1014 🔴 global_write
Global write: model_name_armorupg
Impact: low
Show code
model_name_armorupg = ""
L1026 🔴 global_write
Global write: model_name
Impact: low
Show code
model_name = SYS_GetParam(0, sec .. "_legs", "visual") .. '.ogf'
L1028 🔴 global_write
Global write: model_name
Impact: low
Show code
model_name = "sm\\actor_legs\\no_outfit.ogf" -- default if no section
L1033 🔴 global_write
Global write: model_name_armorupg
Impact: low
Show code
model_name_armorupg = SYS_GetParam(0, sec .. "_legs_hd_armorupg", "visual") .. '.ogf'
L1036 🔴 global_write
Global write: model_name
Impact: low
Show code
model_name = SYS_GetParam(0, sec .. "_legs_hd", "visual") .. '.ogf'
L1040 🔴 global_write
Global write: model_name
Impact: low
Show code
model_name = SYS_GetParam(0, sec .. "_legs_hd", "visual") .. '.ogf'
L1042 🔴 global_write
Global write: model_name
Impact: low
Show code
model_name = "sm\\actor_legs\\no_outfit_hd.ogf" -- default hd if no section
L1144 🔴 global_write
Global write: toggle_turn_step_sound_exo
Impact: low
Show code
toggle_turn_step_sound_exo = swm_legs_mcm.get_config("toggle_turn_step_sound_exo") turn_step_sound_volume = swm_legs_mcm.get_config("turn_step_sound_volume")
L1146 🔴 global_write
Global write: enable_idle_anims
Impact: low
Show code
enable_idle_anims = swm_legs_mcm.get_config("enable_idle_anims")
L1147 🔴 global_write
Global write: idle_anim_min_cooldown
Impact: low
Show code
idle_anim_min_cooldown = swm_legs_mcm.get_config("idle_anim_min_cooldown") * 1000
L1148 🔴 global_write
Global write: idle_anim_max_cooldown
Impact: low
Show code
idle_anim_max_cooldown = swm_legs_mcm.get_config("idle_anim_max_cooldown") * 1000
L1149 🔴 global_write
Global write: use_combat_state
Impact: low
Show code
use_combat_state = swm_legs_mcm.get_config("use_combat_state") or true
L1150 🔴 global_write
Global write: use_special_noncombat_shift
Impact: low
Show code
use_special_noncombat_shift = swm_legs_mcm.get_config("use_special_noncombat_shift")
L1151 🔴 global_write
Global write: use_slow_down_state
Impact: low
Show code
use_slow_down_state = swm_legs_mcm.get_config("use_slow_down_state")
L1154 🔴 global_write
Global write: visual_upg_enabled
Impact: low
Show code
visual_upg_enabled = swm_legs_mcm.get_config("visual_upg_enabled")
L1155 🔴 global_write
Global write: enable_debug_warnings
Impact: low
Show code
enable_debug_warnings = swm_legs_mcm.get_config("enable_debug_warnings")
L1161 🔴 global_write
Global write: idle_pause_rnd
Impact: low
Show code
idle_pause_rnd = math.random(idle_anim_min_cooldown, idle_anim_max_cooldown)
L1227 🔴 global_write
Global write: blood_cnt
Impact: low
Show code
blood_cnt = blood_cnt + 1
L1247 🔴 global_write
Global write: anim_name
Impact: low
Show code
anim_name = AnimTable_NonCombat[body_flag] or "leg_stand_idle"
L1249 🔴 global_write
Global write: anim_name
Impact: low
Show code
anim_name = AnimTable_SlowedDown[body_flag] or "lancew_legs_idle"
L1251 🔴 global_write
Global write: anim_name
Impact: low
Show code
anim_name = AnimTable_Basic[body_flag] or "lancew_legs_idle"
L1257 🔴 global_write
Global write: can_play
Impact: low
Show code
can_play = false
L1259 🔴 global_write
Global write: idles_time
Impact: low
Show code
idles_time = {
L1266 🔴 global_write
Global write: idle_sound
Impact: low
Show code
idle_sound = sound_object("gear_rustle\\tac_gear_" .. math.random(1,8))
L1272 🔴 global_write
Global write: anim_name
Impact: low
Show code
anim_name = "legs_stand_" .. idle_anim_random
L1273 🔴 global_write
Global write: idle_tm
Impact: low
Show code
idle_tm = idles_time[anim_name] or 2000
L1285 🔴 global_write
Global write: can_play
Impact: low
Show code
can_play = true
L1286 🔴 global_write
Global write: idle_anim_random
Impact: low
Show code
idle_anim_random = math.random(1,3)
L1289 🔴 global_write
Global write: tmr_a
Impact: low
Show code
tmr_a = tg + idle_tm
L1299 🔴 global_write
Global write: can_play
Impact: low
Show code
can_play = false
L1300 🔴 global_write
Global write: tmr_a
Impact: low
Show code
tmr_a = tg + idle_pause_rnd
L1305 🔴 global_write
Global write: can_play
Impact: low
Show code
can_play = false
L1374 🔴 global_write
Global write: dirt_cnt
Impact: low
Show code
dirt_cnt = dirt_cnt + 1
L1377 🔴 global_write
Global write: dirt_cnt
Impact: low
Show code
dirt_cnt = 0
L1415 🔴 global_write
Global write: legs_visual
Impact: low
Show code
legs_visual = SYS_GetParam(0, LEGS_SECTION, "visual")
L1425 🔴 global_write
Global write: pos
Impact: low
Show code
pos = dev.cam_pos
L1427 🔴 global_write
Global write: angle_down
Impact: low
Show code
angle_down = cdir.y
L1428 🔴 global_write
Global write: distance_H2B
Impact: low
Show code
distance_H2B = dev.cam_pos:distance_to(db.actor:position())
L1432 🔴 global_write
Global write: body_flag
Impact: low
Show code
body_flag = level.actor_moving_state()
L1437 🔴 global_write
Global write: body_flag
Impact: low
Show code
body_flag = body_flag - numb
L1442 🔴 global_write
Global write: anim_name
Impact: low
Show code
anim_name = get_anim_type(body_flag) or "lancew_legs_idle"
L1443 🔴 global_write
Global write: idle_allowed
Impact: low
Show code
idle_allowed = enable_idle_anims and (body_flag == 0 or body_flag == 32) and is_calm_state() and angle_down <= -0.65
L1478 🔴 global_write
Global write: dir_fwd
Impact: low
Show code
dir_fwd = vector():setHP(dev.cam_top:getH(), 0)
L1480 🔴 global_write
Global write: dir_fwd
Impact: low
Show code
dir_fwd = db.actor:direction()
L1483 🔴 global_write
Global write: dir_fwd
Impact: low
Show code
dir_fwd = vector():setHP(dev.cam_dir:getH(), 0)
L1488 🔴 global_write
Global write: dir_rgt
Impact: low
Show code
dir_rgt = vector():setHP(dev.cam_right:getH(), 0)
L1490 🔴 global_write
Global write: dir_fwd_mod
Impact: low
Show code
dir_fwd_mod = DISTANCE_MOD_FWD_NONCOMBAT
L1492 🔴 global_write
Global write: dir_fwd_mod
Impact: low
Show code
dir_fwd_mod = DISTANCE_MOD_FWD
L1494 🔴 global_write
Global write: dir_rgt_mod
Impact: low
Show code
dir_rgt_mod = DISTANCE_MOD_RGT
L1503 🔴 global_write
Global write: dir_fwd_mod
Impact: low
Show code
dir_fwd_mod = shift_tbl.fwd
L1506 🔴 global_write
Global write: dir_rgt_mod
Impact: low
Show code
dir_rgt_mod = shift_tbl.rgt
L1512 🔴 global_write
Global write: dir_fwd_mod
Impact: low
Show code
dir_fwd_mod = shift_visual_tbl.fwd
L1515 🔴 global_write
Global write: dir_rgt_mod
Impact: low
Show code
dir_rgt_mod = shift_visual_tbl.rgt
L1521 🔴 global_write
Global write: dir_fwd_mod
Impact: low
Show code
dir_fwd_mod = shift_prone_tbl.fwd
L1524 🔴 global_write
Global write: dir_rgt_mod
Impact: low
Show code
dir_rgt_mod = shift_prone_tbl.rgt
L1530 🔴 global_write
Global write: dir_rgt_mod
Impact: low
Show code
dir_rgt_mod = dir_rgt_mod - 0.2
L1532 🔴 global_write
Global write: dir_rgt_mod
Impact: low
Show code
dir_rgt_mod = dir_rgt_mod + 0.15
L1537 🔴 global_write
Global write: pos
Impact: low
Show code
pos = pos:add(dir_fwd:mul(dir_fwd_mod))
L1538 🔴 global_write
Global write: pos
Impact: low
Show code
pos = pos:add(dir_rgt:mul(dir_rgt_mod))
L1573 🔴 global_write
Global write: anim_name
Impact: low
Show code
anim_name = self.turnAnim
L1619 🔴 global_write
Global write: anim_name
Impact: low
Show code
anim_name = self.turnAnim

swm_legs_mcm.script

L3 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "swm_legs",sh=true ,gr={

237- Bizon Replacer - Blackgrowl

2 files (🟢0 🟡0 🔴3 🔵0)

grok_gotta_go_fast.script

L10 🔴 global_write
Global write: run_coeff
Impact: low
Show code
run_coeff = grok_gotta_go_fast_mcm.get_config("gotta_go_fast_run")
L11 🔴 global_write
Global write: sprint_coeff
Impact: low
Show code
sprint_coeff = grok_gotta_go_fast_mcm.get_config("gotta_go_fast_sprint")

grok_gotta_go_fast_mcm.script

L12 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "gggf",sh=true ,gr={

240- Anomaly's Name Update for Stalkers ANUS - Grulag

1 file (🟢0 🟡2 🔴0 🔵1)

ui_mm_faction_select.script

L1534 🟡 string_concat_in_loop
String concat in loop: str_stats = str_stats .. x
Impact: critical
Show code
str_stats = str_stats .. "%c[0,150,150,150] %c[0,50,175,50]" .. game.translate_string("st_faction_" .. k) .. "\\n"
L1708 🟡 string_concat_in_loop
String concat in loop: loadout_str = loadout_str .. x
Impact: critical
Show code
loadout_str = loadout_str .. "," .. ci.section
L1258 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sec: %s | points: %s | points left: %s", ci.section, points, self.points_left)

244- Weird Tasks Framework - Igigog

2 files (🟢0 🟡0 🔴3 🔵0)

grok_gotta_go_fast.script

L10 🔴 global_write
Global write: run_coeff
Impact: low
Show code
run_coeff = grok_gotta_go_fast_mcm.get_config("gotta_go_fast_run")
L11 🔴 global_write
Global write: sprint_coeff
Impact: low
Show code
sprint_coeff = grok_gotta_go_fast_mcm.get_config("gotta_go_fast_sprint")

grok_gotta_go_fast_mcm.script

L12 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "gggf",sh=true ,gr={

245- Hideout Furniture - Aoldri

17 files (🟢1 🟡1 🔴56 🔵16)

aol_bbox.script

L4 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("aol_bbox_collision: " .. ...)

aol_bshape.script

L1 🔴 global_write
Global write: last_gizmo_id
Impact: low
Show code
last_gizmo_id = 696969
L2 🔴 global_write
Global write: color_colliding
Impact: low
Show code
color_colliding = fcolor():set(1,0,0,1)
L3 🔴 global_write
Global write: color_not_colliding
Impact: low
Show code
color_not_colliding = fcolor():set(0,1,0,1)
L4 🔴 global_write
Global write: color_not_colliding_front
Impact: low
Show code
color_not_colliding_front = fcolor():set(0.25,1,0.75,1)
L5 🔴 global_write
Global write: color_contact
Impact: low
Show code
color_contact = fcolor():set(1,1,0,1)
L6 🔴 global_write
Global write: color_side
Impact: low
Show code
color_side = fcolor():set(0.5,0.5,0.5,1)

arm.script

L20 🔴 global_write
Global write: p_width
Impact: low
Show code
p_width = parent_width or 1024
L21 🔴 global_write
Global write: p_center
Impact: low
Show code
p_center = p_width/2
L22 🔴 global_write
Global write: width
Impact: low
Show code
width = ele:GetWidth()
L23 🔴 global_write
Global write: pos
Impact: low
Show code
pos = ele:GetWndPos()
L24 🔴 global_write
Global write: anchorpos
Impact: low
Show code
anchorpos = {}
L28 🔴 global_write
Global write: ratio
Impact: low
Show code
ratio = (device().height / device().width) / (768 / 1024)
L29 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = anchorpos.left
L32 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = p_width - (p_width - (anchor and anchorpos[anchor] or anchorpos.left))*ratio
L34 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = p_center - (p_center - (anchor and anchorpos[anchor] or anchorpos.left))*ratio
L36 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = ratio * (anchor and anchorpos[anchor] or anchorpos.left)
L48 🔴 global_write
Global write: States
Impact: low
Show code
States = {
L56 🔴 global_write
Global write: State2Suffix
Impact: low
Show code
State2Suffix = {
L74 🔴 global_write
Global write: State2Colour
Impact: low
Show code
State2Colour = {

bind_hf_base.script

L1 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string

bind_light_furniture.script

L19 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string

hf_map_objects.script

L140 🔴 global_write
Global write: spawned_objects
Impact: low
Show code
spawned_objects = {}
L143 🔴 global_write
Global write: id_to_spawn_id
Impact: low
Show code
id_to_spawn_id = {}
L230 🔴 global_write
Global write: spawned_objects
Impact: low
Show code
spawned_objects = m_data.spawned_objects or spawned_objects

hf_obj_manager.script

L29 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("print_data(id):"..id)
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("no data")
L36 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("index:"..index..", datum:"..datum)

placeable_furniture.script

L7 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("placeable_furniture: " .. ...)
L1 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L28 🔴 global_write
Global write: states
Impact: low
Show code
states = {
L36 🔴 global_write
Global write: align_states
Impact: low
Show code
align_states = {
L40 🔴 global_write
Global write: align_state
Impact: low
Show code
align_state = align_states.ACTOR
L69 🔴 global_write
Global write: transition_functors
Impact: low
Show code
transition_functors = {
L383 🔴 global_write
Global write: align_state
Impact: low
Show code
align_state = align_states.SURFACE
L386 🔴 global_write
Global write: align_state
Impact: low
Show code
align_state = align_states.ACTOR
L458 🔴 global_write
Global write: physic_section
Impact: low
Show code
physic_section = ini_sys:r_string_ex(obj:section(), "placeable_section")
L736 🔴 global_write
Global write: RadialGUI
Impact: low
Show code
RadialGUI = nil
L864 🔴 global_write
Global write: RadialGUI
Impact: low
Show code
RadialGUI = create_interact_gui()

placeable_items_trade.script

L52 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

placeable_radio.script

L61 🔴 global_write
Global write: wthr
Impact: low
Show code
wthr = gini:r_string_ex(levels[i],"weathers")

stash_capacities.script

L4 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("stash_capacities: " .. ...)
L31 🔴 global_write
Global write: inventory_update
Impact: low
Show code
inventory_update = ui_inventory.UIInventory.UpdateWeight
L46 🔴 global_write
Global write: inventory_reset
Impact: low
Show code
inventory_reset = ui_inventory.UIInventory.Reset
L65 🔴 global_write
Global write: item
Impact: low
Show code
item = self:CheckItem(id)
L67 🔴 global_write
Global write: item_weight
Impact: low
Show code
item_weight = item:weight()

trader_autoinject.script

L187 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L41 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

ui_furniture_piano.script

L441 🟡 string_concat_in_loop
String concat in loop: file_data = file_data .. x
Impact: critical
Show code
file_data = file_data .. data
L1 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string

ui_furniture_workshop.script

L80 🔴 global_write
Global write: workshop_ui_ref
Impact: low
Show code
workshop_ui_ref = ui_workshop.get_workshop_ui(nil, nil, {false,false,false,false,false}, false)

weapon_showcase.script

L1 🔴 global_write
Global write: weapon_displays
Impact: low
Show code
weapon_displays = {}
L2 🔴 global_write
Global write: weapon_display_slots
Impact: low
Show code
weapon_display_slots = {}
L27 🔴 global_write
Global write: valid_actor_bags
Impact: low
Show code
valid_actor_bags = {
L32 🔴 global_write
Global write: valid_stash
Impact: low
Show code
valid_stash = {}
L34 🔴 global_write
Global write: valid_display_kind
Impact: low
Show code
valid_display_kind = {}
L269 🔴 global_write
Global write: weapon_displays
Impact: low
Show code
weapon_displays = m_data.weapon_displays or {}
L270 🔴 global_write
Global write: weapon_display_slots
Impact: low
Show code
weapon_display_slots = m_data.weapon_display_slots or {}

workshop_autoinject.script

L193 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | section [%s] not found!",id)
L262 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! workshop_craft_ui:LoadRecipes() | section [%s] not found!",id)
L323 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! Workshop UI craft | componenet section [%s] not found for [%s] recipe!", g_tostring(t[3]), id)
L331 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[5]), id)
L339 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[7]), id)
L347 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[9]), id)
L366 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! Workshop UI craft | componenet section [%s] not found for [%s] recipe!", g_tostring(t[3]), id)
L374 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[5]), id)
L382 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[7]), id)
L390 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[9]), id)

zzz_workshop_return_items.script

L1 🔴 global_write
Global write: item_ids
Impact: low
Show code
item_ids = {}
L2 🔴 global_write
Global write: stash_id
Impact: low
Show code
stash_id = nil
L15 🔴 global_write
Global write: item_ids
Impact: low
Show code
item_ids = {}
L16 🔴 global_write
Global write: stash_id
Impact: low
Show code
stash_id = nil
L19 🔴 global_write
Global write: ui_workshop_UIWorkshop_Close
Impact: low
Show code
ui_workshop_UIWorkshop_Close = ui_workshop.UIWorkshop.Close

245- Hideout Furniture 1.2.0 - Aoldri

13 files (🟢1 🟡1 🔴22 🔵13)

aol_bbox.script

L4 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("aol_bbox_collision: " .. ...)

bind_light_furniture.script

L4 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string

bind_piano_furniture.script

L4 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string

bind_workshop_furniture.script

L5 🔴 global_write
Global write: curBoxID
Impact: low
Show code
curBoxID = nil
L6 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L12 🔴 global_write
Global write: curBoxID
Impact: low
Show code
curBoxID = pid

placeable_furniture.script

L5 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("placeable_furniture: " .. ...)
L1 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L40 🔴 global_write
Global write: conditions
Impact: low
Show code
conditions = {}

placeable_items_trade.script

L241 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

placeable_radio.script

L61 🔴 global_write
Global write: wthr
Impact: low
Show code
wthr = gini:r_string_ex(levels[i],"weathers")

stash_capacities.script

L4 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("stash_capacities: " .. ...)
L31 🔴 global_write
Global write: inventory_update
Impact: low
Show code
inventory_update = ui_inventory.UIInventory.UpdateWeight
L46 🔴 global_write
Global write: inventory_reset
Impact: low
Show code
inventory_reset = ui_inventory.UIInventory.Reset
L65 🔴 global_write
Global write: item
Impact: low
Show code
item = self:CheckItem(id)
L67 🔴 global_write
Global write: item_weight
Impact: low
Show code
item_weight = item:weight()

trader_autoinject.script

L182 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

ui_furniture_piano.script

L439 🟡 string_concat_in_loop
String concat in loop: file_data = file_data .. x
Impact: critical
Show code
file_data = file_data .. data
L1 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string

ui_furniture_workshop.script

L128 🔴 global_write
Global write: workshop_ui_ref
Impact: low
Show code
workshop_ui_ref = ui_workshop.get_workshop_ui(_ui1, nil, {false,false,false,false,false}, false)

workshop_autoinject.script

L193 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | section [%s] not found!",id)
L262 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! workshop_craft_ui:LoadRecipes() | section [%s] not found!",id)
L323 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! Workshop UI craft | componenet section [%s] not found for [%s] recipe!", g_tostring(t[3]), id)
L331 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[5]), id)
L339 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[7]), id)
L347 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[9]), id)
L366 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! Workshop UI craft | componenet section [%s] not found for [%s] recipe!", g_tostring(t[3]), id)
L374 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[5]), id)
L382 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[7]), id)
L390 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[9]), id)

zzz_workshop_return_items.script

L1 🔴 global_write
Global write: item_ids
Impact: low
Show code
item_ids = {}
L2 🔴 global_write
Global write: stash_obj_id
Impact: low
Show code
stash_obj_id = nil
L15 🔴 global_write
Global write: item_ids
Impact: low
Show code
item_ids = {}
L16 🔴 global_write
Global write: stash_obj_id
Impact: low
Show code
stash_obj_id = nil
L19 🔴 global_write
Global write: ui_workshop_UIWorkshop_Close
Impact: low
Show code
ui_workshop_UIWorkshop_Close = ui_workshop.UIWorkshop.Close

246- Gunslinger Controller Suicide - Demonized

1 file (🟢0 🟡0 🔴0 🔵5)

gunslinger_controller.script

L5 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_G.printf("Gunslinger Controller: " .. s, ...)
L12 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(error_or_result)
L104 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('bisect, lo must be non-negative')
L484 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("boom shakalaka")
L558 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("adding controller %s", obj:name())

248- Night Mutants - xcvb

1 file (🟢0 🟡0 🔴0 🔵5)

night_mutants.script

L145 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("delete_mutants (xcvb mutants): squad id: %s deleted || sec: %s", t[idx], squad:section_name())
L151 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! not squad, remove from table (xcvb mutants): obj id: %s || sec: %s", t[idx], squad:section_name())
L166 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("server_entity_on_unregister (xcvb mutants): squad_id: %s || sec: %s", t[idx], mutant_squad and mutant_squad:section_name() or "")
L180 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("squad_on_npc_death (xcvb mutants): squad_id: %s || sec: %s", t[idx], mutant_squad and mutant_squad:section_name() or "")
L248 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)

249- Backpack Icons - DeadEnvoy

1 file (🟢0 🟡0 🔴3 🔵3)

aaa_rax_icon_override_mcm.script

L22 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "RAX: | %s | "..text ,time_global(), ...)
L367 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | XML_box or XML_temp doesn't exist")
L375 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | section [%s] doesn't exist in system ini", sec)
L18 🔴 global_write
Global write: icon_override
Impact: low
Show code
icon_override = ini_file_ex("icon_override\\icon_override.ltx")
L540 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(a_sec,1)
L555 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(b_sec,1)

252- Tooltip in Corner - RavenAscendant

1 file (🟢0 🟡0 🔴1 🔵0)

zzzz_rax_move_tooltip.script

L28 🔴 global_write
Global write: curPos
Impact: low
Show code
curPos = GetCursorPosition()

253- Attach Patches with hotkey - Demonized

1 file (🟢0 🟡0 🔴1 🔵1)

patches_by_hotkey_mcm.script

L3 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(text, ...)
L35 🔴 global_write
Global write: op
Impact: low
Show code
op = {

254- Better RF Receiver sound - Coverdrave

3 files (🟢0 🟡0 🔴90 🔵4)

TB_RF_Receiver_Packages.script

L820 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--- Loading TBs_RF_Receiver_Hidden_Package_Sidequests_v1.8 ---")
L848 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--- Cleaning v1.5 package queue for v1.6 | Queue size was: %s, is now: %s ---",tb_queue_num,#tb_package_queue)
L863 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! --------------------------------------------------\n! ERROR!\n! SOMETHING HAS REMOVED THE PACKAGE FROM THE GAME!\n! Please post the following information to tweaki_breeki on moddb!\n! tb_target_item is %s\n! tb_package_active is %s\n! tb_package_in_level is %s\n! #tb_package_queue is %s\n! tb_target_lvid is %s\n! tb_target_gvid is %s\n! --------------------------------------------------",tb_target_item,tb_package_active,tb_package_in_level,#tb_package_queue,tb_target_lvid,tb_target_gvid)
L26 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L27 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = false
L28 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = false
L29 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = "empty"
L30 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = "empty"
L31 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = 0
L32 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = "empty"
L33 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L34 🔴 global_write
Global write: tb_tg_scan
Impact: low
Show code
tb_tg_scan = 0
L35 🔴 global_write
Global write: tb_device
Impact: low
Show code
tb_device = "detector_radio"
L36 🔴 global_write
Global write: tb_relation_diff
Impact: low
Show code
tb_relation_diff = 250
L38 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = 0
L39 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = 0
L40 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = 0
L41 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = false
L42 🔴 global_write
Global write: tb_tg_badguys
Impact: low
Show code
tb_tg_badguys = 0
L44 🔴 global_write
Global write: tb_previous_level
Impact: low
Show code
tb_previous_level = "empty"
L46 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L49 🔴 global_write
Global write: tb_relations
Impact: low
Show code
tb_relations = {
L65 🔴 global_write
Global write: tb_maybe_badguys
Impact: low
Show code
tb_maybe_badguys = {
L81 🔴 global_write
Global write: tb_factions
Impact: low
Show code
tb_factions = {"army", "bandit", "csky", "dolg", "ecolog", "freedom", "greh", "isg", "killer", "monolith", "renegade", "stalker"}
L83 🔴 global_write
Global write: tb_cut_factions
Impact: low
Show code
tb_cut_factions = {"army", "bandit", "csky", "dolg", "ecolog", "freedom", "killer", "renegade", "stalker"}
L85 🔴 global_write
Global write: tb_homebases
Impact: low
Show code
tb_homebases = {"l03_agroprom", "l04_darkvalley", "k00_marsh", "l05_bar", "l08_yantar", "l07_military", "l10_red_forest", "pripyat", "l09_deadcity", "l11_pripyat", "k00_marsh", "l01_escape"}
L88 🔴 global_write
Global write: tb_package_queue
Impact: low
Show code
tb_package_queue = {}
L91 🔴 global_write
Global write: tb_allmaps
Impact: low
Show code
tb_allmaps = {
L129 🔴 global_write
Global write: tb_package_coords
Impact: low
Show code
tb_package_coords = {
L617 🔴 global_write
Global write: tb_extraloot
Impact: low
Show code
tb_extraloot = {
L634 🔴 global_write
Global write: tb_extraupgrades
Impact: low
Show code
tb_extraupgrades = {
L724 🔴 global_write
Global write: tb_junks
Impact: low
Show code
tb_junks = {
L759 🔴 global_write
Global write: tb_copy_of_itms_manager
Impact: low
Show code
tb_copy_of_itms_manager = itms_manager.use_package_random
L772 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = tb_bonus_items - 1
L847 🔴 global_write
Global write: tb_package_queue
Impact: low
Show code
tb_package_queue = tb_new_queue
L875 🔴 global_write
Global write: tb_tg_badguys
Impact: low
Show code
tb_tg_badguys = tg + 2000
L880 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = true
L902 🔴 global_write
Global write: tb_tg_scan
Impact: low
Show code
tb_tg_scan = tg + tb_scan_time
L919 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = tb_relations[tb_factions[i]][2]
L924 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = true
L942 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = tb_relations[tb_factions[i]][2]
L943 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = game.translate_string("tb_sooner_rf")
L946 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = true
L969 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = true
L973 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L977 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L986 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = tb_package_queue[1][2]
L1000 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = chosenmap
L1011 🔴 global_write
Global write: tb_previous_level
Impact: low
Show code
tb_previous_level = chosenmap
L1020 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = rfreq
L1026 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = se_obj.id
L1027 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = rlvid
L1028 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = rgvid
L1031 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = true
L1033 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = game.translate_string("tb_dont_forget") .. " " .. game.translate_string(rlocat) .. " " .. game.translate_string(rplace) .. game.translate_string("tb_freq_was_on") .. " " .. g_tostring(rfreq) .. game.translate_string("tb_the_mhz")
L1037 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1040 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1099 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 1000
L1110 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 2000
L1121 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 3000
L1131 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L1148 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = false
L1149 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = false
L1150 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L1151 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L1152 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = "empty"
L1153 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = "empty"
L1154 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L1168 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = 0
L1170 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = tb_bonus_items + 1
L1200 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = m_data.tb_target_item
L1201 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = m_data.tb_sufficient_passed
L1202 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = m_data.tb_package_active
L1203 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = m_data.tb_reminder
L1204 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = m_data.tb_package_in_level
L1205 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = m_data.tb_freq
L1206 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = m_data.tb_sender_icon
L1207 🔴 global_write
Global write: tb_relations
Impact: low
Show code
tb_relations = m_data.tb_relations
L1208 🔴 global_write
Global write: tb_package_queue
Impact: low
Show code
tb_package_queue = m_data.tb_package_queue
L1211 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = m_data.tb_target_lvid
L1212 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = m_data.tb_target_gvid
L1213 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = m_data.tb_bonus_items
L1214 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = m_data.tb_badguy_spawned
L1217 🔴 global_write
Global write: tb_previous_level
Impact: low
Show code
tb_previous_level = m_data.tb_previous_level

item_radio.script

L144 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("item_radio | " .. fmt, ...)
L96 🔴 global_write
Global write: tb_flash_time
Impact: low
Show code
tb_flash_time = 0
L97 🔴 global_write
Global write: tb_in_range
Impact: low
Show code
tb_in_range = false
L98 🔴 global_write
Global write: tb_sound_object
Impact: low
Show code
tb_sound_object = false
L135 🔴 global_write
Global write: RF_stashes
Impact: low
Show code
RF_stashes = {} -- stored stashes with RF source
L136 🔴 global_write
Global write: RF_targets
Impact: low
Show code
RF_targets = {} -- stored specific targets with RF source
L312 🔴 global_write
Global write: refresh
Impact: low
Show code
refresh = true -- require sounds update
L599 🔴 global_write
Global write: RF_stashes
Impact: low
Show code
RF_stashes = m_data.RF_stashes or {}
L600 🔴 global_write
Global write: RF_targets
Impact: low
Show code
RF_targets = m_data.RF_targets or {}

reworked_rf_receiver_mcm.script

L6 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "reworked_rf_receiver",sh=true ,gr={

255- Coffee in the Zone - sticknou

3 files (🟢1 🟡0 🔴6 🔵0)

coffee_drink.script

L82 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update
L163 🔴 global_write
Global write: SpawnCosmetics
Impact: low
Show code
SpawnCosmetics = death_manager.spawn_cosmetics

ground_coffee.script

L82 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update
L163 🔴 global_write
Global write: SpawnCosmetics
Impact: low
Show code
SpawnCosmetics = death_manager.spawn_cosmetics

trader_autoinject.script

L182 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

257- Zone Customization Project (ZCP) - Diphenhydramine-HCl

15 files (🟢2 🟡7 🔴33 🔵59)

bind_anomaly_field.script

L30 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L48 🔴 global_write
Global write: dyn_anomalies
Impact: low
Show code
dyn_anomalies = {} -- [level][id] = name
L519 🔴 global_write
Global write: dyn_anomalies
Impact: low
Show code
dyn_anomalies = m_data.dyn_anomalies or {}
L556 🔴 global_write
Global write: fields_by_names
Impact: low
Show code
fields_by_names = {}

bind_awr.script

L61 🟢 repeated_npc_section()
npc:section() called 3x in OnDeath
Impact: low
Show code
Cache npc:section() result
L460 🟡 string_concat_in_loop
String concat in loop: txt = txt .. x
Impact: critical
Show code
txt = txt .. tab(depth) .. key .. " =\n"..tab(depth).."{\n"
L164 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ Registered vice [%s] = %s", name, i)
L172 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ Registered vice lamp [%s] = %s", name, i)
L418 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log(str)
L501 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(txt)

dph_debug_log.script

L50 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe(public.format_entry("dph_debug_log/log", LOG_LEVEL_ERROR, "Unable to open logfile %s! Entry logged on the following line.", public.config.file))
L51 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(public.format_entry(mod, level, entry, ...))
L59 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe(ln)
L61 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(ln)
L72 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe(public.format_entry("dph_debug_log/pda", LOG_LEVEL_ERROR, "Could not send message to PDA: Actor does not exist! Entry logged on the following line."))
L73 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(public.format_entry(mod, level, entry, ...))
L140 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe(public.format_entry("dph_debug_log", LOG_LEVEL_ERROR, "Target %s threw an exception while logging <%s> %s", target, mod, entry))
L141 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("ERROR: %s", err)
L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(public.format_entry(mod, level, entry, ...))
L16 🔴 global_write
Global write: log_levels
Impact: low
Show code
log_levels = {
L79 🔴 global_write
Global write: m
Impact: low
Show code
m = tostring(mt)
L80 🔴 global_write
Global write: p
Impact: low
Show code
p = tostring(pt)

faction_expansions.script

L8 🔴 global_write
Global write: faction
Impact: low
Show code
faction = {}
L9 🔴 global_write
Global write: level
Impact: low
Show code
level = {}
L10 🔴 global_write
Global write: mutant
Impact: low
Show code
mutant = {}
L11 🔴 global_write
Global write: mutant_tier_by_clsid
Impact: low
Show code
mutant_tier_by_clsid = {

game_setup.script

L79 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)

pda.script

L459 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- get_coc_ranking_list | id [%s] = %s", i , coc_ranking_list[i])
L4 🔴 global_write
Global write: dialog_closed
Impact: low
Show code
dialog_closed = true
L89 🔴 global_write
Global write: dialog_closed
Impact: low
Show code
dialog_closed = false
L112 🔴 global_write
Global write: dialog_closed
Impact: low
Show code
dialog_closed = true

sim_board.script

L91 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Smart already exist in list [%s]", obj:name())
L166 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("create_squad_at_named_location: squad section does not exist in misc\\squad_descr.ltx: %s",squad_id)
L174 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('create_squad_at_named_location: named location not defined in named_locations.ltx: %s',loc_name)
L190 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("str_explode_num: warning: %s couldn't be parsed as number", s)
L305 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("---------------- Welcome To Test Map ----------------")
L362 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sim_board:fill_start_position incorrect smart by name %s",section)

sim_squad_scripted.script

L604 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: npc section %s does not exist!",spawn_section)
L610 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("INCORRECT npc_spawn_section USED [%s]. You cannot use npc with custom_data in squads", spawn_section)
L689 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('spawn smart: %s', spawn_smart)
L748 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("You are trying to spawn an empty squad [%s]!!!", settings_id)
L874 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("squad community is 'nil' for player_id [%s]", self.player_id)
L12 🔴 global_write
Global write: dbg_map_hud
Impact: low
Show code
dbg_map_hud = false

smart_terrain.script

L528 🟡 string_concat_in_loop
String concat in loop: path_name = path_name .. x
Impact: critical
Show code
path_name = path_name.."_task"
L1152 🟡 string_concat_in_loop
String concat in loop: props = props .. x
Impact: critical
Show code
props = props.."["..k.."] = "..v.num.."("..(xr_logic.pick_section_from_condlist(db.actor, self,self.respawn_params[k].num) or "0")..")\\n"
L1167 🟡 string_concat_in_loop
String concat in loop: props = props .. x
Impact: critical
Show code
props = props .. g_tostring(k) .. "\\n"
L1173 🟡 string_concat_in_loop
String concat in loop: props = props .. x
Impact: critical
Show code
props = props .. prop .. " = " .. val .. "\\n"
L199 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR!: smart_terrain: no configuration file defined in spawn ini for %s",self:name())
L210 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: There is no configuration file [%s] in smart_terrain [%s]", filename, self:name())
L217 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! SMART_TERRAIN [%s] has no terrain_mask section in smart_terrain_masks.ltx!!!",self:name())
L276 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s Wrong smart_terrain respawn_params section [%s](there is no section)",self:name(),respawn_params)
L282 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s Wrong smart_terrain respawn_params section [%s](empty params)", self:name(), respawn_params)
L293 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: %s Wrong smatr_terrain respawn_params section [%s] prop [%s](there is no section)",self:name(), respawn_params, prop_name)
L313 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return printf("fill_npc_info invalid clsid for %s",obj and obj:name())
L318 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return printf("fill_npc_info invalid stype for %s [clsid=%s]",obj and obj:name(),cls)
L351 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return printf("register_npc no clsid! %s",obj and obj:name())
L446 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("validate_patrol_path WARNING: %s: invalid game_vertex_id for point %s",path_name,i)
L451 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("validate_patrol_path ERROR: %s: path does not exist",path_name)
L471 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!CRITICAL ERROR: %s does not have a dynamic ltx!",self:name())
L491 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("gulag: ltx=%s no 'active' in section %s", self.ltx_name, section)
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("smart_terrain.load_jobs(): Cannot find path_field in section %s. ini_path=%s",active_section,job.ini_path)
L539 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s:load_jobs() There is no such patrol path %s",self:name(),path_name)
L549 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is an exclusive job with wrong smatrcover name [%s] smartterrain [%s]", tostring(smartcover_name), self:name())
L635 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return printf("%s no npc_info!",self:name())
L641 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return printf("%s no job table for %s [stype = %s]",self:name(),npc_info.se_obj:name(),npc_info.stype)
L1009 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s:STATE_Read: invalid id in npc_info table. Check for save corruption or error in smart_terrain job system.")
L1360 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s.setup_logic: NPC is nil",self:name())
L1366 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s.setup_logic: npc_info is nil! for id=%s",self:name(),npc:id())
L1371 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s.setup_logic: npc_info.se_obj is nil! for id=%s",self:name(),npc:id())
L1377 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s.setup_logic: npc_info has no job! for id=%s",self:name(),npc:id())
L1390 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[smart_terrain %s] section=%s, don't use section 'nil'!", self:name(), sect)
L1715 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("ERROR: %s Incorrect Respawn Params. respawn_params[%s].num=%s already_spawned[%s]=%s already_spawned[%s].num=%s",self:name(),k,v.num,k,type(self.already_spawned[k]),self.already_spawned[k] and self.already_spawned[k].num)
L11 🔴 global_write
Global write: nearest_to_actor_smart
Impact: low
Show code
nearest_to_actor_smart = {id = nil , dist = math.huge}
L12 🔴 global_write
Global write: dbg_hud
Impact: low
Show code
dbg_hud = false
L137 🔴 global_write
Global write: actor_level
Impact: low
Show code
actor_level = nil
L146 🔴 global_write
Global write: actor_level
Impact: low
Show code
actor_level = actor_level or sim:level_name(gg:vertex(sim:actor().m_game_vertex_id):level_id())
L1792 🔴 global_write
Global write: temp1
Impact: low
Show code
temp1, level_name, temp2 = names_ini:r_line("levels", i, "", "")
L1792 🔴 global_write
Global write: level_name
Impact: low
Show code
temp1, level_name, temp2 = names_ini:r_line("levels", i, "", "")
L1792 🔴 global_write
Global write: temp2
Impact: low
Show code
temp1, level_name, temp2 = names_ini:r_line("levels", i, "", "")
L1796 🔴 global_write
Global write: result
Impact: low
Show code
result, smart_name, value = names_ini:r_line(level_name, i, "", "")
L1796 🔴 global_write
Global write: smart_name
Impact: low
Show code
result, smart_name, value = names_ini:r_line(level_name, i, "", "")
L1796 🔴 global_write
Global write: value
Impact: low
Show code
result, smart_name, value = names_ini:r_line(level_name, i, "", "")

smr_monkey_glitch_tab.script

L1 🔴 global_write
Global write: SetActiveSubdialog
Impact: low
Show code
SetActiveSubdialog = pda.set_active_subdialog

smr_spawn_template.script

L1 🔴 global_write
Global write: template_cfg
Impact: low
Show code
template_cfg = {}
L2 🔴 global_write
Global write: template_cfg_weights
Impact: low
Show code
template_cfg_weights = {}
L7 🔴 global_write
Global write: template_cfg
Impact: low
Show code
template_cfg = load_template_config()
L21 🔴 global_write
Global write: lc
Impact: low
Show code
lc = ini:line_count(section)
L94 🔴 global_write
Global write: weeks
Impact: low
Show code
weeks = math.floor(days/7)
L95 🔴 global_write
Global write: weeks
Impact: low
Show code
if weeks > 3 then weeks = 3 end

smr_spawns_mcm.script

L15 🟢 table_insert_append
table.insert(flist, v) -> flist[#flist+1] = v
Impact: high
Show code
table.insert(flist, {"plugins\\zcp\\spawn_templates\\" .. file_name, file_name })

smr_utils.script

L42 🔴 global_write
Global write: lc
Impact: low
Show code
lc = ini:line_count(section)
L52 🔴 global_write
Global write: lc
Impact: low
Show code
lc = ini:line_count(section)

tasks_fetch.script

L189 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: fetch_reward_and_remove | no fetch item found!")
L194 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Warning: fetch_reward_and_remove | total_cost is below 50")
L266 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR xr_effects.remove_artefact_item | no var found for %s", p[1])
L445 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: %s | fetch list [%s] is invalid", p[1], p[2])
L552 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: xr_effects:setup_generic_fetch_task - invalid section %s",sec)
L740 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! WARNING: fetch_list.ltx | wrong section name [%s]", id)

ui_mm_faction_select.script

L1534 🟡 string_concat_in_loop
String concat in loop: str_stats = str_stats .. x
Impact: critical
Show code
str_stats = str_stats .. "%c[0,150,150,150]� %c[0,50,175,50]" .. game.translate_string("st_faction_" .. k) .. "\\n"
L1694 🟡 string_concat_in_loop
String concat in loop: loadout_str = loadout_str .. x
Impact: critical
Show code
loadout_str = loadout_str .. "," .. ci.section
L1258 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sec: %s | points: %s | points left: %s", ci.section, points, self.points_left)

261- Ammo Check - Ishmaeel

1 file (🟢0 🟡0 🔴17 🔵2)

ammo_check_mcm.script

L41 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AC] " .. msg, ...)
L49 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
if dbg_log then dbg_log:log(msg, ...) end
L115 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L118 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = magazine_binder.get_data
L119 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = magazine_binder.set_data
L120 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = magazine_binder.get_mag_loaded or get_mag_loaded_shim -- get_mag_loaded does not exist in moddb version. MagsRedux needs update.
L121 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = magazine_binder.is_supported_weapon
L122 🔴 global_write
Global write: is_jammed_weapon
Impact: low
Show code
is_jammed_weapon = magazines.is_jammed_weapon
L123 🔴 global_write
Global write: get_sec_chambered
Impact: low
Show code
get_sec_chambered = magazines.get_sec_chambered
L126 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = null_function -- Should not be called, just in case.
L127 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = null_function -- Should not be called, just in case.
L128 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = null_function -- Always returns false, meaning none of the weapons are supported, fall back on vanilla ammo handling.
L129 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = null_function -- There is never a loaded magazine in vanilla.
L130 🔴 global_write
Global write: is_jammed_weapon
Impact: low
Show code
is_jammed_weapon = null_function -- Sadly, standalone mode does not report weapon jams for now.
L131 🔴 global_write
Global write: get_sec_chambered
Impact: low
Show code
get_sec_chambered = null_function -- No "one-in-the-chamber" feature in vanilla.
L144 🔴 global_write
Global write: ch_options
Impact: low
Show code
ch_options = {
L181 🔴 global_write
Global write: pos
Impact: low
Show code
pos = ActorMenu.get_maingame().m_ui_hud_states.m_ui_weapon_cur_ammo:GetWndPos()
L185 🔴 global_write
Global write: pos
Impact: low
Show code
pos = ActorMenu.get_maingame().m_ui_hud_states.m_ui_weapon_icon:GetWndPos()
L268 🔴 global_write
Global write: idx
Impact: low
Show code
idx = l_round((curAmmoPerc * 10) + .5) -- gives an integer value n for the decile of curAmmoPerc and 11 for full.

262- MP412 Rex Reanimation - Aoldri

4 files (🟢1 🟡0 🔴7 🔵2)

aol_anim_transitions.script

L8 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L25 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L19 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {

aol_mp412_monkeypatches.script

L2 🔴 global_write
Global write: ui_inventory_UIInventory_RMode_UpgradeYes
Impact: low
Show code
ui_inventory_UIInventory_RMode_UpgradeYes = ui_inventory.UIInventory.RMode_UpgradeYes
L25 🔴 global_write
Global write: ui_workshop_UIWorkshopUpgrade_Upgrade
Impact: low
Show code
ui_workshop_UIWorkshopUpgrade_Upgrade = ui_workshop.UIWorkshopUpgrade.Upgrade
L71 🔴 global_write
Global write: hasCraftedItem
Impact: low
Show code
hasCraftedItem = true
L83 🔴 global_write
Global write: item_weapon_attach_scope
Impact: low
Show code
item_weapon_attach_scope = item_weapon.attach_scope

aol_mp412_scopes.script

L21 🟢 repeated_weapon_section()
weapon:section() called 3x in attach_scope
Impact: low
Show code
Cache weapon:section() result

aol_sprint_cancel.script

L18 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

264- Barry's Better Knives Animations - BarryBogs

2 files (🟢0 🟡0 🔴3 🔵2)

aol_anim_transitions.script

L8 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L25 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L19 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {

aol_sprint_cancel.script

L18 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

265- NPCs Die in Emissions for Real - TheMrDemonized

9 files (🟢2 🟡0 🔴31 🔵37)

demonized_time_events.script

L37 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L40 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L42 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L47 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L49 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L53 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L55 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L60 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L62 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)

surge_manager.script

L1380 🟢 repeated_npc_section()
npc:section() called 3x in kill_objects_at_pos
Impact: low
Show code
Cache npc:section() result
L102 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Surge manager | " .. fmt, ...)
L599 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("played sound at x=%s z=%s", rnd_pos.x, rnd_pos.z)
L726 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Played far crows")
L762 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("opt_blowout_task", ui_options.get("alife/event/emission_task"))
L25 🔴 global_write
Global write: SurgeManager
Impact: low
Show code
SurgeManager = nil
L27 🔴 global_write
Global write: SurgeManager
Impact: low
Show code
SurgeManager = SurgeManager or CSurgeManager()
L463 🔴 global_write
Global write: temp1
Impact: low
Show code
temp1, id, temp2 = ini:r_line("list", i, "", "")
L463 🔴 global_write
Global write: id
Impact: low
Show code
temp1, id, temp2 = ini:r_line("list", i, "", "")
L463 🔴 global_write
Global write: temp2
Impact: low
Show code
temp1, id, temp2 = ini:r_line("list", i, "", "")
L523 🔴 global_write
Global write: protection
Impact: low
Show code
protection = (suit_protection + helmet_protection + drug_protection)
L525 🔴 global_write
Global write: protection
Impact: low
Show code
protection = 1
L527 🔴 global_write
Global write: hit_power
Impact: low
Show code
hit_power = power * (1 - protection)
L1222 🔴 global_write
Global write: currentIndik
Impact: low
Show code
currentIndik = nil
L1237 🔴 global_write
Global write: currentIndik
Impact: low
Show code
currentIndik = indik

surge_manager_faster_emissions.script

L1 🔴 global_write
Global write: sm_initialize
Impact: low
Show code
sm_initialize = surge_manager.CSurgeManager.initialize

surge_manager_ignore_npc.script

L3 🔴 global_write
Global write: ignore_npc
Impact: low
Show code
ignore_npc = {

surge_manager_tb_covers.script

L7 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(error_or_result)
L17 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_G.printf(str, ...)
L49 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("adding TB based zones surge cover %s, %s", se_obj:name(), se_obj.id)
L71 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("adjusting tb zone position")
L72 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("old: %s %s %s, %s", obj[1].x, obj[1].y, obj[1].z, obj[2])
L73 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("new: %s %s %s, %s", pos.x, pos.y, pos.z, lvid)
L82 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("adding tb zones")
L31 🔴 global_write
Global write: tb
Impact: low
Show code
tb = {}
L32 🔴 global_write
Global write: tb_covers
Impact: low
Show code
tb_covers = {}
L33 🔴 global_write
Global write: tb_cover_radius_sqr
Impact: low
Show code
tb_cover_radius_sqr = 64
L56 🔴 global_write
Global write: tb_covers
Impact: low
Show code
tb_covers = kd_tree.buildTreeSeObjectIds(tb)

surge_rush_scheme_common.script

L7 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(error_or_result)
L17 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_G.printf("SURGE RUSH [" .. script_name() .. "]: " .. str, ...)
L80 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("adding surge cover %s, %s", zone:name(), zone:id())
L88 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("adding tb surge cover %s", tb_ids[i])
L253 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s found cover %s, enable scheme", npc:name(), lvid)
L274 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("surge start")
L31 🔴 global_write
Global write: busy_lvids
Impact: low
Show code
busy_lvids = {}
L65 🔴 global_write
Global write: surge_covers
Impact: low
Show code
surge_covers = nil
L66 🔴 global_write
Global write: vanilla_covers
Impact: low
Show code
vanilla_covers = nil
L67 🔴 global_write
Global write: tb_ids
Impact: low
Show code
tb_ids = surge_manager_tb_covers.tb
L68 🔴 global_write
Global write: tb_covers
Impact: low
Show code
tb_covers = surge_manager_tb_covers.tb_covers
L69 🔴 global_write
Global write: tb_cover_radius_sqr
Impact: low
Show code
tb_cover_radius_sqr = surge_manager_tb_covers.tb_cover_radius_sqr
L92 🔴 global_write
Global write: surge_covers
Impact: low
Show code
surge_covers = kd_tree.buildTreeSeObjectIds(srs)
L93 🔴 global_write
Global write: vanilla_covers
Impact: low
Show code
vanilla_covers = kd_tree.buildTreeSeObjectIds(vanilla)
L102 🔴 global_write
Global write: last_surge_time
Impact: low
Show code
last_surge_time = nil
L108 🔴 global_write
Global write: surge_ignore_communities
Impact: low
Show code
surge_ignore_communities = {
L273 🔴 global_write
Global write: last_surge_time
Impact: low
Show code
last_surge_time = game.get_game_time()

surge_rush_scheme_evaluator_inside.script

L7 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(error_or_result)
L17 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_G.printf("SURGE RUSH [" .. script_name() .. "]: " .. str, ...)
L52 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("npc %s enable surge rush scheme", npc:name())
L109 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("npc %s disable surge rush scheme", npc:name())
L178 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("axr_panic: no action id p[%s]",i)
L23 🔴 global_write
Global write: actid
Impact: low
Show code
actid = 198192
L24 🔴 global_write
Global write: evaid
Impact: low
Show code
evaid = 198192

surge_rush_scheme_evaluator_outside.script

L7 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(error_or_result)
L17 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_G.printf("SURGE RUSH [" .. script_name() .. "]: " .. str, ...)
L47 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("npc %s enable surge rush scheme", npc:name())
L104 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("npc %s disable surge rush scheme", npc:name())
L174 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("axr_panic: no action id p[%s]",i)
L23 🔴 global_write
Global write: actid
Impact: low
Show code
actid = 198193
L24 🔴 global_write
Global write: evaid
Impact: low
Show code
evaid = 198193

zz_surge_manager_npc_die.script

L39 🟢 repeated_npc_section()
npc:section() called 3x in <global>
Impact: low
Show code
Cache npc:section() result
L4 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Psi-Storm Manager | " .. fmt,...)

268- VSSK Reanimation and Remodel - BarryBogs

6 files (🟢1 🟡2 🔴13 🔵3)

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

trader_autoinject.script

L182 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

vks_custom.script

L5 🔴 global_write
Global write: n
Impact: low
Show code
n = ini_sys:line_count(snd_path) or 0
L7 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = ini_sys:r_line_ex(snd_path,i,"","")
L7 🔴 global_write
Global write: id
Impact: low
Show code
result, id, value = ini_sys:r_line_ex(snd_path,i,"","")
L7 🔴 global_write
Global write: value
Impact: low
Show code
result, id, value = ini_sys:r_line_ex(snd_path,i,"","")

vks_trade_inject.script

L81 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! Trader has no supplies [%s] - [%s]", npc_name, supply_level)
L95 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

wpn_sway_enable.script

L4 🔴 global_write
Global write: valid_wpns
Impact: low
Show code
valid_wpns = {

270- Headlamp Animation Fix - RavenAscendant

2 files (🟢0 🟡0 🔴3 🔵0)

grok_gotta_go_fast.script

L10 🔴 global_write
Global write: run_coeff
Impact: low
Show code
run_coeff = grok_gotta_go_fast_mcm.get_config("gotta_go_fast_run")
L11 🔴 global_write
Global write: sprint_coeff
Impact: low
Show code
sprint_coeff = grok_gotta_go_fast_mcm.get_config("gotta_go_fast_sprint")

grok_gotta_go_fast_mcm.script

L12 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "gggf",sh=true ,gr={

274- Dark Signal Audio Pack - Shrike

1 file (🟢0 🟡0 🔴1 🔵0)

eft_rattle_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op = {

277- Tommy Gun - Firebreath

7 files (🟢1 🟡0 🔴23 🔵5)

aol_anim_transitions.script

L6 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L23 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L1 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L17 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {

aol_sprint_cancel.script

L18 🔴 global_write
Global write: aol_anim_transitions_actor_on_hud_animation_play
Impact: low
Show code
aol_anim_transitions_actor_on_hud_animation_play = aol_anim_transitions.actor_on_hud_animation_play

loadouts_injector.script

L224 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: NPC Loadouts | wrong ammo_type set for [%s], missing value in ammo_class", section)
L52 🔴 global_write
Global write: tmp
Impact: low
Show code
tmp = ini_loadouts:r_string_ex("settings","scope_chance")
L54 🔴 global_write
Global write: tmp
Impact: low
Show code
tmp = str_explode(tmp,",")
L74 🔴 global_write
Global write: tmp
Impact: low
Show code
tmp = str_explode(id,":")
L92 🔴 global_write
Global write: tokens
Impact: low
Show code
tokens = str_explode(loadout, "_")
L106 🔴 global_write
Global write: faction
Impact: low
Show code
faction, rank, slot = unpack(tokens)
L106 🔴 global_write
Global write: rank
Impact: low
Show code
faction, rank, slot = unpack(tokens)
L106 🔴 global_write
Global write: slot
Impact: low
Show code
faction, rank, slot = unpack(tokens)
L107 🔴 global_write
Global write: slot
Impact: low
Show code
slot = slots[slot]
L117 🔴 global_write
Global write: l
Impact: low
Show code
l = custom_loadouts[faction][rank][slot]
L130 🔴 global_write
Global write: CreateItem
Impact: low
Show code
CreateItem = xrs_rnd_npc_loadout.create_item_on_npc
L178 🔴 global_write
Global write: id
Impact: low
Show code
id = custom_tbl[pick]

m1a1_autoinject.script

L50 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

new_game_loadout_injector_mcm.script

L78 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loadout Injector: " .. str, ...)
L82 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Loadout Injector: ERROR, " .. str, ...)
L109 🔴 global_write
Global write: loadout_items
Impact: low
Show code
loadout_items = {}
L112 🔴 global_write
Global write: loadout_removed_items
Impact: low
Show code
loadout_removed_items = {}

trader_autoinject.script

L182 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

z_parts_inject.script

L1 🔴 global_write
Global write: cached_r_string_ex
Impact: low
Show code
cached_r_string_ex = itms_manager.ini_parts.r_string_ex
L2 🔴 global_write
Global write: cached_parse_list
Impact: low
Show code
cached_parse_list = _G.parse_list
L3 🔴 global_write
Global write: parts_custom
Impact: low
Show code
parts_custom = {}
L4 🔴 global_write
Global write: parts_custom_ini
Impact: low
Show code
parts_custom_ini = {

279- Crafting Info in Tooltips - Utjan

2 files (🟢0 🟡2 🔴18 🔵4)

craft_use_in_tooltip_mcm.script

L1 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1057 error fix")

zzz_craft_use_in_tooltip_mcm.script

L404 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. ","
L429 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. ","
L14 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(error_or_result)
L416 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! Craft Info in Tooltip | Could not find inv name of section " .. craftable_sec)
L438 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! Craft Info in Tooltip | Could not find inv name of section " .. meal_sec)
L25 🔴 global_write
Global write: og_info_item_init
Impact: low
Show code
og_info_item_init = utils_ui.UIInfoItem.__init
L181 🔴 global_write
Global write: og_info_item_update
Impact: low
Show code
og_info_item_update = utils_ui.UIInfoItem.Update
L293 🔴 global_write
Global write: result
Impact: low
Show code
result, ingredients, item = ini_craft:r_line_ex(section,i,"","")
L293 🔴 global_write
Global write: ingredients
Impact: low
Show code
result, ingredients, item = ini_craft:r_line_ex(section,i,"","")
L293 🔴 global_write
Global write: item
Impact: low
Show code
result, ingredients, item = ini_craft:r_line_ex(section,i,"","")
L305 🔴 global_write
Global write: result
Impact: low
Show code
result, recipe_name, info = ini_craft:r_line_ex(section,i,"","")
L305 🔴 global_write
Global write: recipe_name
Impact: low
Show code
result, recipe_name, info = ini_craft:r_line_ex(section,i,"","")
L305 🔴 global_write
Global write: info
Impact: low
Show code
result, recipe_name, info = ini_craft:r_line_ex(section,i,"","")
L360 🔴 global_write
Global write: result
Impact: low
Show code
result, recipe_name, info = ini_cook:r_line_ex("meal_list",i,"","")
L360 🔴 global_write
Global write: recipe_name
Impact: low
Show code
result, recipe_name, info = ini_cook:r_line_ex("meal_list",i,"","")
L360 🔴 global_write
Global write: info
Impact: low
Show code
result, recipe_name, info = ini_cook:r_line_ex("meal_list",i,"","")
L480 🔴 global_write
Global write: base_build_desc_footer
Impact: low
Show code
base_build_desc_footer = ui_item.build_desc_footer
L483 🔴 global_write
Global write: base_details_reset
Impact: low
Show code
base_details_reset = ui_itm_details.UIItemSheet.Reset
L488 🔴 global_write
Global write: base_add_recipe
Impact: low
Show code
base_add_recipe = workshop_autoinject.add_new_recipe
L501 🔴 global_write
Global write: base_add_override_recipe
Impact: low
Show code
base_add_override_recipe = workshop_autoinject.add_override_recipe
L510 🔴 global_write
Global write: base_remove_recipe
Impact: low
Show code
base_remove_recipe = workshop_autoinject.remove_existing_recipes
L519 🔴 global_write
Global write: base_clear_recipe
Impact: low
Show code
base_clear_recipe = workshop_autoinject.clear_existing_recipes
L540 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "craft_in_tooltip",sh=true ,gr={

28- Black Jack - Feel_Fried

2 files (🟢0 🟡0 🔴200 🔵0)

ui_mod_elements.script

L15 🔴 global_write
Global write: card_game_21_minimum_rate
Impact: low
Show code
card_game_21_minimum_rate=50
L16 🔴 global_write
Global write: value_card_21_max_rate
Impact: low
Show code
value_card_21_max_rate=1000
L20 🔴 global_write
Global write: card_game_21_minimum_rate
Impact: low
Show code
card_game_21_minimum_rate=ui_mcm.get("21_game/card_game_21_minimum_rate")
L21 🔴 global_write
Global write: value_card_21_max_rate
Impact: low
Show code
value_card_21_max_rate=ui_mcm.get("21_game/value_card_21_max_rate")
L27 🔴 global_write
Global write: st_21_point_your_card_value
Impact: low
Show code
st_21_point_your_card_value = ':'
L28 🔴 global_write
Global write: st_21_point_enemy_card_value
Impact: low
Show code
st_21_point_enemy_card_value = ':'
L29 🔴 global_write
Global write: st_21_point_rate_field
Impact: low
Show code
st_21_point_rate_field = ' :'
L30 🔴 global_write
Global write: st_21_point_infoline_1
Impact: low
Show code
st_21_point_infoline_1 = ' :'
L31 🔴 global_write
Global write: st_21_point_infoline_2
Impact: low
Show code
st_21_point_infoline_2 = ' - '..card_game_21_minimum_rate..', -'
L32 🔴 global_write
Global write: st_21_point_money
Impact: low
Show code
st_21_point_money = '.'
L33 🔴 global_write
Global write: st_21_point_info_about_your
Impact: low
Show code
st_21_point_info_about_your = ': '
L34 🔴 global_write
Global write: st_21_point_info_about_enemy
Impact: low
Show code
st_21_point_info_about_enemy = ': '
L35 🔴 global_write
Global write: st_21_point_web_money
Impact: low
Show code
st_21_point_web_money = ' .'
L36 🔴 global_write
Global write: st_21_point_winner_your_1
Impact: low
Show code
st_21_point_winner_your_1 = ' . -'
L37 🔴 global_write
Global write: st_21_point_winner_your_2
Impact: low
Show code
st_21_point_winner_your_2 = '. : -'
L38 🔴 global_write
Global write: st_21_point_winner_your_3
Impact: low
Show code
st_21_point_winner_your_3 = ', -'
L39 🔴 global_write
Global write: st_21_point_winner_enemy_1
Impact: low
Show code
st_21_point_winner_enemy_1 = ' . -'
L40 🔴 global_write
Global write: st_21_point_winner_enemy_2
Impact: low
Show code
st_21_point_winner_enemy_2 = '. : -'
L41 🔴 global_write
Global write: st_21_point_winner_enemy_3
Impact: low
Show code
st_21_point_winner_enemy_3 = ', -'
L42 🔴 global_write
Global write: st_21_point_winner_equally_1
Impact: low
Show code
st_21_point_winner_equally_1 = '. : -'
L43 🔴 global_write
Global write: st_21_point_winner_equally_2
Impact: low
Show code
st_21_point_winner_equally_2 = ', -'
L44 🔴 global_write
Global write: st_21_point_title
Impact: low
Show code
st_21_point_title = ': 21 '
L45 🔴 global_write
Global write: st_21_point_dont_money_to_rate
Impact: low
Show code
st_21_point_dont_money_to_rate = ' : .'
L46 🔴 global_write
Global write: st_21_point_dont_take_rate
Impact: low
Show code
st_21_point_dont_take_rate = ' : .'
L47 🔴 global_write
Global write: st_21_point_dont_take_rate2
Impact: low
Show code
st_21_point_dont_take_rate2 = ' , !'
L48 🔴 global_write
Global write: st_21_point_dont_take_rate3
Impact: low
Show code
st_21_point_dont_take_rate3 = ' - '..card_game_21_minimum_rate
L49 🔴 global_write
Global write: st_question_game_title
Impact: low
Show code
st_question_game_title = ': ? ? ?'
L50 🔴 global_write
Global write: st_question_game_reward_advice
Impact: low
Show code
st_question_game_reward_advice = ' :'
L51 🔴 global_write
Global write: st_question_game_reward_money
Impact: low
Show code
st_question_game_reward_money = ' :'
L52 🔴 global_write
Global write: st_in_web_money
Impact: low
Show code
st_in_web_money = ' :'
L54 🔴 global_write
Global write: st_21_point_your_card_value
Impact: low
Show code
st_21_point_your_card_value = 'You:'
L55 🔴 global_write
Global write: st_21_point_enemy_card_value
Impact: low
Show code
st_21_point_enemy_card_value = 'Opponent:'
L56 🔴 global_write
Global write: st_21_point_rate_field
Impact: low
Show code
st_21_point_rate_field = 'Your bet:'
L57 🔴 global_write
Global write: st_21_point_infoline_1
Impact: low
Show code
st_21_point_infoline_1 = 'Your money left:'
L58 🔴 global_write
Global write: st_21_point_infoline_2
Impact: low
Show code
st_21_point_infoline_2 = 'Minimum bet - '..card_game_21_minimum_rate..', Maximum bet -'
L59 🔴 global_write
Global write: st_21_point_money
Impact: low
Show code
st_21_point_money = 'rubles.'
L60 🔴 global_write
Global write: st_21_point_info_about_your
Impact: low
Show code
st_21_point_info_about_your = 'You: bet'
L61 🔴 global_write
Global write: st_21_point_info_about_enemy
Impact: low
Show code
st_21_point_info_about_enemy = 'Opponent: bet'
L62 🔴 global_write
Global write: st_21_point_web_money
Impact: low
Show code
st_21_point_web_money = 'E-rubles.'
L63 🔴 global_write
Global write: st_21_point_winner_your_1
Impact: low
Show code
st_21_point_winner_your_1 = 'You win. Total -'
L64 🔴 global_write
Global write: st_21_point_winner_your_2
Impact: low
Show code
st_21_point_winner_your_2 = 'rubles. Total points: your -'
L65 🔴 global_write
Global write: st_21_point_winner_your_3
Impact: low
Show code
st_21_point_winner_your_3 = ', Opponent -'
L66 🔴 global_write
Global write: st_21_point_winner_enemy_1
Impact: low
Show code
st_21_point_winner_enemy_1 = 'You loose. Total -'
L67 🔴 global_write
Global write: st_21_point_winner_enemy_2
Impact: low
Show code
st_21_point_winner_enemy_2 = 'rubles. Total points: your -'
L68 🔴 global_write
Global write: st_21_point_winner_enemy_3
Impact: low
Show code
st_21_point_winner_enemy_3 = ', Opponent -'
L69 🔴 global_write
Global write: st_21_point_winner_equally_1
Impact: low
Show code
st_21_point_winner_equally_1 = 'Push. Total points: your -'
L70 🔴 global_write
Global write: st_21_point_winner_equally_2
Impact: low
Show code
st_21_point_winner_equally_2 = ', Opponent -'
L71 🔴 global_write
Global write: st_21_point_title
Impact: low
Show code
st_21_point_title = 'Game: Blackjack '
L72 🔴 global_write
Global write: st_21_point_dont_money_to_rate
Impact: low
Show code
st_21_point_dont_money_to_rate = 'You cannot raise bet: not enough money.'
L73 🔴 global_write
Global write: st_21_point_dont_take_rate
Impact: low
Show code
st_21_point_dont_take_rate = 'You cannot start game: there is no bets.'
L74 🔴 global_write
Global write: st_21_point_dont_take_rate2
Impact: low
Show code
st_21_point_dont_take_rate2 = 'You run out of money, stalker!'
L75 🔴 global_write
Global write: st_21_point_dont_take_rate3
Impact: low
Show code
st_21_point_dont_take_rate3 = 'Minimum bet - '..card_game_21_minimum_rate
L76 🔴 global_write
Global write: st_question_game_title
Impact: low
Show code
st_question_game_title = ': ? ? ?'
L77 🔴 global_write
Global write: st_question_game_reward_advice
Impact: low
Show code
st_question_game_reward_advice = ' :'
L78 🔴 global_write
Global write: st_question_game_reward_money
Impact: low
Show code
st_question_game_reward_money = ' :'
L79 🔴 global_write
Global write: st_in_web_money
Impact: low
Show code
st_in_web_money = 'Money taken:'
L85 🔴 global_write
Global write: table_mod_data_all
Impact: low
Show code
table_mod_data_all={}
L86 🔴 global_write
Global write: table_mod_data_actor
Impact: low
Show code
table_mod_data_actor={}
L87 🔴 global_write
Global write: table_mod_data_actor_cleaner
Impact: low
Show code
table_mod_data_actor_cleaner={}
L88 🔴 global_write
Global write: table_mod_data_object
Impact: low
Show code
table_mod_data_object={}
L89 🔴 global_write
Global write: table_mod_data_object_cleaner
Impact: low
Show code
table_mod_data_object_cleaner={}
L90 🔴 global_write
Global write: table_mod_utils
Impact: low
Show code
table_mod_utils={}
L91 🔴 global_write
Global write: table_mod_offline
Impact: low
Show code
table_mod_offline={}
L92 🔴 global_write
Global write: table_mod_secrets
Impact: low
Show code
table_mod_secrets={}
L93 🔴 global_write
Global write: table_mod_autosaves
Impact: low
Show code
table_mod_autosaves={}
L94 🔴 global_write
Global write: table_mod_callbacks
Impact: low
Show code
table_mod_callbacks={}
L95 🔴 global_write
Global write: table_mod_schemes
Impact: low
Show code
table_mod_schemes={}
L96 🔴 global_write
Global write: table_mod_teleports
Impact: low
Show code
table_mod_teleports={}
L97 🔴 global_write
Global write: table_mod_mineraps
Impact: low
Show code
table_mod_mineraps={}
L98 🔴 global_write
Global write: table_mod_respawn
Impact: low
Show code
table_mod_respawn={}
L99 🔴 global_write
Global write: table_mod_timers
Impact: low
Show code
table_mod_timers={}
L100 🔴 global_write
Global write: table_level_changes
Impact: low
Show code
table_level_changes={}
L101 🔴 global_write
Global write: table_s_skill_hits
Impact: low
Show code
table_s_skill_hits={}
L102 🔴 global_write
Global write: table_m_skill_hits
Impact: low
Show code
table_m_skill_hits={}
L103 🔴 global_write
Global write: table_m_capture_hits
Impact: low
Show code
table_m_capture_hits={}
L104 🔴 global_write
Global write: table_flashlight
Impact: low
Show code
table_flashlight={}
L105 🔴 global_write
Global write: table_squad_dm
Impact: low
Show code
table_squad_dm={}
L109 🔴 global_write
Global write: bool_approach_sleep_began
Impact: low
Show code
bool_approach_sleep_began=false
L110 🔴 global_write
Global write: bool_approach_sleep
Impact: low
Show code
bool_approach_sleep=false
L111 🔴 global_write
Global write: bool_aura_inactivity_inc
Impact: low
Show code
bool_aura_inactivity_inc=false
L112 🔴 global_write
Global write: bool_aura_inactivity_dec
Impact: low
Show code
bool_aura_inactivity_dec=false
L113 🔴 global_write
Global write: bool_aura_inactivity_action
Impact: low
Show code
bool_aura_inactivity_action=false
L114 🔴 global_write
Global write: bool_aura_inactivity_need_release
Impact: low
Show code
bool_aura_inactivity_need_release=false
L115 🔴 global_write
Global write: bool_allspawn_auto_print
Impact: low
Show code
bool_allspawn_auto_print=false
L116 🔴 global_write
Global write: bool_headshot_s_allower
Impact: low
Show code
bool_headshot_s_allower=false
L117 🔴 global_write
Global write: bool_headshot_s_waiting
Impact: low
Show code
bool_headshot_s_waiting=false
L118 🔴 global_write
Global write: bool_headshot_m_allower
Impact: low
Show code
bool_headshot_m_allower=false
L119 🔴 global_write
Global write: bool_headshot_m_waiting
Impact: low
Show code
bool_headshot_m_waiting=false
L120 🔴 global_write
Global write: bool_end_of_the_month
Impact: low
Show code
bool_end_of_the_month=false
L121 🔴 global_write
Global write: bool_enter_level_change
Impact: low
Show code
bool_enter_level_change=false
L122 🔴 global_write
Global write: bool_travel_level_change
Impact: low
Show code
bool_travel_level_change=false
L123 🔴 global_write
Global write: bool_throw_level_change
Impact: low
Show code
bool_throw_level_change=false
L124 🔴 global_write
Global write: bool_snd_end
Impact: low
Show code
bool_snd_end=false
L125 🔴 global_write
Global write: bool_surge_day_is_present
Impact: low
Show code
bool_surge_day_is_present=false
L126 🔴 global_write
Global write: bool_surge_day_is_critical
Impact: low
Show code
bool_surge_day_is_critical=false
L127 🔴 global_write
Global write: bool_surge_day_end
Impact: low
Show code
bool_surge_day_end=false
L128 🔴 global_write
Global write: bool_black_day_end
Impact: low
Show code
bool_black_day_end=false
L129 🔴 global_write
Global write: bool_every_night_end
Impact: low
Show code
bool_every_night_end=false
L130 🔴 global_write
Global write: bool_remote_marker
Impact: low
Show code
bool_remote_marker=false
L131 🔴 global_write
Global write: bool_show_restrictors
Impact: low
Show code
bool_show_restrictors=false
L132 🔴 global_write
Global write: bool_show_anomalies
Impact: low
Show code
bool_show_anomalies=false
L133 🔴 global_write
Global write: bool_show_smarts
Impact: low
Show code
bool_show_smarts=false
L134 🔴 global_write
Global write: bool_cheat_mode_activate
Impact: low
Show code
bool_cheat_mode_activate=false
L135 🔴 global_write
Global write: bool_is_ui_disabled
Impact: low
Show code
bool_is_ui_disabled=false
L136 🔴 global_write
Global write: bool_mod_update
Impact: low
Show code
bool_mod_update=true
L137 🔴 global_write
Global write: bool_data_loaded
Impact: low
Show code
bool_data_loaded=false
L141 🔴 global_write
Global write: value_bodyguard_release_victim
Impact: low
Show code
value_bodyguard_release_victim=0
L142 🔴 global_write
Global write: value_capture_meal_monster_id
Impact: low
Show code
value_capture_meal_monster_id=0
L143 🔴 global_write
Global write: value_wpn1_state_bar
Impact: low
Show code
value_wpn1_state_bar=0
L144 🔴 global_write
Global write: value_wpn2_state_bar
Impact: low
Show code
value_wpn2_state_bar=0
L145 🔴 global_write
Global write: value_guidebook_type
Impact: low
Show code
value_guidebook_type=1
L146 🔴 global_write
Global write: value_marauder_outfit_id
Impact: low
Show code
value_marauder_outfit_id=0
L147 🔴 global_write
Global write: value_throw_item_id
Impact: low
Show code
value_throw_item_id=0
L148 🔴 global_write
Global write: value_throw_item_cond
Impact: low
Show code
value_throw_item_cond=1.0
L149 🔴 global_write
Global write: value_outfit_flg
Impact: low
Show code
value_outfit_flg=0
L150 🔴 global_write
Global write: value_helm_flg
Impact: low
Show code
value_helm_flg=0
L151 🔴 global_write
Global write: value_remote_marker
Impact: low
Show code
value_remote_marker=0
L152 🔴 global_write
Global write: value_last_discount
Impact: low
Show code
value_last_discount=0.0
L153 🔴 global_write
Global write: value_rank_counter
Impact: low
Show code
value_rank_counter=0
L154 🔴 global_write
Global write: value_headshot_counter
Impact: low
Show code
value_headshot_counter=0
L155 🔴 global_write
Global write: value_demo_anim_counter
Impact: low
Show code
value_demo_anim_counter=0
L156 🔴 global_write
Global write: value_safe_loaded
Impact: low
Show code
value_safe_loaded=0
L157 🔴 global_write
Global write: value_shot_item_ammo
Impact: low
Show code
value_shot_item_ammo=-1
L158 🔴 global_write
Global write: value_webmoney_course_from
Impact: low
Show code
value_webmoney_course_from=20
L159 🔴 global_write
Global write: value_webmoney_course_before
Impact: low
Show code
value_webmoney_course_before=80
L160 🔴 global_write
Global write: value_pstor_factor
Impact: low
Show code
value_pstor_factor=0
L164 🔴 global_write
Global write: card_game_21_stage
Impact: low
Show code
card_game_21_stage="need_rate"
L165 🔴 global_write
Global write: card_game_21_take_else
Impact: low
Show code
card_game_21_take_else="empty_card"
L166 🔴 global_write
Global write: card_game_21_existing_masks
Impact: low
Show code
card_game_21_existing_masks={"kresta","pika","bubna","chirva"}
L167 🔴 global_write
Global write: card_game_21_existing_names
Impact: low
Show code
card_game_21_existing_names={"6","7","8","9","10","J","Q","K","T"}
L168 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="none"
L169 🔴 global_write
Global write: card_game_21_enemy_name
Impact: low
Show code
card_game_21_enemy_name=""
L170 🔴 global_write
Global write: card_game_21_info_about_your
Impact: low
Show code
card_game_21_info_about_your=""
L171 🔴 global_write
Global write: card_game_21_info_about_enemy
Impact: low
Show code
card_game_21_info_about_enemy=""
L172 🔴 global_write
Global write: card_game_21_your_points
Impact: low
Show code
card_game_21_your_points=0
L173 🔴 global_write
Global write: card_game_21_enemy_points
Impact: low
Show code
card_game_21_enemy_points=0
L174 🔴 global_write
Global write: card_game_21_rate
Impact: low
Show code
card_game_21_rate=0
L175 🔴 global_write
Global write: card_game_21_show_winner
Impact: low
Show code
card_game_21_show_winner="hide"
L176 🔴 global_write
Global write: card_game_21_difficulty
Impact: low
Show code
card_game_21_difficulty="easy"
L177 🔴 global_write
Global write: card_game_21_increasing_rate
Impact: low
Show code
card_game_21_increasing_rate=50
L191 🔴 global_write
Global write: xml
Impact: low
Show code
xml = CScriptXmlInit()
L272 🔴 global_write
Global write: card_game_21_rate
Impact: low
Show code
card_game_21_rate=0
L274 🔴 global_write
Global write: card_game_21_rate
Impact: low
Show code
card_game_21_rate=value_card_21_max_rate
L277 🔴 global_write
Global write: card_game_21_rate
Impact: low
Show code
card_game_21_rate=db.actor:money()
L447 🔴 global_write
Global write: card_game_21_show_winner
Impact: low
Show code
card_game_21_show_winner="hide"
L452 🔴 global_write
Global write: card_game_21_increasing_rate
Impact: low
Show code
card_game_21_increasing_rate=200
L454 🔴 global_write
Global write: card_game_21_increasing_rate
Impact: low
Show code
card_game_21_increasing_rate=50
L492 🔴 global_write
Global write: card_game_21_your_points
Impact: low
Show code
card_game_21_your_points=card_game_21_your_points+result
L494 🔴 global_write
Global write: card_game_21_enemy_points
Impact: low
Show code
card_game_21_enemy_points=card_game_21_enemy_points+result
L563 🔴 global_write
Global write: card_game_21_rate
Impact: low
Show code
card_game_21_rate=card_game_21_rate-card_game_21_increasing_rate
L566 🔴 global_write
Global write: card_game_21_rate
Impact: low
Show code
card_game_21_rate=card_game_21_rate+card_game_21_increasing_rate
L582 🔴 global_write
Global write: card_game_21_stage
Impact: low
Show code
card_game_21_stage="taked_rate"
L592 🔴 global_write
Global write: card_game_21_stage
Impact: low
Show code
card_game_21_stage="need_rate"
L593 🔴 global_write
Global write: card_game_21_info_about_your
Impact: low
Show code
card_game_21_info_about_your=""
L594 🔴 global_write
Global write: card_game_21_info_about_enemy
Impact: low
Show code
card_game_21_info_about_enemy=""
L595 🔴 global_write
Global write: card_game_21_enemy_name
Impact: low
Show code
card_game_21_enemy_name=""
L596 🔴 global_write
Global write: card_game_21_your_points
Impact: low
Show code
card_game_21_your_points=0
L597 🔴 global_write
Global write: card_game_21_enemy_points
Impact: low
Show code
card_game_21_enemy_points=0
L598 🔴 global_write
Global write: card_game_21_take_else
Impact: low
Show code
card_game_21_take_else="empty_card"
L599 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="none"
L601 🔴 global_write
Global write: card_game_21_rate
Impact: low
Show code
card_game_21_rate=0
L603 🔴 global_write
Global write: card_game_21_show_winner
Impact: low
Show code
card_game_21_show_winner="hide"
L607 🔴 global_write
Global write: card_game_21_difficulty
Impact: low
Show code
card_game_21_difficulty=get_random_line("easy,normal,hard")
L610 🔴 global_write
Global write: card_game_21_stage
Impact: low
Show code
card_game_21_stage="play_game"
L611 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="none"
L612 🔴 global_write
Global write: card_game_21_info_about_your
Impact: low
Show code
card_game_21_info_about_your=st_21_point_info_about_your.." "..card_game_21_rate.." "..st_21_point_money
L613 🔴 global_write
Global write: card_game_21_info_about_enemy
Impact: low
Show code
card_game_21_info_about_enemy=card_game_21_enemy_name..st_21_point_info_about_enemy.." "..card_game_21_rate.." "..st_21_point_web_money
L627 🔴 global_write
Global write: card_game_21_take_else
Impact: low
Show code
card_game_21_take_else="1st_card"
L633 🔴 global_write
Global write: card_game_21_take_else
Impact: low
Show code
card_game_21_take_else="2nd_card"
L639 🔴 global_write
Global write: card_game_21_take_else
Impact: low
Show code
card_game_21_take_else="3rd_card"
L681 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="your"
L683 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="enemy"
L686 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="your"
L688 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="enemy"
L690 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="equally"
L695 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="equally"
L697 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="your"
L699 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="enemy"
L702 🔴 global_write
Global write: card_game_21_stage
Impact: low
Show code
card_game_21_stage="end_game"
L705 🔴 global_write
Global write: card_game_21_show_winner
Impact: low
Show code
card_game_21_show_winner="begin_show"
L731 🔴 global_write
Global write: card_game_21_show_winner
Impact: low
Show code
card_game_21_show_winner="end_show"
L767 🔴 global_write
Global write: bool_travel_level_change
Impact: low
Show code
bool_travel_level_change=false
L768 🔴 global_write
Global write: bool_throw_level_change
Impact: low
Show code
bool_throw_level_change=true
L778 🔴 global_write
Global write: bool_travel_level_change
Impact: low
Show code
bool_travel_level_change=true
L788 🔴 global_write
Global write: bool_travel_level_change
Impact: low
Show code
bool_travel_level_change=false
L789 🔴 global_write
Global write: bool_throw_level_change
Impact: low
Show code
bool_throw_level_change=true
L814 🔴 global_write
Global write: bool_is_ui_disabled
Impact: low
Show code
bool_is_ui_disabled=true
L818 🔴 global_write
Global write: bool_is_ui_disabled
Impact: low
Show code
bool_is_ui_disabled=false
L834 🔴 global_write
Global write: line_table
Impact: low
Show code
line_table=parse_general_names(line)
L1008 🔴 global_write
Global write: result
Impact: low
Show code
result=false
L1010 🔴 global_write
Global write: result
Impact: low
Show code
result=true
L1014 🔴 global_write
Global write: result
Impact: low
Show code
result=true
L1016 🔴 global_write
Global write: result
Impact: low
Show code
result=false

ui_mod_elements_mcm.script

L6 🔴 global_write
Global write: st_min
Impact: low
Show code
st_min = " "
L7 🔴 global_write
Global write: st_max
Impact: low
Show code
st_max = " "
L8 🔴 global_write
Global write: st_name
Impact: low
Show code
st_name = "21 "
L10 🔴 global_write
Global write: st_min
Impact: low
Show code
st_min = "Set minimum bet"
L11 🔴 global_write
Global write: st_max
Impact: low
Show code
st_max = "Set maxumum bet"
L12 🔴 global_write
Global write: st_name
Impact: low
Show code
st_name = "Blackjack"
L35 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "21_game" ,sh=true ,gr={

281- Axes Remodel and Reanimation - BarryBogs

5 files (🟢0 🟡0 🔴5 🔵24)

aol_anim_transitions.script

L8 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L25 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L19 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {

aol_sprint_cancel.script

L18 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

custom_functor_autoinject.script

L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."*"..g_tostring(t))
L114 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(t).." {")
L116 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..string.rep(" ",#pos+6).."}")
L118 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(val))
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..g_tostring(t))
L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L145 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L152 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L154 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L158 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L321 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s", k, v.index)
L324 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s, max custom_functor reached", k, v.index)
L426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, processing queue")
L429 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, type %s", v.type)
L466 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid, min 1, max 10, your slot: %s", slot)
L481 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid min 1, max 10, your slot: %s", slot)
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[" .. k .. "] => ")

half_damage.script

L11 🔴 global_write
Global write: new_axes
Impact: low
Show code
new_axes = {

melee_trade_inject.script

L52 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! Trader has no supplies for this supply level [%s] - [%s]", npc_name, supply_level)
L66 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

286- High-level Toolkits Include Low-level Toolkits - ilrathcxv

1 file (🟢0 🟡0 🔴2 🔵0)

z_monkey_toolkit_workshop.script

L1 🔴 global_write
Global write: base_workshop
Impact: low
Show code
base_workshop = ui_workshop.UIWorkshop.Reset
L2 🔴 global_write
Global write: workshop_toolkits
Impact: low
Show code
workshop_toolkits = ui_workshop.workshop_toolkits

287- G.A.M.M.A. Massive Text Overhaul Project - SageDaHerb and Dr.Pr1nkos

4 files (🟢1 🟡2 🔴203 🔵14)

txr_routes.script

L1450 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! get_shortest_path_num | no level defined!")
L52 🔴 global_write
Global write: maps
Impact: low
Show code
maps = {
L260 🔴 global_write
Global write: routes
Impact: low
Show code
routes = {

ui_debug_launcher.script

L819 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Debug Launcher | Execute (%s)", content[tab][index].name)
L988 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Debug Console: %s",out)
L1417 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("UIDebug_ItemSpawn: No spawn table could be created for %s",name)
L1510 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((mark or "") .. " " .. text)
L1611 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Spawned item [%s](%s)", spawntbl[i].sec, se_obj.id)
L1921 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("UIDebug_ObjSpawn: No spawn table could be created for %s",name)
L2089 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((mark or "") .. " " .. text)
L2131 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~" .. lvl)
L2332 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((mark or "") .. " " .. text)
L2616 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(txt,...)
L2653 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L13 🔴 global_write
Global write: ini_cc
Impact: low
Show code
ini_cc = nil
L16 🔴 global_write
Global write: content
Impact: low
Show code
content = {}
L18 🔴 global_write
Global write: ini_cc
Impact: low
Show code
ini_cc = ini_file_ex("cache_dbg.ltx",true)
L20 🔴 global_write
Global write: content
Impact: low
Show code
content = {
L350 🔴 global_write
Global write: debug_mode
Impact: low
Show code
debug_mode = false
L1049 🔴 global_write
Global write: itm_to_spawn_table
Impact: low
Show code
itm_to_spawn_table = {
L1637 🔴 global_write
Global write: obj_to_spawn_table
Impact: low
Show code
obj_to_spawn_table = {

ui_mod_elements.script

L15 🔴 global_write
Global write: card_game_21_minimum_rate
Impact: low
Show code
card_game_21_minimum_rate=50
L16 🔴 global_write
Global write: value_card_21_max_rate
Impact: low
Show code
value_card_21_max_rate=1000
L20 🔴 global_write
Global write: card_game_21_minimum_rate
Impact: low
Show code
card_game_21_minimum_rate=ui_mcm.get("21_game/card_game_21_minimum_rate")
L21 🔴 global_write
Global write: value_card_21_max_rate
Impact: low
Show code
value_card_21_max_rate=ui_mcm.get("21_game/value_card_21_max_rate")
L27 🔴 global_write
Global write: st_21_point_your_card_value
Impact: low
Show code
st_21_point_your_card_value = ':'
L28 🔴 global_write
Global write: st_21_point_enemy_card_value
Impact: low
Show code
st_21_point_enemy_card_value = ':'
L29 🔴 global_write
Global write: st_21_point_rate_field
Impact: low
Show code
st_21_point_rate_field = ' :'
L30 🔴 global_write
Global write: st_21_point_infoline_1
Impact: low
Show code
st_21_point_infoline_1 = ' :'
L31 🔴 global_write
Global write: st_21_point_infoline_2
Impact: low
Show code
st_21_point_infoline_2 = ' - '..card_game_21_minimum_rate..', -'
L32 🔴 global_write
Global write: st_21_point_money
Impact: low
Show code
st_21_point_money = '.'
L33 🔴 global_write
Global write: st_21_point_info_about_your
Impact: low
Show code
st_21_point_info_about_your = ': '
L34 🔴 global_write
Global write: st_21_point_info_about_enemy
Impact: low
Show code
st_21_point_info_about_enemy = ': '
L35 🔴 global_write
Global write: st_21_point_web_money
Impact: low
Show code
st_21_point_web_money = ' .'
L36 🔴 global_write
Global write: st_21_point_winner_your_1
Impact: low
Show code
st_21_point_winner_your_1 = ' . -'
L37 🔴 global_write
Global write: st_21_point_winner_your_2
Impact: low
Show code
st_21_point_winner_your_2 = '. : -'
L38 🔴 global_write
Global write: st_21_point_winner_your_3
Impact: low
Show code
st_21_point_winner_your_3 = ', -'
L39 🔴 global_write
Global write: st_21_point_winner_enemy_1
Impact: low
Show code
st_21_point_winner_enemy_1 = ' . -'
L40 🔴 global_write
Global write: st_21_point_winner_enemy_2
Impact: low
Show code
st_21_point_winner_enemy_2 = '. : -'
L41 🔴 global_write
Global write: st_21_point_winner_enemy_3
Impact: low
Show code
st_21_point_winner_enemy_3 = ', -'
L42 🔴 global_write
Global write: st_21_point_winner_equally_1
Impact: low
Show code
st_21_point_winner_equally_1 = '. : -'
L43 🔴 global_write
Global write: st_21_point_winner_equally_2
Impact: low
Show code
st_21_point_winner_equally_2 = ', -'
L44 🔴 global_write
Global write: st_21_point_title
Impact: low
Show code
st_21_point_title = ': 21 '
L45 🔴 global_write
Global write: st_21_point_dont_money_to_rate
Impact: low
Show code
st_21_point_dont_money_to_rate = ' : .'
L46 🔴 global_write
Global write: st_21_point_dont_take_rate
Impact: low
Show code
st_21_point_dont_take_rate = ' : .'
L47 🔴 global_write
Global write: st_21_point_dont_take_rate2
Impact: low
Show code
st_21_point_dont_take_rate2 = ' , !'
L48 🔴 global_write
Global write: st_21_point_dont_take_rate3
Impact: low
Show code
st_21_point_dont_take_rate3 = ' - '..card_game_21_minimum_rate
L49 🔴 global_write
Global write: st_question_game_title
Impact: low
Show code
st_question_game_title = ': ? ? ?'
L50 🔴 global_write
Global write: st_question_game_reward_advice
Impact: low
Show code
st_question_game_reward_advice = ' :'
L51 🔴 global_write
Global write: st_question_game_reward_money
Impact: low
Show code
st_question_game_reward_money = ' :'
L52 🔴 global_write
Global write: st_in_web_money
Impact: low
Show code
st_in_web_money = ' :'
L54 🔴 global_write
Global write: st_21_point_your_card_value
Impact: low
Show code
st_21_point_your_card_value = 'You:'
L55 🔴 global_write
Global write: st_21_point_your_card_value
Impact: low
Show code
st_21_point_your_card_value = 'You:'
L56 🔴 global_write
Global write: st_21_point_enemy_card_value
Impact: low
Show code
st_21_point_enemy_card_value = 'Opponent:'
L57 🔴 global_write
Global write: st_21_point_rate_field
Impact: low
Show code
st_21_point_rate_field = 'Your Bet:'
L58 🔴 global_write
Global write: st_21_point_infoline_1
Impact: low
Show code
st_21_point_infoline_1 = 'Money Remaining:'
L59 🔴 global_write
Global write: st_21_point_infoline_2
Impact: low
Show code
st_21_point_infoline_2 = 'Minimum Bet - '..card_game_21_minimum_rate..', Maximum Bet -'
L60 🔴 global_write
Global write: st_21_point_money
Impact: low
Show code
st_21_point_money = 'RU.'
L61 🔴 global_write
Global write: st_21_point_info_about_your
Impact: low
Show code
st_21_point_info_about_your = 'You bet'
L62 🔴 global_write
Global write: st_21_point_info_about_enemy
Impact: low
Show code
st_21_point_info_about_enemy = 'Opponent bet'
L63 🔴 global_write
Global write: st_21_point_web_money
Impact: low
Show code
st_21_point_web_money = 'RU'
L64 🔴 global_write
Global write: st_21_point_winner_your_1
Impact: low
Show code
st_21_point_winner_your_1 = 'You win! Winnings:'
L65 🔴 global_write
Global write: st_21_point_winner_your_2
Impact: low
Show code
st_21_point_winner_your_2 = 'RU. Score: You -'
L66 🔴 global_write
Global write: st_21_point_winner_your_3
Impact: low
Show code
st_21_point_winner_your_3 = ', Them -'
L67 🔴 global_write
Global write: st_21_point_winner_enemy_1
Impact: low
Show code
st_21_point_winner_enemy_1 = 'You lost. Total -'
L68 🔴 global_write
Global write: st_21_point_winner_enemy_2
Impact: low
Show code
st_21_point_winner_enemy_2 = 'RU. Score: You -'
L69 🔴 global_write
Global write: st_21_point_winner_enemy_3
Impact: low
Show code
st_21_point_winner_enemy_3 = ', Tie. Score: You -'
L70 🔴 global_write
Global write: st_21_point_winner_equally_1
Impact: low
Show code
st_21_point_winner_equally_1 = 'Push. Total: You -'
L71 🔴 global_write
Global write: st_21_point_winner_equally_2
Impact: low
Show code
st_21_point_winner_equally_2 = ', Them -'
L72 🔴 global_write
Global write: st_21_point_title
Impact: low
Show code
st_21_point_title = 'Blackjack '
L73 🔴 global_write
Global write: st_21_point_dont_money_to_rate
Impact: low
Show code
st_21_point_dont_money_to_rate = 'CANNOT RAISE BET: NOT ENOUGH MONEY'
L74 🔴 global_write
Global write: st_21_point_dont_take_rate
Impact: low
Show code
st_21_point_dont_take_rate = 'CANNOT START GAME: NO BETS PLACED'
L75 🔴 global_write
Global write: st_21_point_dont_take_rate2
Impact: low
Show code
st_21_point_dont_take_rate2 = 'YOU HAVE NO MONEY LEFT!'
L76 🔴 global_write
Global write: st_21_point_dont_take_rate3
Impact: low
Show code
st_21_point_dont_take_rate3 = 'Minimum Bet - '..card_game_21_minimum_rate
L77 🔴 global_write
Global write: st_question_game_title
Impact: low
Show code
st_question_game_title = ': ? ? ?'
L78 🔴 global_write
Global write: st_question_game_reward_advice
Impact: low
Show code
st_question_game_reward_advice = ' :'
L79 🔴 global_write
Global write: st_question_game_reward_money
Impact: low
Show code
st_question_game_reward_money = ' :'
L80 🔴 global_write
Global write: st_in_web_money
Impact: low
Show code
st_in_web_money = 'Money Taken:'
L86 🔴 global_write
Global write: table_mod_data_all
Impact: low
Show code
table_mod_data_all={}
L87 🔴 global_write
Global write: table_mod_data_actor
Impact: low
Show code
table_mod_data_actor={}
L88 🔴 global_write
Global write: table_mod_data_actor_cleaner
Impact: low
Show code
table_mod_data_actor_cleaner={}
L89 🔴 global_write
Global write: table_mod_data_object
Impact: low
Show code
table_mod_data_object={}
L90 🔴 global_write
Global write: table_mod_data_object_cleaner
Impact: low
Show code
table_mod_data_object_cleaner={}
L91 🔴 global_write
Global write: table_mod_utils
Impact: low
Show code
table_mod_utils={}
L92 🔴 global_write
Global write: table_mod_offline
Impact: low
Show code
table_mod_offline={}
L93 🔴 global_write
Global write: table_mod_secrets
Impact: low
Show code
table_mod_secrets={}
L94 🔴 global_write
Global write: table_mod_autosaves
Impact: low
Show code
table_mod_autosaves={}
L95 🔴 global_write
Global write: table_mod_callbacks
Impact: low
Show code
table_mod_callbacks={}
L96 🔴 global_write
Global write: table_mod_schemes
Impact: low
Show code
table_mod_schemes={}
L97 🔴 global_write
Global write: table_mod_teleports
Impact: low
Show code
table_mod_teleports={}
L98 🔴 global_write
Global write: table_mod_mineraps
Impact: low
Show code
table_mod_mineraps={}
L99 🔴 global_write
Global write: table_mod_respawn
Impact: low
Show code
table_mod_respawn={}
L100 🔴 global_write
Global write: table_mod_timers
Impact: low
Show code
table_mod_timers={}
L101 🔴 global_write
Global write: table_level_changes
Impact: low
Show code
table_level_changes={}
L102 🔴 global_write
Global write: table_s_skill_hits
Impact: low
Show code
table_s_skill_hits={}
L103 🔴 global_write
Global write: table_m_skill_hits
Impact: low
Show code
table_m_skill_hits={}
L104 🔴 global_write
Global write: table_m_capture_hits
Impact: low
Show code
table_m_capture_hits={}
L105 🔴 global_write
Global write: table_flashlight
Impact: low
Show code
table_flashlight={}
L106 🔴 global_write
Global write: table_squad_dm
Impact: low
Show code
table_squad_dm={}
L110 🔴 global_write
Global write: bool_approach_sleep_began
Impact: low
Show code
bool_approach_sleep_began=false
L111 🔴 global_write
Global write: bool_approach_sleep
Impact: low
Show code
bool_approach_sleep=false
L112 🔴 global_write
Global write: bool_aura_inactivity_inc
Impact: low
Show code
bool_aura_inactivity_inc=false
L113 🔴 global_write
Global write: bool_aura_inactivity_dec
Impact: low
Show code
bool_aura_inactivity_dec=false
L114 🔴 global_write
Global write: bool_aura_inactivity_action
Impact: low
Show code
bool_aura_inactivity_action=false
L115 🔴 global_write
Global write: bool_aura_inactivity_need_release
Impact: low
Show code
bool_aura_inactivity_need_release=false
L116 🔴 global_write
Global write: bool_allspawn_auto_print
Impact: low
Show code
bool_allspawn_auto_print=false
L117 🔴 global_write
Global write: bool_headshot_s_allower
Impact: low
Show code
bool_headshot_s_allower=false
L118 🔴 global_write
Global write: bool_headshot_s_waiting
Impact: low
Show code
bool_headshot_s_waiting=false
L119 🔴 global_write
Global write: bool_headshot_m_allower
Impact: low
Show code
bool_headshot_m_allower=false
L120 🔴 global_write
Global write: bool_headshot_m_waiting
Impact: low
Show code
bool_headshot_m_waiting=false
L121 🔴 global_write
Global write: bool_end_of_the_month
Impact: low
Show code
bool_end_of_the_month=false
L122 🔴 global_write
Global write: bool_enter_level_change
Impact: low
Show code
bool_enter_level_change=false
L123 🔴 global_write
Global write: bool_travel_level_change
Impact: low
Show code
bool_travel_level_change=false
L124 🔴 global_write
Global write: bool_throw_level_change
Impact: low
Show code
bool_throw_level_change=false
L125 🔴 global_write
Global write: bool_snd_end
Impact: low
Show code
bool_snd_end=false
L126 🔴 global_write
Global write: bool_surge_day_is_present
Impact: low
Show code
bool_surge_day_is_present=false
L127 🔴 global_write
Global write: bool_surge_day_is_critical
Impact: low
Show code
bool_surge_day_is_critical=false
L128 🔴 global_write
Global write: bool_surge_day_end
Impact: low
Show code
bool_surge_day_end=false
L129 🔴 global_write
Global write: bool_black_day_end
Impact: low
Show code
bool_black_day_end=false
L130 🔴 global_write
Global write: bool_every_night_end
Impact: low
Show code
bool_every_night_end=false
L131 🔴 global_write
Global write: bool_remote_marker
Impact: low
Show code
bool_remote_marker=false
L132 🔴 global_write
Global write: bool_show_restrictors
Impact: low
Show code
bool_show_restrictors=false
L133 🔴 global_write
Global write: bool_show_anomalies
Impact: low
Show code
bool_show_anomalies=false
L134 🔴 global_write
Global write: bool_show_smarts
Impact: low
Show code
bool_show_smarts=false
L135 🔴 global_write
Global write: bool_cheat_mode_activate
Impact: low
Show code
bool_cheat_mode_activate=false
L136 🔴 global_write
Global write: bool_is_ui_disabled
Impact: low
Show code
bool_is_ui_disabled=false
L137 🔴 global_write
Global write: bool_mod_update
Impact: low
Show code
bool_mod_update=true
L138 🔴 global_write
Global write: bool_data_loaded
Impact: low
Show code
bool_data_loaded=false
L142 🔴 global_write
Global write: value_bodyguard_release_victim
Impact: low
Show code
value_bodyguard_release_victim=0
L143 🔴 global_write
Global write: value_capture_meal_monster_id
Impact: low
Show code
value_capture_meal_monster_id=0
L144 🔴 global_write
Global write: value_wpn1_state_bar
Impact: low
Show code
value_wpn1_state_bar=0
L145 🔴 global_write
Global write: value_wpn2_state_bar
Impact: low
Show code
value_wpn2_state_bar=0
L146 🔴 global_write
Global write: value_guidebook_type
Impact: low
Show code
value_guidebook_type=1
L147 🔴 global_write
Global write: value_marauder_outfit_id
Impact: low
Show code
value_marauder_outfit_id=0
L148 🔴 global_write
Global write: value_throw_item_id
Impact: low
Show code
value_throw_item_id=0
L149 🔴 global_write
Global write: value_throw_item_cond
Impact: low
Show code
value_throw_item_cond=1.0
L150 🔴 global_write
Global write: value_outfit_flg
Impact: low
Show code
value_outfit_flg=0
L151 🔴 global_write
Global write: value_helm_flg
Impact: low
Show code
value_helm_flg=0
L152 🔴 global_write
Global write: value_remote_marker
Impact: low
Show code
value_remote_marker=0
L153 🔴 global_write
Global write: value_last_discount
Impact: low
Show code
value_last_discount=0.0
L154 🔴 global_write
Global write: value_rank_counter
Impact: low
Show code
value_rank_counter=0
L155 🔴 global_write
Global write: value_headshot_counter
Impact: low
Show code
value_headshot_counter=0
L156 🔴 global_write
Global write: value_demo_anim_counter
Impact: low
Show code
value_demo_anim_counter=0
L157 🔴 global_write
Global write: value_safe_loaded
Impact: low
Show code
value_safe_loaded=0
L158 🔴 global_write
Global write: value_shot_item_ammo
Impact: low
Show code
value_shot_item_ammo=-1
L159 🔴 global_write
Global write: value_webmoney_course_from
Impact: low
Show code
value_webmoney_course_from=20
L160 🔴 global_write
Global write: value_webmoney_course_before
Impact: low
Show code
value_webmoney_course_before=80
L161 🔴 global_write
Global write: value_pstor_factor
Impact: low
Show code
value_pstor_factor=0
L165 🔴 global_write
Global write: card_game_21_stage
Impact: low
Show code
card_game_21_stage="need_rate"
L166 🔴 global_write
Global write: card_game_21_take_else
Impact: low
Show code
card_game_21_take_else="empty_card"
L167 🔴 global_write
Global write: card_game_21_existing_masks
Impact: low
Show code
card_game_21_existing_masks={"kresta","pika","bubna","chirva"}
L168 🔴 global_write
Global write: card_game_21_existing_names
Impact: low
Show code
card_game_21_existing_names={"6","7","8","9","10","J","Q","K","T"}
L169 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="none"
L170 🔴 global_write
Global write: card_game_21_enemy_name
Impact: low
Show code
card_game_21_enemy_name=""
L171 🔴 global_write
Global write: card_game_21_info_about_your
Impact: low
Show code
card_game_21_info_about_your=""
L172 🔴 global_write
Global write: card_game_21_info_about_enemy
Impact: low
Show code
card_game_21_info_about_enemy=""
L173 🔴 global_write
Global write: card_game_21_your_points
Impact: low
Show code
card_game_21_your_points=0
L174 🔴 global_write
Global write: card_game_21_enemy_points
Impact: low
Show code
card_game_21_enemy_points=0
L175 🔴 global_write
Global write: card_game_21_rate
Impact: low
Show code
card_game_21_rate=0
L176 🔴 global_write
Global write: card_game_21_show_winner
Impact: low
Show code
card_game_21_show_winner="hide"
L177 🔴 global_write
Global write: card_game_21_difficulty
Impact: low
Show code
card_game_21_difficulty="easy"
L178 🔴 global_write
Global write: card_game_21_increasing_rate
Impact: low
Show code
card_game_21_increasing_rate=50
L192 🔴 global_write
Global write: xml
Impact: low
Show code
xml = CScriptXmlInit()
L273 🔴 global_write
Global write: card_game_21_rate
Impact: low
Show code
card_game_21_rate=0
L275 🔴 global_write
Global write: card_game_21_rate
Impact: low
Show code
card_game_21_rate=value_card_21_max_rate
L278 🔴 global_write
Global write: card_game_21_rate
Impact: low
Show code
card_game_21_rate=db.actor:money()
L448 🔴 global_write
Global write: card_game_21_show_winner
Impact: low
Show code
card_game_21_show_winner="hide"
L453 🔴 global_write
Global write: card_game_21_increasing_rate
Impact: low
Show code
card_game_21_increasing_rate=200
L455 🔴 global_write
Global write: card_game_21_increasing_rate
Impact: low
Show code
card_game_21_increasing_rate=50
L493 🔴 global_write
Global write: card_game_21_your_points
Impact: low
Show code
card_game_21_your_points=card_game_21_your_points+result
L495 🔴 global_write
Global write: card_game_21_enemy_points
Impact: low
Show code
card_game_21_enemy_points=card_game_21_enemy_points+result
L564 🔴 global_write
Global write: card_game_21_rate
Impact: low
Show code
card_game_21_rate=card_game_21_rate-card_game_21_increasing_rate
L567 🔴 global_write
Global write: card_game_21_rate
Impact: low
Show code
card_game_21_rate=card_game_21_rate+card_game_21_increasing_rate
L583 🔴 global_write
Global write: card_game_21_stage
Impact: low
Show code
card_game_21_stage="taked_rate"
L593 🔴 global_write
Global write: card_game_21_stage
Impact: low
Show code
card_game_21_stage="need_rate"
L594 🔴 global_write
Global write: card_game_21_info_about_your
Impact: low
Show code
card_game_21_info_about_your=""
L595 🔴 global_write
Global write: card_game_21_info_about_enemy
Impact: low
Show code
card_game_21_info_about_enemy=""
L596 🔴 global_write
Global write: card_game_21_enemy_name
Impact: low
Show code
card_game_21_enemy_name=""
L597 🔴 global_write
Global write: card_game_21_your_points
Impact: low
Show code
card_game_21_your_points=0
L598 🔴 global_write
Global write: card_game_21_enemy_points
Impact: low
Show code
card_game_21_enemy_points=0
L599 🔴 global_write
Global write: card_game_21_take_else
Impact: low
Show code
card_game_21_take_else="empty_card"
L600 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="none"
L602 🔴 global_write
Global write: card_game_21_rate
Impact: low
Show code
card_game_21_rate=0
L604 🔴 global_write
Global write: card_game_21_show_winner
Impact: low
Show code
card_game_21_show_winner="hide"
L608 🔴 global_write
Global write: card_game_21_difficulty
Impact: low
Show code
card_game_21_difficulty=get_random_line("easy,normal,hard")
L611 🔴 global_write
Global write: card_game_21_stage
Impact: low
Show code
card_game_21_stage="play_game"
L612 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="none"
L613 🔴 global_write
Global write: card_game_21_info_about_your
Impact: low
Show code
card_game_21_info_about_your=st_21_point_info_about_your.." "..card_game_21_rate.." "..st_21_point_money
L614 🔴 global_write
Global write: card_game_21_info_about_enemy
Impact: low
Show code
card_game_21_info_about_enemy=card_game_21_enemy_name..st_21_point_info_about_enemy.." "..card_game_21_rate.." "..st_21_point_web_money
L628 🔴 global_write
Global write: card_game_21_take_else
Impact: low
Show code
card_game_21_take_else="1st_card"
L634 🔴 global_write
Global write: card_game_21_take_else
Impact: low
Show code
card_game_21_take_else="2nd_card"
L640 🔴 global_write
Global write: card_game_21_take_else
Impact: low
Show code
card_game_21_take_else="3rd_card"
L682 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="your"
L684 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="enemy"
L687 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="your"
L689 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="enemy"
L691 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="equally"
L696 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="equally"
L698 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="your"
L700 🔴 global_write
Global write: card_game_21_winner
Impact: low
Show code
card_game_21_winner="enemy"
L703 🔴 global_write
Global write: card_game_21_stage
Impact: low
Show code
card_game_21_stage="end_game"
L706 🔴 global_write
Global write: card_game_21_show_winner
Impact: low
Show code
card_game_21_show_winner="begin_show"
L732 🔴 global_write
Global write: card_game_21_show_winner
Impact: low
Show code
card_game_21_show_winner="end_show"
L768 🔴 global_write
Global write: bool_travel_level_change
Impact: low
Show code
bool_travel_level_change=false
L769 🔴 global_write
Global write: bool_throw_level_change
Impact: low
Show code
bool_throw_level_change=true
L779 🔴 global_write
Global write: bool_travel_level_change
Impact: low
Show code
bool_travel_level_change=true
L789 🔴 global_write
Global write: bool_travel_level_change
Impact: low
Show code
bool_travel_level_change=false
L790 🔴 global_write
Global write: bool_throw_level_change
Impact: low
Show code
bool_throw_level_change=true
L815 🔴 global_write
Global write: bool_is_ui_disabled
Impact: low
Show code
bool_is_ui_disabled=true
L819 🔴 global_write
Global write: bool_is_ui_disabled
Impact: low
Show code
bool_is_ui_disabled=false
L835 🔴 global_write
Global write: line_table
Impact: low
Show code
line_table=parse_general_names(line)
L1009 🔴 global_write
Global write: result
Impact: low
Show code
result=false
L1011 🔴 global_write
Global write: result
Impact: low
Show code
result=true
L1015 🔴 global_write
Global write: result
Impact: low
Show code
result=true
L1017 🔴 global_write
Global write: result
Impact: low
Show code
result=false

ui_pda_encyclopedia_tab.script

L376 🟢 repeated_obj_section()
obj:section() called 3x in detect_intereaction
Impact: low
Show code
Cache obj:section() result
L952 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. "\\n " .. utils_xml.get_color("ui_gray_1") .. " " .. game.translate_string(gr.name) .. ": " .. clr .. g_tostring(value)
L978 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. "\\n \\n" .. utils_xml.get_color("pda_white") .. ui_item.get_sec_name(id) .. ":"
L324 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
else printf("Encyclopedia category \"" .. categories[i].section .. "\" does not exist.") end
L332 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Encyclopedia interactivity section \"" .. plugin_section .. "\" does not exist.")

288- ACE52 Rifle Replacer - Firebreath

7 files (🟢1 🟡0 🔴24 🔵3)

ace52_autoinject.script

L52 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

aol_anim_transitions.script

L6 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L23 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L1 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L17 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {

aol_sprint_cancel.script

L18 🔴 global_write
Global write: aol_anim_transitions_actor_on_hud_animation_play
Impact: low
Show code
aol_anim_transitions_actor_on_hud_animation_play = aol_anim_transitions.actor_on_hud_animation_play

inventory_upgrades_mp.script

L4 🔴 global_write
Global write: ini_parts
Impact: low
Show code
ini_parts = itms_manager.ini_parts
L83 🔴 global_write
Global write: OnRepair
Impact: low
Show code
OnRepair = ui_inventory.UIInventory.RMode_OnRepair
L99 🔴 global_write
Global write: RepairYes
Impact: low
Show code
RepairYes = ui_inventory.UIInventory.RMode_RepairYes

loadouts_injector.script

L224 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: NPC Loadouts | wrong ammo_type set for [%s], missing value in ammo_class", section)
L52 🔴 global_write
Global write: tmp
Impact: low
Show code
tmp = ini_loadouts:r_string_ex("settings","scope_chance")
L54 🔴 global_write
Global write: tmp
Impact: low
Show code
tmp = str_explode(tmp,",")
L74 🔴 global_write
Global write: tmp
Impact: low
Show code
tmp = str_explode(id,":")
L92 🔴 global_write
Global write: tokens
Impact: low
Show code
tokens = str_explode(loadout, "_")
L106 🔴 global_write
Global write: faction
Impact: low
Show code
faction, rank, slot = unpack(tokens)
L106 🔴 global_write
Global write: rank
Impact: low
Show code
faction, rank, slot = unpack(tokens)
L106 🔴 global_write
Global write: slot
Impact: low
Show code
faction, rank, slot = unpack(tokens)
L107 🔴 global_write
Global write: slot
Impact: low
Show code
slot = slots[slot]
L117 🔴 global_write
Global write: l
Impact: low
Show code
l = custom_loadouts[faction][rank][slot]
L130 🔴 global_write
Global write: CreateItem
Impact: low
Show code
CreateItem = xrs_rnd_npc_loadout.create_item_on_npc
L178 🔴 global_write
Global write: id
Impact: low
Show code
id = custom_tbl[pick]

trader_autoinject.script

L182 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

z_parts_inject.script

L1 🔴 global_write
Global write: cached_r_string_ex
Impact: low
Show code
cached_r_string_ex = itms_manager.ini_parts.r_string_ex
L2 🔴 global_write
Global write: cached_parse_list
Impact: low
Show code
cached_parse_list = _G.parse_list
L3 🔴 global_write
Global write: parts_custom
Impact: low
Show code
parts_custom = {}
L4 🔴 global_write
Global write: parts_custom_ini
Impact: low
Show code
parts_custom_ini = {

290- Atmospherics Shaders Weathers and Reshade - Hippobot

2 files (🟢0 🟡0 🔴7 🔵1)

fogFX.script

L65 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L66 🔴 global_write
Global write: delay
Impact: low
Show code
delay = 100 -- time in milliseconds between each update. By default actor_on_update is run *every frame*.
L68 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L71 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + delay
L72 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 1
L76 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L80 🔴 global_write
Global write: play_leaves
Impact: low
Show code
play_leaves = leaves_maps[actor_level]

yawm_effects.script

L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No snowfall")

290- Atmospherics Shaders Weathers and Reshade Latest - Hippobot

19 files (🟢1 🟡0 🔴19 🔵18)

ssfx_ao_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "ao", sh=true, text="ui_mcm_ssfx_module_ao", gr = {

ssfx_florafixes_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "florafixes", sh=true, text="ui_mcm_ssfx_module_florafixes", gr ={

ssfx_fog_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "fog", sh=true, text="ui_mcm_ssfx_module_fog", gr ={

ssfx_il_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "il", sh=true, text="ui_mcm_ssfx_module_il", gr = {

ssfx_il_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_lut.script

L141 🔴 global_write
Global write: Map_LUT
Impact: low
Show code
Map_LUT = ssfx_maps[level.name()].group or ssfx_lut_default.group
L144 🔴 global_write
Global write: Map_LUT
Impact: low
Show code
Map_LUT = ssfx_lut_default.group

ssfx_parallax_mcm.script

L9 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "parallax", sh=true, text="ui_mcm_ssfx_module_parallax", gr = {

ssfx_pp_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = "ssfx_pp", sh=false ,gr = {

ssfx_rain_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = "ssfx_rain_module", sh=false ,gr = {

ssfx_shadow_cascades_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "shw_cascades", sh=true, text="ui_mcm_ssfx_module_shw_cascades", gr ={

ssfx_shadows_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "shadows", sh=true, text="ui_mcm_ssfx_module_shadows", gr ={

ssfx_ssr_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "ssr", sh=true, text="ui_mcm_ssfx_module_ssr", gr ={

ssfx_ssr_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_terrain_mcm.script

L9 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "terrain", sh=true, text="ui_mcm_ssfx_module_terrain", gr = {

ssfx_water_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "water", sh=true, text="ui_mcm_ssfx_module_water", gr = {

ssfx_wetness_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = "ssfx_wetness", sh=false ,gr = {

ssfx_wetness_settings.script

L8 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings =

ssfx_wind_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "wind", sh=true, text="ui_mcm_ssfx_module_wind", gr ={

visual_memory_manager.script

L240 🟢 repeated_outfit_section()
outfit:section() called 3x in slot_in_out
Impact: low
Show code
Cache outfit:section() result
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('---------------------------------------------------------------')
L168 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Weather is: " .. (wthrs))
L169 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1. Luminocity ---------- %s", Luminocity)
L170 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1.a) luminocity --------- %s", luminocity)
L171 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1.b) lights_lum() ------- %s", lights_lum())
L172 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1.c) who:get_lum() ---- %s", who:get_luminocity())
L173 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("2. Velocity ------------- %s", Velocity)
L174 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("3. dist_original --------- %s", distance)
L175 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("4. weight&outfit ------- %s", weight)
L176 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("5. crouch ------------- %s", crouch)
L177 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.a) shot_mult --------- %s", shot_mult)
L178 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.b) danger ------------ %s", danger_mult)
L179 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.c) camo ------------- %s", camo_x)
L180 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.d) ai scheme --------- %s", scheme_mult)
L181 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.e) get_camo_k ------ %s", get_camo_k)
L182 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.f) jacketmult --------- %s", jacketmult)
L183 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("7. memory ------------- %s", memory_factor)
L184 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("8. Step incr --- %s", step_incr)

292- Ithaca M37 Shotgun - Blackgrowl

7 files (🟢1 🟡2 🔴24 🔵4)

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

loadouts_injector.script

L224 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: NPC Loadouts | wrong ammo_type set for [%s], missing value in ammo_class", section)
L52 🔴 global_write
Global write: tmp
Impact: low
Show code
tmp = ini_loadouts:r_string_ex("settings","scope_chance")
L54 🔴 global_write
Global write: tmp
Impact: low
Show code
tmp = str_explode(tmp,",")
L74 🔴 global_write
Global write: tmp
Impact: low
Show code
tmp = str_explode(id,":")
L92 🔴 global_write
Global write: tokens
Impact: low
Show code
tokens = str_explode(loadout, "_")
L106 🔴 global_write
Global write: faction
Impact: low
Show code
faction, rank, slot = unpack(tokens)
L106 🔴 global_write
Global write: rank
Impact: low
Show code
faction, rank, slot = unpack(tokens)
L106 🔴 global_write
Global write: slot
Impact: low
Show code
faction, rank, slot = unpack(tokens)
L107 🔴 global_write
Global write: slot
Impact: low
Show code
slot = slots[slot]
L117 🔴 global_write
Global write: l
Impact: low
Show code
l = custom_loadouts[faction][rank][slot]
L130 🔴 global_write
Global write: CreateItem
Impact: low
Show code
CreateItem = xrs_rnd_npc_loadout.create_item_on_npc
L178 🔴 global_write
Global write: id
Impact: low
Show code
id = custom_tbl[pick]

sassy_ithaca_trade_inject.script

L60 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! Trader has no supplies for this supply level [%s] - [%s]", npc_name, supply_level)
L74 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

trader_autoinject.script

L182 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

z_parts_inject.script

L1 🔴 global_write
Global write: cached_r_string_ex
Impact: low
Show code
cached_r_string_ex = itms_manager.ini_parts.r_string_ex
L2 🔴 global_write
Global write: cached_parse_list
Impact: low
Show code
cached_parse_list = _G.parse_list
L3 🔴 global_write
Global write: parts_custom
Impact: low
Show code
parts_custom = {}
L4 🔴 global_write
Global write: parts_custom_ini
Impact: low
Show code
parts_custom_ini = {

293- PDA Taskboard - iTheon

4 files (🟢0 🟡0 🔴14 🔵9)

optimized_time_events.script

L59 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L62 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L64 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L69 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L71 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L75 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L77 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L82 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L84 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)

pda_taskboard_mcm.script

L2 🔴 global_write
Global write: config
Impact: low
Show code
config = {
L8 🔴 global_write
Global write: op
Impact: low
Show code
op = {

ui_pda_taskboard_tab.script

L97 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = nil -- required for fetch quest override
L99 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = task_data.npc_id
L114 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = nil
L137 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = task_details.npc_id
L139 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = nil
L250 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = npc:id()
L256 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = nil
L432 🔴 global_write
Global write: normalizer
Impact: low
Show code
normalizer = {
L454 🔴 global_write
Global write: config
Impact: low
Show code
config = load_defaults()
L457 🔴 global_write
Global write: config
Impact: low
Show code
config = load_defaults()

z_taskboard_overrides.script

L1 🔴 global_write
Global write: tasks_info
Impact: low
Show code
tasks_info = {}
L56 🔴 global_write
Global write: tasks_info
Impact: low
Show code
tasks_info = {}

294- Autolooter - iTheon

3 files (🟢1 🟡0 🔴11 🔵2)

auto_looter_mcm.script

L264 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(_)
L266 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(v.id)
L1 🔴 global_write
Global write: disassemble_ammo_options
Impact: low
Show code
disassemble_ammo_options = {
L7 🔴 global_write
Global write: disassemble_armor_options
Impact: low
Show code
disassemble_armor_options = {
L13 🔴 global_write
Global write: disassemble_weapon_options
Impact: low
Show code
disassemble_weapon_options = {
L19 🔴 global_write
Global write: strip_weapon_options
Impact: low
Show code
strip_weapon_options = {
L25 🔴 global_write
Global write: disassemble_misc_items_defaults
Impact: low
Show code
disassemble_misc_items_defaults = {
L56 🔴 global_write
Global write: loot_misc_items_defaults
Impact: low
Show code
loot_misc_items_defaults = {
L89 🔴 global_write
Global write: loot_part_options
Impact: low
Show code
loot_part_options = {
L96 🔴 global_write
Global write: config
Impact: low
Show code
config = {
L131 🔴 global_write
Global write: op
Impact: low
Show code
op = {

z_auto_looter.script

L21 🔴 global_write
Global write: config
Impact: low
Show code
config = load_defaults()
L24 🔴 global_write
Global write: config
Impact: low
Show code
config = load_defaults()

zzzz_auto_looter_fix_by_kdvfirehawk.script

L26 🟢 repeated_obj_d_section()
obj_d:section() called 4x in is_breaking_local
Impact: low
Show code
Cache obj_d:section() result

296- Atmospherics Shaders Weathers and Reshade - Hippobot

2 files (🟢0 🟡0 🔴7 🔵1)

fogFX.script

L65 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L66 🔴 global_write
Global write: delay
Impact: low
Show code
delay = 100 -- time in milliseconds between each update. By default actor_on_update is run *every frame*.
L68 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L71 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + delay
L72 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 1
L76 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L80 🔴 global_write
Global write: play_leaves
Impact: low
Show code
play_leaves = leaves_maps[actor_level]

yawm_effects.script

L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No snowfall")

296- Custom Companions Squad Size - CatspawMods

2 files (🟢0 🟡0 🔴10 🔵1)

catsy_customsquadsize_mcm.script

L9 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "customsquadsize", sh=true, gr={

custom_companion_squad_size.script

L21 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logtext, ...)
L4 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.4"
L5 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20240907
L14 🔴 global_write
Global write: use_custom_squad_size
Impact: low
Show code
use_custom_squad_size = false -- Edit this to true to use without MCM
L15 🔴 global_write
Global write: squad_size_normal
Impact: low
Show code
squad_size_normal = 2 -- Default actor squad size
L16 🔴 global_write
Global write: squad_size_folkhero
Impact: low
Show code
squad_size_folkhero = 4 -- Actor squad size with Patriarch achievement
L17 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false -- Enables debug logging
L37 🔴 global_write
Global write: squad_size_normal
Impact: low
Show code
squad_size_normal = ui_mcm.get("customsquadsize/maxsquadsize")
L38 🔴 global_write
Global write: squad_size_folkhero
Impact: low
Show code
squad_size_folkhero = ui_mcm.get("customsquadsize/maxsquadsize_folkhero")
L39 🔴 global_write
Global write: use_custom_squad_size
Impact: low
Show code
use_custom_squad_size = true

300- Blood pool with trails and steps - xcvb

2 files (🟢0 🟡0 🔴16 🔵10)

blood_pool.script

L35 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_G.printf(...)
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("removing pool %s, %s", npc_id, p)
L170 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("found vec to remove %s, %s", npc_id, p)
L183 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("body %s settled", npc_id)
L188 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("body %s still moving", npc_id)
L201 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("body %s is moved", npc_id)
L246 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("actor died, spawn pool")
L268 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s near blood pool", obj:name())
L297 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("heading %s", heading)
L325 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("placing bloodstep for %s", obj:name())
L13 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()
L16 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()
L39 🔴 global_write
Global write: pool_starts_in
Impact: low
Show code
pool_starts_in = 5
L40 🔴 global_write
Global write: blood_textures_amount
Impact: low
Show code
blood_textures_amount = 24
L41 🔴 global_write
Global write: pool_size_mult
Impact: low
Show code
pool_size_mult = {
L89 🔴 global_write
Global write: boneList
Impact: low
Show code
boneList = {
L108 🔴 global_write
Global write: saved_pool
Impact: low
Show code
saved_pool = {}
L109 🔴 global_write
Global write: alreadyLeakedPools
Impact: low
Show code
alreadyLeakedPools = {}
L257 🔴 global_write
Global write: stepMaxCount
Impact: low
Show code
stepMaxCount = 10
L258 🔴 global_write
Global write: size
Impact: low
Show code
size = 0.17
L259 🔴 global_write
Global write: triggerDistance
Impact: low
Show code
triggerDistance = 0.7^2
L260 🔴 global_write
Global write: texture
Impact: low
Show code
texture = "blood_step_"
L351 🔴 global_write
Global write: og_npc_on_foot_step
Impact: low
Show code
og_npc_on_foot_step = z_npc_footsteps.npc_on_foot_step
L357 🔴 global_write
Global write: net_spawn
Impact: low
Show code
net_spawn = xr_motivator.motivator_binder.net_spawn
L379 🔴 global_write
Global write: net_destroy
Impact: low
Show code
net_destroy = xr_motivator.motivator_binder.net_destroy

blood_pool_mcm.script

L1 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "blood_pool",sh=true ,gr={

301- Immersive Skinning - Utjan

1 file (🟢0 🟡0 🔴5 🔵0)

immersive_skinning.script

L1 🔴 global_write
Global write: kind_to_section
Impact: low
Show code
kind_to_section = {
L18 🔴 global_write
Global write: clsid_to_section
Impact: low
Show code
clsid_to_section = {
L39 🔴 global_write
Global write: clsdbg_to_section
Impact: low
Show code
clsdbg_to_section = {
L56 🔴 global_write
Global write: monsterTable
Impact: low
Show code
monsterTable = {
L351 🔴 global_write
Global write: Loot
Impact: low
Show code
Loot = ui_mutant_loot.UIMutantLoot.Loot

302- Minimalist companion UI moddb - Kageeskl

1 file (🟢0 🟡0 🔴5 🔵0)

immersive_skinning.script

L1 🔴 global_write
Global write: kind_to_section
Impact: low
Show code
kind_to_section = {
L18 🔴 global_write
Global write: clsid_to_section
Impact: low
Show code
clsid_to_section = {
L39 🔴 global_write
Global write: clsdbg_to_section
Impact: low
Show code
clsdbg_to_section = {
L56 🔴 global_write
Global write: monsterTable
Impact: low
Show code
monsterTable = {
L351 🔴 global_write
Global write: Loot
Impact: low
Show code
Loot = ui_mutant_loot.UIMutantLoot.Loot

307- French Rework Improved Translation & Enhanced Style - Thundard

1 file (🟢0 🟡0 🔴10 🔵19)

sim_offline_combat.script

L143 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% OCS | Battle in smart [%s]", smart:name())
L144 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("------------------------------------------------------------------------")
L155 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% OCS | Battle in smart [%s]", smart:name())
L156 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("------------------------------------------------------------------------")
L170 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!!! TRYING TO REGISTER NON-SQUAD AS SQUAD")
L209 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("------------------------------------------------------------------------")
L220 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("------------------------------------------------------------------------")
L363 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- OCS | Combat Distance: %s - Execlude special characters: %s - Mutants included: %s", opt_dist, opt_exclude, can_fight_mutant)
L426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% OCS | [%s] is special, [%s] is removed", squad_1:name(), squad_2:name())
L440 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% OCS | [%s] is special, [%s] is removed", squad_2:name(), squad_1:name())
L511 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("BANTER PAIR, banter: %s, reply: %s", banter, reply)
L518 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Attempting to send battle banter")
L527 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Attempting to send battle banter 1")
L532 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Attempting to send battle banter 2")
L577 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("OFFLINE BATTLE OCCURRED BETWEEN %s and %s", squad_1:name(), squad_2:name())
L585 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ OCS | %s | Attacker [%s](Power: %s) vs Victim [%s](Power: %s) | Damage: %s",
L596 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! OCS | Squad gone [%s] | Moment: %s sec", squad_2:name(), math_ceil(time_global()/1000))
L615 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ OCS | Squad [%s] lost NPC [%s] | Remaining power: %s | Moment: %s sec", squad_2:name(), se_victim:name(), ocs_power[id_2], math_ceil(time_global()/1000))
L622 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! OCS | Squad gone [%s] | Moment: %s sec", squad_2:name(), math_ceil(time_global()/1000))
L53 🔴 global_write
Global write: task_squads
Impact: low
Show code
task_squads = {}
L55 🔴 global_write
Global write: story_id_communities
Impact: low
Show code
story_id_communities = {}
L56 🔴 global_write
Global write: ignore_list
Impact: low
Show code
ignore_list = {}
L59 🔴 global_write
Global write: ocs_power
Impact: low
Show code
ocs_power = {}
L60 🔴 global_write
Global write: opponents
Impact: low
Show code
opponents = {}
L61 🔴 global_write
Global write: squads_by_level
Impact: low
Show code
squads_by_level = {}
L140 🔴 global_write
Global write: in_combat
Impact: low
Show code
in_combat = validate_enemy(sim, lid_1, squad_1, id_1, id_t, community_1)
L152 🔴 global_write
Global write: in_combat
Impact: low
Show code
in_combat = validate_enemy(sim, lid_1, squad_1, id_1, id_2, community_1)
L533 🔴 global_write
Global write: npc_c
Impact: low
Show code
npc_c = npc_a
L831 🔴 global_write
Global write: task_squads
Impact: low
Show code
task_squads = m_data.offline_task_squads or {}

311- NPC Stop Looting Dead Bodies - DTTheGunslinger

1 file (🟢2 🟡1 🔴5 🔵4)

death_manager.script

L513 🟢 repeated_itm_section()
itm:section() called 3x in itr
Impact: low
Show code
Cache itm:section() result
L579 🟢 repeated_itm_section()
itm:section() called 3x in set_weapon_drop_condition
Impact: low
Show code
Cache itm:section() result
L891 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. " , " .. info.sec .. " (" .. info.num .. ")" .. add
L343 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR [%s] is not spawned by ItemProcessor",section)
L876 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("----------------------------------------------------------")
L893 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(str)
L895 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("----------------------------------------------------------")
L21 🔴 global_write
Global write: item_by_story_id
Impact: low
Show code
item_by_story_id = {}
L65 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = death_ini:r_line_ex(x,i,"","")
L106 🔴 global_write
Global write: item_by_story_id
Impact: low
Show code
item_by_story_id = {}
L156 🔴 global_write
Global write: items_by_npc
Impact: low
Show code
items_by_npc = {} -- table = trade, false = no trade, nil = not asked yet
L746 🔴 global_write
Global write: items_by_npc
Impact: low
Show code
items_by_npc = m_data.items_by_npc or {}

315- SVU Reanimation & Remodel - BarryBogs

6 files (🟢2 🟡2 🔴11 🔵2)

animation_common.script

L86 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

fire_queue_cancel.script

L22 🟢 repeated_wpn_section()
wpn:section() called 4x in on_before_key_press
Impact: low
Show code
Cache wpn:section() result

svu_custom_inspects.script

L5 🔴 global_write
Global write: n
Impact: low
Show code
n = ini_sys:line_count(snd_path) or 0
L7 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = ini_sys:r_line_ex(snd_path,i,"","")
L7 🔴 global_write
Global write: id
Impact: low
Show code
result, id, value = ini_sys:r_line_ex(snd_path,i,"","")
L7 🔴 global_write
Global write: value
Impact: low
Show code
result, id, value = ini_sys:r_line_ex(snd_path,i,"","")
L29 🔴 global_write
Global write: valid_guns
Impact: low
Show code
valid_guns = {

wpn_sway_enable.script

L4 🔴 global_write
Global write: valid_wpns
Impact: low
Show code
valid_wpns = {

316- SPAS12 Reanimation & Remodel - Firebreath

5 files (🟢1 🟡2 🔴11 🔵4)

animation_common.script

L86 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

utjan_mag_check.script

L14 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Old mag check script (ammo_check_mcm) detected. Remove it to get full features of mag checks")
L91 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Old mag check script (ammo_check_mcm) detected. Remove it to get full features of mag checks")
L3 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = nil
L6 🔴 global_write
Global write: base_check_Ammo
Impact: low
Show code
base_check_Ammo = ammo_check_mcm.check_Ammo
L63 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = 1
L67 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = nil
L87 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = 2

318- BAS Saiga Reanimation v2 - Synd1cate

3 files (🟢0 🟡2 🔴6 🔵2)

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

319- Vihr Reanimation - SeDzhiMol

4 files (🟢1 🟡2 🔴6 🔵4)

animation_common.script

L83 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result
L63 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("stop_all_sound_object(sec): %s", sec)
L67 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sec: %s| Stopping: %s", sec, path)

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

320- PP2000 Remodel & Reanimation - SeDzhiMol

4 files (🟢1 🟡2 🔴6 🔵2)

animation_common.script

L86 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

321- 9a91 Reanimation - SeDzhiMol

4 files (🟢1 🟡2 🔴6 🔵4)

animation_common.script

L83 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result
L63 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("stop_all_sound_object(sec): %s", sec)
L67 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sec: %s| Stopping: %s", sec, path)

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

327- Semi Radiant AI - xcvb

2 files (🟢1 🟡0 🔴1 🔵0)

semiradiant_ai_mcm.script

L15 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "rad_ai",sh=true ,gr={

xr_cond_snipers_add.script

L25 🟢 repeated_wpn_section()
wpn:section() called 4x in <global>
Impact: low
Show code
Cache wpn:section() result

328- Higher Rank NPCs Headlight Disabled - KraizerX

1 file (🟢0 🟡0 🔴1 🔵0)

tmp9.script

L5 🔴 global_write
Global write: some_sr_light_patch
Impact: low
Show code
some_sr_light_patch = sr_light.check_light

329- Fair Fast Travel - Catspaw

1 file (🟢0 🟡0 🔴68 🔵2)

game_fast_travel.script

L376 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("<FFT> "..logtext,...)
L1257 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("<FFT> Performing one-time import of pre-1.8 Fair Fast Travel settings\nYou may see MCM complain about a bunch of nil values; this is harmless and expected")
L21 🔴 global_write
Global write: longnames
Impact: low
Show code
longnames = false
L22 🔴 global_write
Global write: markermessage
Impact: low
Show code
markermessage = false
L23 🔴 global_write
Global write: basecfg
Impact: low
Show code
basecfg = {
L50 🔴 global_write
Global write: tsmarts
Impact: low
Show code
tsmarts = nil
L54 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "2.3.2"
L66 🔴 global_write
Global write: skillsystem_exists
Impact: low
Show code
skillsystem_exists = (haru_skills ~= nil)
L67 🔴 global_write
Global write: skillsystem_enabled
Impact: low
Show code
skillsystem_enabled = false
L68 🔴 global_write
Global write: skillsystem_started
Impact: low
Show code
skillsystem_started = false
L69 🔴 global_write
Global write: tick_int
Impact: low
Show code
tick_int = 1080
L71 🔴 global_write
Global write: stored_satiety
Impact: low
Show code
stored_satiety = 1
L72 🔴 global_write
Global write: survival_paused
Impact: low
Show code
survival_paused = false
L73 🔴 global_write
Global write: skillspeed_coef
Impact: low
Show code
skillspeed_coef = 1.0
L74 🔴 global_write
Global write: dist_cost_coef
Impact: low
Show code
dist_cost_coef = 5
L75 🔴 global_write
Global write: enc_damage_mult
Impact: low
Show code
enc_damage_mult = 0.2
L76 🔴 global_write
Global write: npc_combat_timeout
Impact: low
Show code
npc_combat_timeout = 10000
L77 🔴 global_write
Global write: npc_combat_distance
Impact: low
Show code
npc_combat_distance = 100
L79 🔴 global_write
Global write: combat_npcs
Impact: low
Show code
combat_npcs = {}
L80 🔴 global_write
Global write: flags
Impact: low
Show code
flags = {}
L81 🔴 global_write
Global write: trip_in_progress
Impact: low
Show code
trip_in_progress = false
L82 🔴 global_write
Global write: guide_travel
Impact: low
Show code
guide_travel = true -- Enable hiring guides from the PDA - configurable in MCM
L83 🔴 global_write
Global write: guide_travel_time
Impact: low
Show code
guide_travel_time = true -- If true, guide travel includes the time it takes the guide to reach you
L84 🔴 global_write
Global write: guides_local_only
Impact: low
Show code
guides_local_only = false -- If true, guides will only come meet you if you're on the same map
L85 🔴 global_write
Global write: guide_max_dist
Impact: low
Show code
guide_max_dist = nil -- The max distance a guide will travel to meet you, or nil if no limit
L87 🔴 global_write
Global write: guides_ignore_status
Impact: low
Show code
guides_ignore_status = true -- If enabled, guides ignore wounded and overweight status for fast travel
L89 🔴 global_write
Global write: ftdisguisefix
Impact: low
Show code
ftdisguisefix = true -- Whether to use FFTD's fix for disguises getting exposed when you fast travel
L90 🔴 global_write
Global write: allow_debug_travel
Impact: low
Show code
allow_debug_travel = false
L91 🔴 global_write
Global write: shared_ft_cooldown
Impact: low
Show code
shared_ft_cooldown = false
L92 🔴 global_write
Global write: allow_open_bp
Impact: low
Show code
allow_open_bp = false -- Re-enables vanilla feature of opening backpacks from anywhere on the map
L93 🔴 global_write
Global write: use_warfare_fix
Impact: low
Show code
use_warfare_fix = false -- Fix for WAO compatibility, skips adding fast travel icons to map
L94 🔴 global_write
Global write: cond_damage_mode
Impact: low
Show code
cond_damage_mode = 1
L95 🔴 global_write
Global write: disable_gear_damage
Impact: low
Show code
disable_gear_damage = false -- Killswitch for gear damage feature
L96 🔴 global_write
Global write: minimum_health
Impact: low
Show code
minimum_health = 0
L97 🔴 global_write
Global write: minimum_satiety
Impact: low
Show code
minimum_satiety = 0
L113 🔴 global_write
Global write: travel_data
Impact: low
Show code
travel_data = {
L217 🔴 global_write
Global write: guide_ignored_levels
Impact: low
Show code
guide_ignored_levels = {
L238 🔴 global_write
Global write: faction_guides
Impact: low
Show code
faction_guides = {
L283 🔴 global_write
Global write: guides_by_level_name
Impact: low
Show code
guides_by_level_name = {}
L287 🔴 global_write
Global write: guidespots_by_level_name
Impact: low
Show code
guidespots_by_level_name = {
L422 🔴 global_write
Global write: flags
Impact: low
Show code
flags = {}
L1049 🔴 global_write
Global write: trip_in_progress
Impact: low
Show code
trip_in_progress = false
L1128 🔴 global_write
Global write: survival_paused
Impact: low
Show code
survival_paused = false
L1133 🔴 global_write
Global write: stored_satiety
Impact: low
Show code
stored_satiety = cond:GetSatiety()
L1143 🔴 global_write
Global write: survival_paused
Impact: low
Show code
survival_paused = false
L1164 🔴 global_write
Global write: using_guide
Impact: low
Show code
using_guide = tt == "gt"
L1176 🔴 global_write
Global write: trip_in_progress
Impact: low
Show code
trip_in_progress= true
L1215 🔴 global_write
Global write: survival_paused
Impact: low
Show code
if pause_survival then survival_paused = true end
L1247 🔴 global_write
Global write: trip_in_progress
Impact: low
Show code
trip_in_progress = false
L1294 🔴 global_write
Global write: skillsystem_enabled
Impact: low
Show code
skillsystem_enabled = ui_mcm.get("fftd/gen/skillsystem_enabled")
L1295 🔴 global_write
Global write: shared_ft_cooldown
Impact: low
Show code
shared_ft_cooldown = ui_mcm.get("fftd/gen/shared_cooldown")
L1296 🔴 global_write
Global write: npc_combat_dist
Impact: low
Show code
npc_combat_dist = ui_mcm.get("fftd/gen/combat_dist") or npc_combat_dist
L1297 🔴 global_write
Global write: npc_combat_timeout
Impact: low
Show code
npc_combat_timeout = ui_mcm.get("fftd/gen/combat_timeout") or npc_combat_timeout
L1298 🔴 global_write
Global write: allow_debug_travel
Impact: low
Show code
allow_debug_travel = ui_mcm.get("fftd/gen/allow_debug_travel")
L1299 🔴 global_write
Global write: allow_open_bp
Impact: low
Show code
allow_open_bp = ui_mcm.get("fftd/gen/allow_open_bp")
L1300 🔴 global_write
Global write: use_warfare_fix
Impact: low
Show code
use_warfare_fix = ui_mcm.get("fftd/gen/use_warfare_fix")
L1303 🔴 global_write
Global write: tick_int
Impact: low
Show code
tick_int = ti
L1305 🔴 global_write
Global write: cond_damage_mode
Impact: low
Show code
cond_damage_mode = g_tonumber(ui_mcm.get("fftd/gen/cond_dmg_mode")) or 0
L1306 🔴 global_write
Global write: minimum_health
Impact: low
Show code
minimum_health = clamp(g_tonumber(ui_mcm.get("fftd/gen/minimum_health") or minimum_health),0,1)
L1307 🔴 global_write
Global write: minimum_satiety
Impact: low
Show code
minimum_satiety = clamp(g_tonumber(ui_mcm.get("fftd/gen/minimum_satiety") or minimum_satiety),0,1)
L1335 🔴 global_write
Global write: guide_travel_time
Impact: low
Show code
guide_travel_time = gtcfg.add_travel_time
L1336 🔴 global_write
Global write: guides_local_only
Impact: low
Show code
guides_local_only = gtcfg.local_only
L1342 🔴 global_write
Global write: skillspeed_coef
Impact: low
Show code
skillspeed_coef = dec2(1 / haru_skills.skills_stats["endurance"].speed_modifier)
L1408 🔴 global_write
Global write: longnames
Impact: low
Show code
longnames = ui_options.get("gameplay/fast_travel/long_names")
L1409 🔴 global_write
Global write: markermessage
Impact: low
Show code
markermessage = ui_options.get("gameplay/fast_travel/visit_message")
L1413 🔴 global_write
Global write: tsmarts
Impact: low
Show code
tsmarts = utils_data.collect_section(pini,faction,true)
L1473 🔴 global_write
Global write: skillsystem_started
Impact: low
Show code
skillsystem_started = end_lvl ~= nil
L1484 🔴 global_write
Global write: survival_paused
Impact: low
Show code
survival_paused = fts.survival_paused
L1491 🔴 global_write
Global write: stored_satiety
Impact: low
Show code
stored_satiety = fts.stored_satiety
L1542 🔴 global_write
Global write: guide_max_dist
Impact: low
Show code
guide_max_dist = guide_max_dist or 50000

329- Fair Fast Travel 2.7+ - Catspaw

7 files (🟢0 🟡1 🔴150 🔵15)

catsy_fftd_mcm.script

L64 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "fftd", gr={

game_backpack_travel.script

L22 🔴 global_write
Global write: bp_travel
Impact: low
Show code
bp_travel = nil
L23 🔴 global_write
Global write: bp_combat
Impact: low
Show code
bp_combat = nil
L24 🔴 global_write
Global write: bp_damage
Impact: low
Show code
bp_damage = nil
L25 🔴 global_write
Global write: bp_notime
Impact: low
Show code
bp_notime = nil
L26 🔴 global_write
Global write: bp_storm
Impact: low
Show code
bp_storm = nil
L27 🔴 global_write
Global write: bp_weight
Impact: low
Show code
bp_weight = nil
L30 🔴 global_write
Global write: bp_travel
Impact: low
Show code
bp_travel = ui_options.get("gameplay/backpack_travel/state")
L31 🔴 global_write
Global write: bp_combat
Impact: low
Show code
bp_combat = ui_options.get("gameplay/backpack_travel/on_combat")
L32 🔴 global_write
Global write: bp_damage
Impact: low
Show code
bp_damage = ui_options.get("gameplay/backpack_travel/on_damage")
L33 🔴 global_write
Global write: bp_notime
Impact: low
Show code
bp_notime = ui_options.get("gameplay/backpack_travel/time")
L34 🔴 global_write
Global write: bp_storm
Impact: low
Show code
bp_storm = ui_options.get("gameplay/backpack_travel/on_emission")
L35 🔴 global_write
Global write: bp_weight
Impact: low
Show code
bp_weight = ui_options.get("gameplay/backpack_travel/on_overweight")

game_fast_travel.script

L261 🟡 string_concat_in_loop
String concat in loop: dump = dump .. x
Impact: critical
Show code
dump = dump.."\n"..k.." = "..(v or "")
L33 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Fair Fast Travel v%s (rel %s) began initialization at %s", script_version, release_date, time_global())
L264 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logprefix..dump)
L1419 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FFT] Loading settings from MCM - warnings about invalid paths are harmless and expected, ignore")
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "game_fast_travel"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "2.18.1"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250718.1
L39 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[FFT] "
L40 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L41 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L42 🔴 global_write
Global write: debug_dump
Impact: low
Show code
debug_dump = false
L56 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L57 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L58 🔴 global_write
Global write: debug_dump
Impact: low
Show code
if (dump_en ~= nil) then debug_dump = dump_en end
L76 🔴 global_write
Global write: skillsystem_exists
Impact: low
Show code
skillsystem_exists = (haru_skills ~= nil)
L77 🔴 global_write
Global write: stored_satiety
Impact: low
Show code
stored_satiety = 1
L78 🔴 global_write
Global write: locations_found
Impact: low
Show code
locations_found = 0
L79 🔴 global_write
Global write: campfire_dest_adj
Impact: low
Show code
campfire_dest_adj = {x = -1.5, y = 0, z = 0} -- to avoid depositing the player inside a lit campfire
L80 🔴 global_write
Global write: npe_shown
Impact: low
Show code
npe_shown = {}
L89 🔴 global_write
Global write: longnames
Impact: low
Show code
longnames = false
L90 🔴 global_write
Global write: markermessage
Impact: low
Show code
markermessage = false
L91 🔴 global_write
Global write: tsmarts
Impact: low
Show code
tsmarts = nil
L92 🔴 global_write
Global write: basecfg
Impact: low
Show code
basecfg = {
L131 🔴 global_write
Global write: distdur_string
Impact: low
Show code
distdur_string = def_distdur
L132 🔴 global_write
Global write: fare_string
Impact: low
Show code
fare_string = def_st_fare
L133 🔴 global_write
Global write: context_string
Impact: low
Show code
context_string = def_context
L134 🔴 global_write
Global write: guide_menu_text
Impact: low
Show code
guide_menu_text = "$dest. $clr_gld[$fareval $rubles] $clr_wht$distdur"
L135 🔴 global_write
Global write: vanilla_menu_text
Impact: low
Show code
vanilla_menu_text = "$dest. $clr_orn[$fareval $rubles]" -- vanilla style
L136 🔴 global_write
Global write: gated_menu_text
Impact: low
Show code
gated_menu_text = "$clr_ui2$dest. $clr_red$gated"
L162 🔴 global_write
Global write: td
Impact: low
Show code
td = {}
L163 🔴 global_write
Global write: all_travel_types
Impact: low
Show code
all_travel_types = {} -- public iterable quick string lookup for travel type name
L164 🔴 global_write
Global write: spawned_travel_zones
Impact: low
Show code
spawned_travel_zones = {}
L165 🔴 global_write
Global write: fast_travel_restrictors
Impact: low
Show code
fast_travel_restrictors = {}
L166 🔴 global_write
Global write: level_ids
Impact: low
Show code
level_ids = {}
L167 🔴 global_write
Global write: northern_maps
Impact: low
Show code
northern_maps = {}
L168 🔴 global_write
Global write: guide_ignored_levels
Impact: low
Show code
guide_ignored_levels = {} -- Levels in which guides will refuse to come meet you
L249 🔴 global_write
Global write: trip
Impact: low
Show code
trip = {}
L252 🔴 global_write
Global write: trip
Impact: low
Show code
trip = dup_table(default_trip_data)
L691 🔴 global_write
Global write: distance
Impact: low
Show code
distance = tostring(floor(dist * .01) * 0.1)..gts("st_fftd_mapspot_kilometers")
L693 🔴 global_write
Global write: distance
Impact: low
Show code
distance = tostring(floor(dist))..gts("st_fftd_mapspot_meters")
L1150 🔴 global_write
Global write: survival_paused
Impact: low
Show code
survival_paused = false
L1155 🔴 global_write
Global write: survival_paused
Impact: low
Show code
survival_paused = true
L1156 🔴 global_write
Global write: stored_satiety
Impact: low
Show code
stored_satiety = cond:GetSatiety()
L1166 🔴 global_write
Global write: survival_paused
Impact: low
Show code
survival_paused = false
L1225 🔴 global_write
Global write: trip
Impact: low
Show code
trip = trip or reset_trip_data()
L1342 🔴 global_write
Global write: using_guide
Impact: low
Show code
using_guide = trip.tt == "gt"
L1423 🔴 global_write
Global write: progressive_cost
Impact: low
Show code
progressive_cost = get_mcm("fftd/gen/progressive_cost", progressive_cost)
L1424 🔴 global_write
Global write: prog_coef_max
Impact: low
Show code
prog_coef_max = g_tonumber(get_mcm("fftd/gen/prog_coef_max", prog_coef_max))
L1425 🔴 global_write
Global write: prog_rank_cap
Impact: low
Show code
prog_rank_cap = g_tonumber(get_mcm("fftd/gen/prog_rank_cap", prog_rank_cap))
L1426 🔴 global_write
Global write: nice_round_numbers
Impact: low
Show code
nice_round_numbers = get_mcm("fftd/gen/nice_round_numbers", nice_round_numbers)
L1427 🔴 global_write
Global write: show_dist_and_dur
Impact: low
Show code
show_dist_and_dur = get_mcm("fftd/gen/show_distdur", show_dist_and_dur)
L1428 🔴 global_write
Global write: gate_northern_travel
Impact: low
Show code
gate_northern_travel= get_mcm("fftd/gen/northgate", gate_northern_travel)
L1429 🔴 global_write
Global write: force_vanilla_fares
Impact: low
Show code
force_vanilla_fares = get_mcm("fftd/gen/force_vanilla_fares", force_vanilla_fares)
L1430 🔴 global_write
Global write: skillsystem_enabled
Impact: low
Show code
skillsystem_enabled = get_mcm("fftd/gen/skillsystem_enabled", skillsystem_enabled)
L1431 🔴 global_write
Global write: shared_ft_cooldown
Impact: low
Show code
shared_ft_cooldown = get_mcm("fftd/gen/shared_cooldown", shared_ft_cooldown)
L1432 🔴 global_write
Global write: npc_combat_dist
Impact: low
Show code
npc_combat_dist = g_tonumber(get_mcm("fftd/gen/combat_dist", npc_combat_dist))
L1433 🔴 global_write
Global write: npc_combat_timeout
Impact: low
Show code
npc_combat_timeout = g_tonumber(get_mcm("fftd/gen/combat_timeout", npc_combat_timeout))
L1434 🔴 global_write
Global write: allow_debug_travel
Impact: low
Show code
allow_debug_travel = get_mcm("fftd/gen/allow_debug_travel", allow_debug_travel)
L1435 🔴 global_write
Global write: allow_open_bp
Impact: low
Show code
allow_open_bp = get_mcm("fftd/gen/allow_open_bp", allow_open_bp)
L1436 🔴 global_write
Global write: use_warfare_fix
Impact: low
Show code
use_warfare_fix = get_mcm("fftd/gen/use_warfare_fix", use_warfare_fix)
L1437 🔴 global_write
Global write: use_disguise_fix
Impact: low
Show code
use_disguise_fix = get_mcm("fftd/gen/use_disguise_fix", use_disguise_fix)
L1438 🔴 global_write
Global write: use_vanilla_calcs
Impact: low
Show code
use_vanilla_calcs = get_mcm("fftd/gen/use_vanilla_calcs", use_vanilla_calcs)
L1439 🔴 global_write
Global write: zones_use_disguises
Impact: low
Show code
zones_use_disguises = get_mcm("fftd/gen/zones_use_disguises", zones_use_disguises)
L1440 🔴 global_write
Global write: squad_local_travel
Impact: low
Show code
squad_local_travel = get_mcm("fftd/gen/squad_local_travel", squad_local_travel)
L1441 🔴 global_write
Global write: squad_tp_bind
Impact: low
Show code
squad_tp_bind = get_mcm("fftd/gen/squad_tp_bind", squad_tp_bind)
L1442 🔴 global_write
Global write: squad_tp_mod
Impact: low
Show code
squad_tp_mod = get_mcm("fftd/gen/squad_tp_mod", squad_tp_mod)
L1443 🔴 global_write
Global write: psyblock_mapspots
Impact: low
Show code
psyblock_mapspots = get_mcm("fftd/gen/psyblock_mapspots", psyblock_mapspots)
L1444 🔴 global_write
Global write: use_map_hazard_coef
Impact: low
Show code
use_map_hazard_coef = get_mcm("fftd/gen/use_map_hazard_coef", use_map_hazard_coef)
L1447 🔴 global_write
Global write: tick_int
Impact: low
Show code
tick_int = ti
L1449 🔴 global_write
Global write: cond_damage_mode
Impact: low
Show code
cond_damage_mode = g_tonumber(get_mcm("fftd/gen/cond_dmg_mode", cond_damage_mode))
L1450 🔴 global_write
Global write: minimum_health
Impact: low
Show code
minimum_health = clamp(g_tonumber(get_mcm("fftd/gen/minimum_health", minimum_health)), 0, 1)
L1451 🔴 global_write
Global write: minimum_satiety
Impact: low
Show code
minimum_satiety = clamp(g_tonumber(get_mcm("fftd/gen/minimum_satiety", minimum_satiety)), 0, 1)
L1452 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = get_mcm("fftd/gen/debuglogs_enabled", debuglogs)
L1453 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = get_mcm("fftd/gen/verbose_enabled", verbose)
L1485 🔴 global_write
Global write: guide_npc_cost_coef
Impact: low
Show code
guide_npc_cost_coef = ui_mcm.get("fftd/gtcfg/npc_cost_coef") or guide_npc_cost_coef
L1488 🔴 global_write
Global write: skillspeed_coef
Impact: low
Show code
skillspeed_coef = dec2(1 / haru_skills.skills_stats["endurance"].speed_modifier)
L1493 🔴 global_write
Global write: td
Impact: low
Show code
td = travel_data
L1520 🔴 global_write
Global write: locations_found
Impact: low
Show code
locations_found = (locations_found or 0) + 1
L1568 🔴 global_write
Global write: tsmarts
Impact: low
Show code
tsmarts = utils_data.collect_section(pini,faction,true)
L1569 🔴 global_write
Global write: locations_found
Impact: low
Show code
locations_found = 0
L1589 🔴 global_write
Global write: locations_found
Impact: low
Show code
locations_found = locations_found + 1
L1613 🔴 global_write
Global write: longnames
Impact: low
Show code
longnames = ui_options.get("gameplay/fast_travel/long_names")
L1614 🔴 global_write
Global write: markermessage
Impact: low
Show code
markermessage = ui_options.get("gameplay/fast_travel/visit_message")
L1647 🔴 global_write
Global write: all_travel_types
Impact: low
Show code
all_travel_types = ftcfg_ini:collect_section("travel_types")
L1667 🔴 global_write
Global write: td
Impact: low
Show code
td = travel_data
L1678 🔴 global_write
Global write: travel_zone_section
Impact: low
Show code
travel_zone_section = using_modded_exes and travel_zone_section or "space_restrictor"
L1691 🔴 global_write
Global write: northern_maps
Impact: low
Show code
northern_maps = dest_ini:collect_section("northern_maps") or {}
L1699 🔴 global_write
Global write: guide_ignored_levels
Impact: low
Show code
if not guide_ignored_levels then guide_ignored_levels = {} end
L1706 🔴 global_write
Global write: map_hazard_coefs
Impact: low
Show code
if not map_hazard_coefs then map_hazard_coefs = {} end
L1743 🔴 global_write
Global write: spawned_travel_zones
Impact: low
Show code
spawned_travel_zones = {}
L1823 🔴 global_write
Global write: skillsystem_started
Impact: low
Show code
skillsystem_started = end_lvl ~= nil
L1835 🔴 global_write
Global write: spawned_travel_zones
Impact: low
Show code
spawned_travel_zones = fts.spawned_travel_zones or spawned_travel_zones
L1837 🔴 global_write
Global write: survival_paused
Impact: low
Show code
survival_paused = fts.survival_paused
L1838 🔴 global_write
Global write: locations_found
Impact: low
Show code
locations_found = fts.locations_found
L1845 🔴 global_write
Global write: stored_satiety
Impact: low
Show code
stored_satiety = fts.stored_satiety

npe_fair_fast_travel_tutorials_mcm.script

L26 🔴 global_write
Global write: start_delay
Impact: low
Show code
start_delay = 10000 -- don't allow FFT tutorial to trigger until this long after first update
L27 🔴 global_write
Global write: unsquish_ratio
Impact: low
Show code
unsquish_ratio = 1
L28 🔴 global_write
Global write: token_handler
Impact: low
Show code
token_handler = parse_colors or parse_vanilla
L40 🔴 global_write
Global write: unsquish_ratio
Impact: low
Show code
unsquish_ratio = (device().height / device().width) / (768 / 1024)
L145 🔴 global_write
Global write: cfg
Impact: low
Show code
cfg = {
L339 🔴 global_write
Global write: op
Impact: low
Show code
op = npe_mcm and {

utils_catspaw_common.script

L47 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((caller.logprefix or logprefix) .. logtext, ...)
L56 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((caller.logprefix or logprefix) .. (caller.vprefix or vprefix) .. logtext, ...)
L66 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((raw_prefix or "") .. logtext, ...)
L133 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "! Modded exes not detected! No extra features available.\n" ..
L139 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logdiv .. "@ Modded exes %s feature support (GAMMA: %s)", exes_version, using_gamma_modpack)
L141 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s %s (added %s): %s", v.enabled and "-" or "!", v.name, v.ver, v.func())
L143 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logdiv)
L499 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! ERROR: no INI filename passed to %s.load_file_data%s, cannot continue!", script_name, args.called_by and (" by " ..args.called_by) or "")
L504 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local function dl(s, ...) return log and printf(s, ...) end
L630 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_common"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.15"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250530
L73 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L74 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L75 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[CatsyUtils] " -- gets prefixed, optional
L76 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = "[V] " -- gets added to verbose log entries, optional
L94 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L95 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L101 🔴 global_write
Global write: logdiv
Impact: low
Show code
logdiv = "~ ------------------------------------------------------------------------\n"
L107 🔴 global_write
Global write: engine_features
Impact: low
Show code
engine_features = {
L119 🔴 global_write
Global write: using_gamma_modpack
Impact: low
Show code
using_gamma_modpack = game_version:find("G.A.M.M.A.") and true or false
L121 🔴 global_write
Global write: using_modded_exes
Impact: low
Show code
using_modded_exes = using_gamma_modpack or exes_version and true or false
L246 🔴 global_write
Global write: easing
Impact: low
Show code
easing = {

utils_catspaw_mapspots.script

L281 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_mapspots"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.1"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250406
L35 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[Catsy:Mapspots] "
L36 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L37 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L38 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = ""
L54 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L55 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L66 🔴 global_write
Global write: task_mapspot_whitelist
Impact: low
Show code
task_mapspot_whitelist = {
L73 🔴 global_write
Global write: mapspot_data_cache
Impact: low
Show code
mapspot_data_cache = {}
L221 🔴 global_write
Global write: mapspot_data_cache
Impact: low
Show code
mapspot_data_cache = {}

utils_catspaw_text.script

L797 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_text"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.11"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250717
L37 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L38 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L39 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[CatsyText] "
L40 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = ""
L56 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L57 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L82 🔴 global_write
Global write: tokens_generated
Impact: low
Show code
tokens_generated = false
L297 🔴 global_write
Global write: state_tokens
Impact: low
Show code
state_tokens = {}
L298 🔴 global_write
Global write: state_colors
Impact: low
Show code
state_colors = {
L423 🔴 global_write
Global write: wpo_thresholds
Impact: low
Show code
wpo_thresholds = {
L771 🔴 global_write
Global write: safename
Impact: low
Show code
safename = bestname -- alias for backwards compatibility

330- Personal Adjustable Waypoint - Catspaw

8 files (🟢0 🟡5 🔴340 🔵38)

catsy_paw_mcm.script

L294 🟡 string_concat_in_loop
String concat in loop: st = st .. x
Impact: critical
Show code
st = st..m.."="..tostring(o)..","
L296 🟡 string_concat_in_loop
String concat in loop: st = st .. x
Impact: critical
Show code
st = st.."}"
L390 🟡 string_concat_in_loop
String concat in loop: st = st .. x
Impact: critical
Show code
st = st..m.."="..tostring(o)..","
L392 🟡 string_concat_in_loop
String concat in loop: st = st .. x
Impact: critical
Show code
st = st.."}"
L402 🟡 string_concat_in_loop
String concat in loop: st = st .. x
Impact: critical
Show code
st = st..k.."="..tostring(v)..","
L23 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false -- Controls debug logging if you don't have MCM
L24 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = true
L25 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[PAW_MCM] "
L57 🔴 global_write
Global write: unsquish_ratio
Impact: low
Show code
unsquish_ratio = 1
L58 🔴 global_write
Global write: aspect_ratio
Impact: low
Show code
aspect_ratio = "16_9"
L59 🔴 global_write
Global write: aspects
Impact: low
Show code
aspects = {
L266 🔴 global_write
Global write: enable_opt
Impact: low
Show code
enable_opt = {
L275 🔴 global_write
Global write: menu_opt
Impact: low
Show code
menu_opt = {
L402 🔴 global_write
Global write: st
Impact: low
Show code
st = st..k.."="..tostring(v)..","
L404 🔴 global_write
Global write: st
Impact: low
Show code
st = st.."}"
L423 🔴 global_write
Global write: aspect_ratio
Impact: low
Show code
aspect_ratio = get_current_aspect_ratio()
L500 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = "pawsys", gr={
L902 🔴 global_write
Global write: icoset
Impact: low
Show code
icoset = {}
L974 🔴 global_write
Global write: x
Impact: low
Show code
x = (pws.use_custom and pws.cust_x) or pws.curr_theme.pos.x
L979 🔴 global_write
Global write: y
Impact: low
Show code
y = (pws.use_custom and pws.cust_y) or pws.curr_theme.pos.y
L984 🔴 global_write
Global write: effx
Impact: low
Show code
effx = pws.eff_x()
L985 🔴 global_write
Global write: x
Impact: low
Show code
x, _ = asp_scale(effx, 1)
L990 🔴 global_write
Global write: effy
Impact: low
Show code
effy = pws.eff_y()
L991 🔴 global_write
Global write: y
Impact: low
Show code
_, y = asp_scale(1, effy)
L1039 🔴 global_write
Global write: box_wnd
Impact: low
Show code
box_wnd = xml:InitStatic(xmlroot,anchor)
L1041 🔴 global_write
Global write: box_img
Impact: low
Show code
box_img = xml:InitStatic(xmlroot..":curr",box_wnd)
L1045 🔴 global_write
Global write: box_head
Impact: low
Show code
box_head = xml:InitTextWnd(xmlroot..":head",box_wnd)
L1047 🔴 global_write
Global write: box_desc
Impact: low
Show code
box_desc = xml:InitTextWnd(xmlroot..":desc",box_wnd)
L1187 🔴 global_write
Global write: unsquish_ratio
Impact: low
Show code
unsquish_ratio = (device().height / device().width) / (768 / 1024)
L1211 🔴 global_write
Global write: setdata
Impact: low
Show code
setdata = paw.icon_sets[set_curr]
L1296 🔴 global_write
Global write: theme_frame
Impact: low
Show code
theme_frame = xml:InitStatic(xmlroot,theme_box)
L1401 🔴 global_write
Global write: line
Impact: low
Show code
line = xml:InitStatic(xmlroot,anchor)
L1480 🔴 global_write
Global write: tex
Impact: low
Show code
tex = tdata and tdata[icoset.ico_curr] and tdata[icoset.ico_curr].t

modxml_map_spots_paw.script

L17 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("DXML is patching mapspots for PAW in %s",xml_file_name)

tasks_placeable_waypoints.script

L1174 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logdiv .. "~ [PAW] Active script_zones: %s", zones)
L1184 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s%s Script Zone %s%s\n%s %s%s%s%s", logdiv, pre, k, per, pre, clean, t, wp, ping)
L2469 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logprefix.."Personal Adjustable Waypoint has been disabled, aborting all further action!")
L2715 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logprefix.."Personal Adjustable Waypoint has been disabled, aborting all further action!")
L3154 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logprefix.."Initializing settings window for pin %s:\nName: %s\nLocked: %s | Show on HUD %s | Show Label %s | Custom ARGB: %s",
L4818 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ ========================================================================")
L4819 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("UIPAWHUDPin:Update")
L4820 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("HUD Pin %s (%s | %s) - online: %s\n* Level: %s | Coords: %s | Same map: %s\n* text: %s\n* icon: %s\nlocked %s | hud %s | label %s",self.pin_id,se_obj:name(),safename(id),se_obj.online,level_name,coords,same_map,pin.text,pin.icon,pin.locked,pin.hud,pin.label)
L4821 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ ========================================================================")
L4908 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logprefix.."ERROR: Unable to load ui_paw_reticle.script or initialize its HUD class")
L5247 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logprefix.."Personal Adjustable Waypoint %s (rel %s) started at %s", script_version, release_date, time_global())
L5360 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ ========================================================================")
L5362 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ ------------------------------------------------------------------------")
L5367 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Pin %s (%s | %s)\n* Coords: %s\n* name: %s\n* text: %s\nicon: %s\nlocked %s | hud %s | label %s",id,se_obj:name(),safename(id),v.text,v.icon,v.locked,v.hud,v.label)
L5369 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("* ID %s stored as pin but is an INVALID OBJECT!")
L5371 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ ------------------------------------------------------------------------")
L5373 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ ========================================================================")
L12 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "2.4.1"
L13 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250718
L56 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[PAW] "
L57 🔴 global_write
Global write: language
Impact: low
Show code
language = "eng"
L58 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false -- Controls debug logging if you don't have MCM
L59 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = true -- Does nothing if debuglogs is not also enabled, leave on
L60 🔴 global_write
Global write: debug_dump
Impact: low
Show code
debug_dump = false -- Dumps extremely noisy logging of player data like stored pins
L78 🔴 global_write
Global write: paw_enabled
Impact: low
Show code
paw_enabled = true -- setting false will killswitch the entire addon
L79 🔴 global_write
Global write: uninstall_paw
Impact: low
Show code
uninstall_paw = false -- will skip saving anything to mdata on game save
L80 🔴 global_write
Global write: mcm_killswitch
Impact: low
Show code
mcm_killswitch = false
L83 🔴 global_write
Global write: indicator_killswitch
Impact: low
Show code
indicator_killswitch = false
L85 🔴 global_write
Global write: pinsettings_killswitch
Impact: low
Show code
pinsettings_killswitch = false
L87 🔴 global_write
Global write: hud_waypoint_killswitch
Impact: low
Show code
hud_waypoint_killswitch = false
L89 🔴 global_write
Global write: hud_pin_killswitch
Impact: low
Show code
hud_pin_killswitch = false
L91 🔴 global_write
Global write: disable_mcm_updates
Impact: low
Show code
disable_mcm_updates = false
L97 🔴 global_write
Global write: started
Impact: low
Show code
started = false -- runtime flag
L98 🔴 global_write
Global write: waypoint_active
Impact: low
Show code
waypoint_active = false -- runtime flag
L99 🔴 global_write
Global write: waypoint_canceling
Impact: low
Show code
waypoint_canceling = false -- runtime flag
L100 🔴 global_write
Global write: first_mcm_load
Impact: low
Show code
first_mcm_load = true -- runtime flag
L101 🔴 global_write
Global write: disable_load_warning
Impact: low
Show code
disable_load_warning = false
L103 🔴 global_write
Global write: welcome_msg_shown
Impact: low
Show code
welcome_msg_shown = false -- if you don't have MCM, setting this true will disable the welcome message
L104 🔴 global_write
Global write: remove_all_mapspots
Impact: low
Show code
remove_all_mapspots = level.map_remove_all_object_spots
L105 🔴 global_write
Global write: get_mapspot_static
Impact: low
Show code
get_mapspot_static = level.map_get_object_spot_static
L106 🔴 global_write
Global write: get_minimap_static
Impact: low
Show code
get_minimap_static = level.map_get_object_minimap_spot_static
L115 🔴 global_write
Global write: mousewheel_override
Impact: low
Show code
mousewheel_override = false
L125 🔴 global_write
Global write: right_click_override
Impact: low
Show code
right_click_override = false
L127 🔴 global_write
Global write: mwheel_enabled
Impact: low
Show code
mwheel_enabled = false -- managed at runtime
L128 🔴 global_write
Global write: mwheel_notify
Impact: low
Show code
mwheel_notify = true -- news tip on state change
L129 🔴 global_write
Global write: mwheel_poll_interval
Impact: low
Show code
mwheel_poll_interval = 50 -- interval between checks for mouse wheel input
L130 🔴 global_write
Global write: mwheel_next_poll
Impact: low
Show code
mwheel_next_poll = script_load_time
L132 🔴 global_write
Global write: mwheel_avail
Impact: low
Show code
mwheel_avail = mousewheel_override or utils_catspaw_common.exe_mwheel_support()
L133 🔴 global_write
Global write: right_click_avail
Impact: low
Show code
right_click_avail = right_click_override or utils_catspaw_common.exe_rclick_support()
L134 🔴 global_write
Global write: last_clicked_id
Impact: low
Show code
last_clicked_id = nil
L136 🔴 global_write
Global write: unsquish_ratio
Impact: low
Show code
unsquish_ratio = 1
L157 🔴 global_write
Global write: placed_waypoint
Impact: low
Show code
placed_waypoint = nil
L158 🔴 global_write
Global write: last_waypoint
Impact: low
Show code
last_waypoint = nil
L167 🔴 global_write
Global write: cart_mode
Impact: low
Show code
cart_mode = false
L168 🔴 global_write
Global write: cartography_must_hold
Impact: low
Show code
cartography_must_hold = false
L169 🔴 global_write
Global write: cart_shows_smarts
Impact: low
Show code
cart_shows_smarts = true
L170 🔴 global_write
Global write: cartmode_unfade
Impact: low
Show code
cartmode_unfade = true
L171 🔴 global_write
Global write: tip_on_icoset_change
Impact: low
Show code
tip_on_icoset_change = false
L172 🔴 global_write
Global write: raytrace_wp_targets
Impact: low
Show code
raytrace_wp_targets = true
L173 🔴 global_write
Global write: waypoint_is_scriptzone
Impact: low
Show code
waypoint_is_scriptzone = false
L176 🔴 global_write
Global write: enable_wp_proxcheck
Impact: low
Show code
enable_wp_proxcheck = true
L177 🔴 global_write
Global write: show_pins
Impact: low
Show code
show_pins = true
L183 🔴 global_write
Global write: widget_enabled
Impact: low
Show code
widget_enabled = true
L184 🔴 global_write
Global write: widget_active
Impact: low
Show code
widget_active = true
L185 🔴 global_write
Global write: hide_widget
Impact: low
Show code
hide_widget = true
L186 🔴 global_write
Global write: widget_use_custom_pos
Impact: low
Show code
widget_use_custom_pos = false
L187 🔴 global_write
Global write: widget_custom_pos
Impact: low
Show code
widget_custom_pos = {x=491,y=670}
L188 🔴 global_write
Global write: widget_last_used
Impact: low
Show code
widget_last_used = script_load_time
L189 🔴 global_write
Global write: wp_hud_icon_enabled
Impact: low
Show code
wp_hud_icon_enabled = true
L190 🔴 global_write
Global write: pin_hud_icon_default
Impact: low
Show code
pin_hud_icon_default = true
L191 🔴 global_write
Global write: notify_pin_target
Impact: low
Show code
notify_pin_target = false
L192 🔴 global_write
Global write: manual_smart_pins
Impact: low
Show code
manual_smart_pins = false
L193 🔴 global_write
Global write: mark_on_positive_id
Impact: low
Show code
mark_on_positive_id = true
L194 🔴 global_write
Global write: reticle_mustzoom
Impact: low
Show code
reticle_mustzoom = true
L195 🔴 global_write
Global write: reticle_mode
Impact: low
Show code
reticle_mode = 2
L196 🔴 global_write
Global write: autotag_mode
Impact: low
Show code
autotag_mode = 0
L197 🔴 global_write
Global write: autotag_persistence
Impact: low
Show code
autotag_persistence = false -- if enabled, autotags are cleared on map change or the below timeout value
L198 🔴 global_write
Global write: autotag_lifetime
Impact: low
Show code
autotag_lifetime = 120 * 6 -- time in ms before autotags are cleared (def 2 minutes)
L199 🔴 global_write
Global write: autotags_time_out
Impact: low
Show code
autotags_time_out = autotag_lifetime > 0
L200 🔴 global_write
Global write: clear_pin_on_death
Impact: low
Show code
clear_pin_on_death = true -- when set on a living thing, pin will be cleared if it dies
L201 🔴 global_write
Global write: pin_near_fade_dist
Impact: low
Show code
pin_near_fade_dist = 5 -- min distance within which pins will begin to fade out, set to 0 to disable
L202 🔴 global_write
Global write: pin_far_fade_dist
Impact: low
Show code
pin_far_fade_dist = 100 -- distance beyond which pins will begin to fade out, set to 0 to disable
L203 🔴 global_write
Global write: pin_far_hide_dist
Impact: low
Show code
pin_far_hide_dist = 150 -- max distance after far_fade at which pins will hide, set to 0 to disable
L204 🔴 global_write
Global write: wp_near_fade_dist
Impact: low
Show code
wp_near_fade_dist = 5 -- same but for waypoints
L205 🔴 global_write
Global write: wp_far_fade_dist
Impact: low
Show code
wp_far_fade_dist = 100 -- same but for waypoints
L206 🔴 global_write
Global write: wp_far_hide_dist
Impact: low
Show code
wp_far_hide_dist = 150 -- same but for waypoints
L207 🔴 global_write
Global write: ret_fade_attack_time
Impact: low
Show code
ret_fade_attack_time = 400
L208 🔴 global_write
Global write: ret_fade_decay_time
Impact: low
Show code
ret_fade_decay_time = 600
L209 🔴 global_write
Global write: pin_clear_radius
Impact: low
Show code
pin_clear_radius = 20
L210 🔴 global_write
Global write: clear_around_actor
Impact: low
Show code
clear_around_actor = true
L212 🔴 global_write
Global write: reticle_color
Impact: low
Show code
reticle_color = {
L219 🔴 global_write
Global write: show_marker_dist
Impact: low
Show code
show_marker_dist = {
L224 🔴 global_write
Global write: show_marker_hint
Impact: low
Show code
show_marker_hint = {
L248 🔴 global_write
Global write: current_body_icon
Impact: low
Show code
current_body_icon = nil
L249 🔴 global_write
Global write: body_icon_mode
Impact: low
Show code
body_icon_mode = "off"
L250 🔴 global_write
Global write: patch_res
Impact: low
Show code
patch_res = "badge"
L252 🔴 global_write
Global write: use_custom_backpack_icon
Impact: low
Show code
use_custom_backpack_icon = false -- Customize the icon for player stashes
L253 🔴 global_write
Global write: init_backpack_as_pin
Impact: low
Show code
init_backpack_as_pin = true -- Player stash icons are created as pins
L259 🔴 global_write
Global write: waypoint_mapspot
Impact: low
Show code
waypoint_mapspot = "paw_task_default"
L260 🔴 global_write
Global write: map_pin_icon
Impact: low
Show code
map_pin_icon = default_mapspot
L261 🔴 global_write
Global write: force_icon_override
Impact: low
Show code
force_icon_override = nil -- don't use
L263 🔴 global_write
Global write: icons_ini
Impact: low
Show code
icons_ini = ini_file_ex("scripts\\paw\\icons.ltx")
L264 🔴 global_write
Global write: icon_sets_ini
Impact: low
Show code
icon_sets_ini = ini_file_ex("scripts\\paw\\icon_sets.ltx")
L265 🔴 global_write
Global write: actions_ini
Impact: low
Show code
actions_ini = ini_file_ex("scripts\\paw\\menu_actions.ltx")
L266 🔴 global_write
Global write: task_ini
Impact: low
Show code
task_ini = ini_file_ex("scripts\\paw\\task_config.ltx")
L267 🔴 global_write
Global write: clsids_ini
Impact: low
Show code
clsids_ini = ini_file_ex("scripts\\paw\\valid_clsids.ltx")
L268 🔴 global_write
Global write: icon_ltx
Impact: low
Show code
icon_ltx = icons_ini:collect_section("icons")
L269 🔴 global_write
Global write: iconset_ltx
Impact: low
Show code
iconset_ltx = icon_sets_ini:get_sections(true)
L270 🔴 global_write
Global write: actions_ltx
Impact: low
Show code
actions_ltx = actions_ini:get_sections(true)
L271 🔴 global_write
Global write: clsids_ltx
Impact: low
Show code
clsids_ltx = clsids_ini:collect_section("valid_clsids")
L272 🔴 global_write
Global write: task_cfg
Impact: low
Show code
task_cfg = task_ini:collect_section("task_config")
L273 🔴 global_write
Global write: custom_name
Impact: low
Show code
custom_name = (task_cfg and task_cfg.name)
L274 🔴 global_write
Global write: custom_desc
Impact: low
Show code
custom_desc = (task_cfg and task_cfg.desc)
L275 🔴 global_write
Global write: icons
Impact: low
Show code
icons = icon_ltx
L276 🔴 global_write
Global write: curr_menu_options
Impact: low
Show code
curr_menu_options = {}
L277 🔴 global_write
Global write: icon_sets
Impact: low
Show code
icon_sets = {}
L278 🔴 global_write
Global write: action_codes
Impact: low
Show code
action_codes = {}
L279 🔴 global_write
Global write: action
Impact: low
Show code
action = {}
L280 🔴 global_write
Global write: texture_data
Impact: low
Show code
texture_data = {}
L281 🔴 global_write
Global write: icon_index
Impact: low
Show code
icon_index = {}
L282 🔴 global_write
Global write: set_index
Impact: low
Show code
set_index = {}
L283 🔴 global_write
Global write: valid_clsids
Impact: low
Show code
valid_clsids = {}
L284 🔴 global_write
Global write: map_labels
Impact: low
Show code
map_labels = {}
L328 🔴 global_write
Global write: npc_ident
Impact: low
Show code
npc_ident = pawdata.npc_ident
L329 🔴 global_write
Global write: smart_pins
Impact: low
Show code
smart_pins = pawdata.smart_pins
L330 🔴 global_write
Global write: pins
Impact: low
Show code
pins = pawdata.pins
L331 🔴 global_write
Global write: dynamic_faves
Impact: low
Show code
dynamic_faves = pawdata.dynamic_faves -- not implemented yet
L334 🔴 global_write
Global write: pda_defs
Impact: low
Show code
pda_defs = {
L367 🔴 global_write
Global write: stash_icons
Impact: low
Show code
stash_icons = {
L374 🔴 global_write
Global write: managed_factions
Impact: low
Show code
managed_factions = {
L390 🔴 global_write
Global write: managed_options
Impact: low
Show code
managed_options = {
L413 🔴 global_write
Global write: hud_themes
Impact: low
Show code
hud_themes = {
L528 🔴 global_write
Global write: state_colors
Impact: low
Show code
state_colors = {
L541 🔴 global_write
Global write: tf
Impact: low
Show code
tf = not cart_mode
L1011 🔴 global_write
Global write: waypoint_active
Impact: low
Show code
waypoint_active = false
L1012 🔴 global_write
Global write: placed_waypoint
Impact: low
Show code
placed_waypoint = nil
L1014 🔴 global_write
Global write: waypoint_canceling
Impact: low
Show code
waypoint_canceling = false
L1019 🔴 global_write
Global write: waypoint_canceling
Impact: low
Show code
waypoint_canceling = true
L1041 🔴 global_write
Global write: last_waypoint
Impact: low
Show code
last_waypoint = placed_waypoint
L1043 🔴 global_write
Global write: placed_waypoint
Impact: low
Show code
placed_waypoint = {
L1047 🔴 global_write
Global write: waypoint_active
Impact: low
Show code
waypoint_active = true
L1048 🔴 global_write
Global write: waypoint_canceling
Impact: low
Show code
waypoint_canceling = false
L1407 🔴 global_write
Global write: coords
Impact: low
Show code
coords = string.format("XYZ %s, %s, %s",coord_x,coord_y,coord_z)
L1450 🔴 global_write
Global write: plaintext
Impact: low
Show code
plaintext = parse_colors(mapspot_text, false)
L1455 🔴 global_write
Global write: nlcnt
Impact: low
Show code
_, nlcnt = mapspot_text:gsub("\\n", "\\n")
L1526 🔴 global_write
Global write: waypoint_active
Impact: low
Show code
waypoint_active = true
L1553 🔴 global_write
Global write: waypoint_active
Impact: low
Show code
waypoint_active = true
L1559 🔴 global_write
Global write: last_waypoint
Impact: low
Show code
last_waypoint = nil
L1870 🔴 global_write
Global write: last_clicked_id
Impact: low
Show code
last_clicked_id = nil
L1907 🔴 global_write
Global write: cart_mode
Impact: low
Show code
cart_mode = not cart_mode
L1909 🔴 global_write
Global write: cart_mode
Impact: low
Show code
cart_mode = onoff or false
L1983 🔴 global_write
Global write: waypoint_is_scriptzone
Impact: low
Show code
waypoint_is_scriptzone = is_scriptzone and true or false
L1996 🔴 global_write
Global write: waypoint_active
Impact: low
Show code
waypoint_active = not force
L2000 🔴 global_write
Global write: placed_waypoint
Impact: low
Show code
placed_waypoint = last_waypoint
L2008 🔴 global_write
Global write: last_waypoint
Impact: low
Show code
last_waypoint = placed_waypoint
L2182 🔴 global_write
Global write: th
Impact: low
Show code
th = xml:ReadAttribute(spot,0,"height")
L2183 🔴 global_write
Global write: tw
Impact: low
Show code
tw = xml:ReadAttribute(spot,0,"width")
L2187 🔴 global_write
Global write: tex
Impact: low
Show code
tex = xml:ReadValue(attr_tex,0)
L2202 🔴 global_write
Global write: th
Impact: low
Show code
th = xml:ReadAttribute(spotnode,0,"height")
L2203 🔴 global_write
Global write: tw
Impact: low
Show code
tw = xml:ReadAttribute(spotnode,0,"width")
L2206 🔴 global_write
Global write: tex
Impact: low
Show code
tex = xml:ReadValue(attr_tex,0)
L2310 🔴 global_write
Global write: map_pin_icon
Impact: low
Show code
map_pin_icon = pawdata.curr_ico_name
L2333 🔴 global_write
Global write: map_pin_icon
Impact: low
Show code
map_pin_icon = pawdata.curr_ico_name
L2423 🔴 global_write
Global write: show_pins
Impact: low
Show code
show_pins = onoff
L2460 🔴 global_write
Global write: paw_enabled
Impact: low
Show code
paw_enabled = load_mcm("pawgen/enabled",paw_enabled)
L2472 🔴 global_write
Global write: disable_load_warning
Impact: low
Show code
disable_load_warning = load_mcm("pawgen/disable_load_warning",disable_load_warning)
L2473 🔴 global_write
Global write: wp_hud_icon_enabled
Impact: low
Show code
wp_hud_icon_enabled = load_mcm("pawgen/wp_hud_icon_enabled",wp_hud_icon_enabled)
L2485 🔴 global_write
Global write: pin_near_fade_dist
Impact: low
Show code
pin_near_fade_dist = g_tonumber(load_mcm("pawgen/pin_near_fade_dist",pin_near_fade_dist))
L2486 🔴 global_write
Global write: pin_far_fade_dist
Impact: low
Show code
pin_far_fade_dist = g_tonumber(load_mcm("pawgen/pin_far_fade_dist",pin_far_fade_dist))
L2487 🔴 global_write
Global write: pin_far_hide_dist
Impact: low
Show code
pin_far_hide_dist = g_tonumber(load_mcm("pawgen/pin_far_hide_dist",pin_far_hide_dist))
L2488 🔴 global_write
Global write: wp_near_fade_dist
Impact: low
Show code
wp_near_fade_dist = g_tonumber(load_mcm("pawgen/wp_near_fade_dist",wp_near_fade_dist))
L2489 🔴 global_write
Global write: wp_far_fade_dist
Impact: low
Show code
wp_far_fade_dist = g_tonumber(load_mcm("pawgen/wp_far_fade_dist",wp_far_fade_dist))
L2490 🔴 global_write
Global write: wp_far_hide_dist
Impact: low
Show code
wp_far_hide_dist = g_tonumber(load_mcm("pawgen/wp_far_hide_dist",wp_far_hide_dist))
L2492 🔴 global_write
Global write: tip_on_icoset_change
Impact: low
Show code
tip_on_icoset_change = load_mcm("pawgen/tip_on_icoset_change",tip_on_icoset_change)
L2493 🔴 global_write
Global write: welcome_msg_shown
Impact: low
Show code
welcome_msg_shown = load_mcm("pawgen/welcome_msg_shown",welcome_msg_shown)
L2494 🔴 global_write
Global write: enable_wp_proxcheck
Impact: low
Show code
enable_wp_proxcheck = wp_clear_dist and wp_clear_dist > 0
L2496 🔴 global_write
Global write: mwheel_poll_interval
Impact: low
Show code
mwheel_poll_interval = load_mcm("pawgen/mwheel_poll_interval",mwheel_poll_interval)
L2519 🔴 global_write
Global write: cartography_must_hold
Impact: low
Show code
cartography_must_hold = not load_mcm("pawbinds/cartmode_toggle", cartography_must_hold)
L2521 🔴 global_write
Global write: cart_shows_smarts
Impact: low
Show code
cart_shows_smarts = load_mcm("pawbinds/cart_shows_smarts", cart_shows_smarts)
L2522 🔴 global_write
Global write: mwheel_notify
Impact: low
Show code
mwheel_notify = load_mcm("pawbinds/mwheel_notify")
L2523 🔴 global_write
Global write: cartmode_unfade
Impact: low
Show code
cartmode_unfade = load_mcm("pawbinds/cartmode_unfade", cartmode_unfade)
L2524 🔴 global_write
Global write: raytrace_wp_targets
Impact: low
Show code
raytrace_wp_targets = load_mcm("pawbinds/raytrace_wp_targets", raytrace_wp_targets)
L2530 🔴 global_write
Global write: mwheel_override
Impact: low
Show code
mwheel_override = tmp
L2532 🔴 global_write
Global write: mwheel_avail
Impact: low
Show code
mwheel_avail = true
L2540 🔴 global_write
Global write: mwheel_enabled
Impact: low
Show code
mwheel_enabled = tmp and mwheel_avail
L2546 🔴 global_write
Global write: right_click_override
Impact: low
Show code
right_click_override = tmp
L2548 🔴 global_write
Global write: right_click_avail
Impact: low
Show code
right_click_avail = true
L2556 🔴 global_write
Global write: disable_mcm_updates
Impact: low
Show code
disable_mcm_updates = tmp
L2566 🔴 global_write
Global write: patch_res
Impact: low
Show code
patch_res = ui_mcm.get("pawsys/pawpins/patch_res") or "badge"
L2584 🔴 global_write
Global write: map_pin_icon
Impact: low
Show code
map_pin_icon = icon
L2589 🔴 global_write
Global write: use_custom_backpack_icon
Impact: low
Show code
use_custom_backpack_icon = load_mcm("pawpins/use_custom_backpack_icon",use_custom_backpack_icon)
L2602 🔴 global_write
Global write: map_pin_icon
Impact: low
Show code
map_pin_icon = ui_mcm.get("pawsys/pawpins/custom_pin_icon") or map_pin_icon
L2609 🔴 global_write
Global write: map_pin_icon
Impact: low
Show code
map_pin_icon = force_icon_override
L2614 🔴 global_write
Global write: body_icon_mode
Impact: low
Show code
body_icon_mode = bi
L2615 🔴 global_write
Global write: current_body_icon
Impact: low
Show code
current_body_icon = icons[cbi] or default_mapspot
L2618 🔴 global_write
Global write: widget_enabled
Impact: low
Show code
widget_enabled = load_mcm("pawhud/widget_enable",widget_enabled)
L2621 🔴 global_write
Global write: widget_custom_pos
Impact: low
Show code
widget_custom_pos = {
L2625 🔴 global_write
Global write: widget_use_custom_pos
Impact: low
Show code
widget_use_custom_pos = load_mcm("pawhud/custompos")
L2652 🔴 global_write
Global write: mark_on_positive_id
Impact: low
Show code
mark_on_positive_id = load_mcm("pawret/enable_autotag",mark_on_positive_id)
L2653 🔴 global_write
Global write: autotag_persistence
Impact: low
Show code
autotag_persistence = load_mcm("pawret/autotag_persistence",autotag_persistence)
L2654 🔴 global_write
Global write: autotag_lifetime
Impact: low
Show code
autotag_lifetime = load_mcm("pawret/autotag_lifetime",(autotag_lifetime / 6)) * 6
L2655 🔴 global_write
Global write: autotags_time_out
Impact: low
Show code
autotags_time_out = (autotag_lifetime or 0) > 0
L2656 🔴 global_write
Global write: pin_hud_icon_default
Impact: low
Show code
pin_hud_icon_default = load_mcm("pawret/pin_auto_visible",pin_hud_icon_default)
L2657 🔴 global_write
Global write: manual_smart_pins
Impact: low
Show code
manual_smart_pins = load_mcm("pawret/manual_smart_pins",manual_smart_pins)
L2658 🔴 global_write
Global write: reticle_mode
Impact: low
Show code
reticle_mode = load_mcm("pawret/reticle_mode",reticle_mode)
L2659 🔴 global_write
Global write: autotag_mode
Impact: low
Show code
autotag_mode = load_mcm("pawret/reticle_mode",autotag_mode)
L2660 🔴 global_write
Global write: reticle_mustzoom
Impact: low
Show code
reticle_mustzoom = load_mcm("pawret/reticle_mustzoom",reticle_mustzoom)
L2662 🔴 global_write
Global write: ret_fade_attack_time
Impact: low
Show code
ret_fade_attack_time = load_mcm("pawret/ret_fade_attack_time",ret_fade_attack_time)
L2663 🔴 global_write
Global write: ret_fade_decay_time
Impact: low
Show code
ret_fade_decay_time = load_mcm("pawret/ret_fade_decay_time",ret_fade_decay_time)
L2664 🔴 global_write
Global write: notify_pin_target
Impact: low
Show code
notify_pin_target = load_mcm("pawret/notify_pin_target",notify_pin_target)
L2689 🔴 global_write
Global write: language
Impact: low
Show code
language = ui_options.curr_localization()
L2691 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = load_mcm("pawgen/debuglogs", debuglogs)
L2692 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = load_mcm("pawgen/verbose", verbose)
L2704 🔴 global_write
Global write: hud_pin_objs
Impact: low
Show code
hud_pin_objs = {}
L2708 🔴 global_write
Global write: map_labels
Impact: low
Show code
map_labels = {}
L2732 🔴 global_write
Global write: pin_clear_radius
Impact: low
Show code
pin_clear_radius = load_mcm("pawmenu/clear_radius", pin_clear_radius)
L2739 🔴 global_write
Global write: unsquish_ratio
Impact: low
Show code
unsquish_ratio = (device().height / device().width) / (768 / 1024)
L2742 🔴 global_write
Global write: first_mcm_load
Impact: low
Show code
first_mcm_load = false
L2817 🔴 global_write
Global write: welcome_msg_shown
Impact: low
Show code
welcome_msg_shown = true
L2852 🔴 global_write
Global write: tex
Impact: low
Show code
tex = texdef or tex_defs
L2853 🔴 global_write
Global write: args
Impact: low
Show code
args = args or {}
L3036 🔴 global_write
Global write: custom_name
Impact: low
Show code
custom_name = nil
L3037 🔴 global_write
Global write: custom_desc
Impact: low
Show code
custom_desc = nil
L3041 🔴 global_write
Global write: wp_hud_icon_enabled
Impact: low
Show code
wp_hud_icon_enabled = true
L3064 🔴 global_write
Global write: custom_name
Impact: low
Show code
custom_name = new_wpname
L3069 🔴 global_write
Global write: custom_desc
Impact: low
Show code
custom_desc = new_wpdesc
L3079 🔴 global_write
Global write: wp_hud_icon_enabled
Impact: low
Show code
wp_hud_icon_enabled = true
L3082 🔴 global_write
Global write: wp_hud_icon_enabled
Impact: low
Show code
wp_hud_icon_enabled = false
L3116 🔴 global_write
Global write: GUI_PinOpts
Impact: low
Show code
GUI_PinOpts = nil
L3130 🔴 global_write
Global write: GUI_PinOpts
Impact: low
Show code
GUI_PinOpts = UIPinSettingsWnd(id,args)
L3142 🔴 global_write
Global write: GUI_PinOpts
Impact: low
Show code
GUI_PinOpts = nil
L3187 🔴 global_write
Global write: widget_enabled
Impact: low
Show code
widget_enabled = self.backups.enable
L3190 🔴 global_write
Global write: widget_use_custom_pos
Impact: low
Show code
widget_use_custom_pos = self.backups.use_cust_pos or widget_use_custom_pos
L3191 🔴 global_write
Global write: widget_custom_pos
Impact: low
Show code
widget_custom_pos = self.backups.cust_pos or widget_custom_pos
L3205 🔴 global_write
Global write: widget_use_custom_pos
Impact: low
Show code
widget_use_custom_pos = true
L3472 🔴 global_write
Global write: widget_custom_pos
Impact: low
Show code
widget_custom_pos = { x= 141, y= 46 }
L3832 🔴 global_write
Global write: GUI_PinInd
Impact: low
Show code
GUI_PinInd = nil
L3881 🔴 global_write
Global write: widget_enabled
Impact: low
Show code
widget_enabled = self.backups.enabled
L3884 🔴 global_write
Global write: widget_use_custom_pos
Impact: low
Show code
widget_use_custom_pos = self.backups.use_cust_pos
L3885 🔴 global_write
Global write: widget_custom_pos
Impact: low
Show code
widget_custom_pos = self.backups.cust_pos
L3908 🔴 global_write
Global write: widget_use_custom_pos
Impact: low
Show code
widget_use_custom_pos = true
L3909 🔴 global_write
Global write: widget_enabled
Impact: low
Show code
widget_enabled = true
L4126 🔴 global_write
Global write: widget_active
Impact: low
Show code
widget_active = psw_sidebar_state
L4153 🔴 global_write
Global write: widget_last_used
Impact: low
Show code
widget_last_used = time_global()
L4154 🔴 global_write
Global write: widget_active
Impact: low
Show code
widget_active = true
L4157 🔴 global_write
Global write: widget_active
Impact: low
Show code
if time_global() > widget_last_used + widget_hide_delay then widget_active = false end
L4179 🔴 global_write
Global write: GUI_PinInd
Impact: low
Show code
GUI_PinInd = UIPAWIndicator(force,anchor)
L4187 🔴 global_write
Global write: widget_active
Impact: low
Show code
widget_active = not widget_active
L4189 🔴 global_write
Global write: widget_active
Impact: low
Show code
widget_active = (tf == true) or false
L4388 🔴 global_write
Global write: zoom_delay
Impact: low
Show code
local function zoom_delay_over() zoom_delay = false end
L4651 🔴 global_write
Global write: hud_pin_objs
Impact: low
Show code
hud_pin_objs = {}
L5066 🔴 global_write
Global write: last_clicked_id
Impact: low
Show code
last_clicked_id = se_obj.id
L5072 🔴 global_write
Global write: last_clicked_id
Impact: low
Show code
last_clicked_id = id
L5103 🔴 global_write
Global write: xml
Impact: low
Show code
xml = CScriptXmlInit()
L5243 🔴 global_write
Global write: started
Impact: low
Show code
started = true
L5259 🔴 global_write
Global write: placed_waypoint
Impact: low
Show code
placed_waypoint = ps.current_waypoint
L5260 🔴 global_write
Global write: last_waypoint
Impact: low
Show code
last_waypoint = ps.last_waypoint
L5261 🔴 global_write
Global write: waypoint_is_scriptzone
Impact: low
Show code
waypoint_is_scriptzone = ps.is_scriptzone
L5262 🔴 global_write
Global write: custom_name
Impact: low
Show code
custom_name = ps.custom_name
L5263 🔴 global_write
Global write: custom_desc
Impact: low
Show code
custom_desc = ps.custom_desc
L5264 🔴 global_write
Global write: pins
Impact: low
Show code
pins = ps.pins
L5265 🔴 global_write
Global write: waypoint_active
Impact: low
Show code
if placed_waypoint then waypoint_active = true end
L5266 🔴 global_write
Global write: welcome_msg_shown
Impact: low
Show code
welcome_msg_shown = ps.welcome_msg_shown
L5272 🔴 global_write
Global write: pins
Impact: low
Show code
pins = pawdata.pins
L5340 🔴 global_write
Global write: last_waypoint
Impact: low
Show code
last_waypoint = savelast
L5392 🔴 global_write
Global write: mwheel_next_poll
Impact: low
Show code
mwheel_next_poll = get_next_check(mwheel_poll_interval)
L5525 🔴 global_write
Global write: disable_mcm_updates
Impact: low
Show code
disable_mcm_updates = true
L5527 🔴 global_write
Global write: paw_enabled
Impact: low
Show code
paw_enabled = false
L5528 🔴 global_write
Global write: started
Impact: low
Show code
started = false

ui_paw_reticle.script

L27 🔴 global_write
Global write: reticle_color
Impact: low
Show code
reticle_color = paw.reticle_color
L28 🔴 global_write
Global write: autotag_milpda
Impact: low
Show code
autotag_milpda = paw.autotag_milpda_feature
L29 🔴 global_write
Global write: pda_feature_en
Impact: low
Show code
pda_feature_en = item_milpda and item_milpda.pda_feature_enabled
L199 🔴 global_write
Global write: progress
Impact: low
Show code
progress = 0
L205 🔴 global_write
Global write: progress
Impact: low
Show code
progress = self:OnTarget(obj,name,id)
L207 🔴 global_write
Global write: progress
Impact: low
Show code
progress = self:UpdateIDProgress(obj,name)
L210 🔴 global_write
Global write: progress
Impact: low
Show code
progress = self:OnTarget(obj,name,id)
L242 🔴 global_write
Global write: progress
Impact: low
Show code
progress = self:UpdateIDProgress(self.last_target)

utils_catspaw_common.script

L47 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((caller.logprefix or logprefix) .. logtext, ...)
L56 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((caller.logprefix or logprefix) .. (caller.vprefix or vprefix) .. logtext, ...)
L66 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((raw_prefix or "") .. logtext, ...)
L133 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "! Modded exes not detected! No extra features available.\n" ..
L139 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logdiv .. "@ Modded exes %s feature support (GAMMA: %s)", exes_version, using_gamma_modpack)
L141 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s %s (added %s): %s", v.enabled and "-" or "!", v.name, v.ver, v.func())
L143 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logdiv)
L499 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! ERROR: no INI filename passed to %s.load_file_data%s, cannot continue!", script_name, args.called_by and (" by " ..args.called_by) or "")
L504 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local function dl(s, ...) return log and printf(s, ...) end
L630 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_common"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.15"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250530
L73 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L74 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L75 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[CatsyUtils] " -- gets prefixed, optional
L76 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = "[V] " -- gets added to verbose log entries, optional
L94 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L95 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L101 🔴 global_write
Global write: logdiv
Impact: low
Show code
logdiv = "~ ------------------------------------------------------------------------\n"
L107 🔴 global_write
Global write: engine_features
Impact: low
Show code
engine_features = {
L119 🔴 global_write
Global write: using_gamma_modpack
Impact: low
Show code
using_gamma_modpack = game_version:find("G.A.M.M.A.") and true or false
L121 🔴 global_write
Global write: using_modded_exes
Impact: low
Show code
using_modded_exes = using_gamma_modpack or exes_version and true or false
L246 🔴 global_write
Global write: easing
Impact: low
Show code
easing = {

utils_catspaw_hudmarks.script

L281 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[utils_catspaw_hudmarks.fade_by_dist] Fading elements by dist %s:\n"..
L1427 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = debug_dump and printf("[UIHUDMarker:Update][%s][%s] Killswitch checks passed", self.mark_id, time_global())
L1529 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ ========================================================================")
L1530 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[UIHUDMarker:Update][First update for ID %s]%s", self.mark_id, typedata)
L1531 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_ = self.custom_argb and printf("Found custom_argb: %s,%s,%s,%s", self.custom_argb.a, self.custom_argb.r, self.custom_argb.g, self.custom_argb.b)
L1532 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("HUD Marker %s (%s) | obj %s - online: %s\n* Level: %s | Dist: %sm%s",
L1535 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ ========================================================================")
L1695 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_hudmarks"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.3"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250717
L54 🔴 global_write
Global write: debug_dump
Impact: low
Show code
debug_dump = false -- flag used to dump one-time detailed info for certain things
L55 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L56 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L57 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = ""
L58 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = ""
L74 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L75 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L76 🔴 global_write
Global write: debug_dump
Impact: low
Show code
if (debug_dump ~= nil) then debug_dump = dump_en end
L118 🔴 global_write
Global write: marker_presets
Impact: low
Show code
marker_presets = {

utils_catspaw_mapspots.script

L281 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_mapspots"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.1"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250406
L35 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[Catsy:Mapspots] "
L36 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L37 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L38 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = ""
L54 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L55 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L66 🔴 global_write
Global write: task_mapspot_whitelist
Impact: low
Show code
task_mapspot_whitelist = {
L73 🔴 global_write
Global write: mapspot_data_cache
Impact: low
Show code
mapspot_data_cache = {}
L221 🔴 global_write
Global write: mapspot_data_cache
Impact: low
Show code
mapspot_data_cache = {}

utils_catspaw_text.script

L797 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_text"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.11"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250717
L37 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L38 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L39 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[CatsyText] "
L40 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = ""
L56 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L57 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L82 🔴 global_write
Global write: tokens_generated
Impact: low
Show code
tokens_generated = false
L297 🔴 global_write
Global write: state_tokens
Impact: low
Show code
state_tokens = {}
L298 🔴 global_write
Global write: state_colors
Impact: low
Show code
state_colors = {
L423 🔴 global_write
Global write: wpo_thresholds
Impact: low
Show code
wpo_thresholds = {
L771 🔴 global_write
Global write: safename
Impact: low
Show code
safename = bestname -- alias for backwards compatibility

331- Barrier Defense Task Emission Fix - Catspaw

1 file (🟢0 🟡0 🔴2 🔵3)

z_barrier_defense_emission_fix.script

L26 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Barrier defense task fix: re-enabling emissions")
L49 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('barrier_defense_news: first argument must be "start", "end" or "escape"')
L51 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('barrier_defense_news: missing or wrong arguments, must be ([start,end,escape]:[zombie,monolith])')
L19 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.1"
L20 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20240806

332- QoL Patch to Tweak_Breeki's RF Receiver Hidden Packages - Cookbook

3 files (🟢0 🟡0 🔴120 🔵23)

CB_RF_patch_mcm.script

L5 🔴 global_write
Global write: op
Impact: low
Show code
op = {

TB_RF_Receiver_Packages.script

L949 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--- Loading TBs_RF_Receiver_Hidden_Package_Sidequests_v1.8 ---")
L980 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--- Cleaning v1.5 package queue for v1.6 | Queue size was: %s, is now: %s ---",tb_queue_num,#tb_package_queue)
L44 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L45 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = false
L46 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = false
L47 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = "empty"
L48 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = "empty"
L49 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = 0
L50 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = "empty"
L51 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L52 🔴 global_write
Global write: tb_tg_scan
Impact: low
Show code
tb_tg_scan = 0
L53 🔴 global_write
Global write: tb_device
Impact: low
Show code
tb_device = "detector_radio"
L54 🔴 global_write
Global write: tb_relation_diff
Impact: low
Show code
tb_relation_diff = 250
L56 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = 0
L57 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = 0
L58 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = 0
L59 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = false
L60 🔴 global_write
Global write: tb_tg_badguys
Impact: low
Show code
tb_tg_badguys = 0
L62 🔴 global_write
Global write: tb_previous_level
Impact: low
Show code
tb_previous_level = "empty"
L64 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L66 🔴 global_write
Global write: cb_note_given
Impact: low
Show code
cb_note_given = false
L74 🔴 global_write
Global write: cb_reminders
Impact: low
Show code
cb_reminders = "transitions"
L79 🔴 global_write
Global write: cb_upgrades
Impact: low
Show code
cb_upgrades = "vanilla"
L83 🔴 global_write
Global write: cb_unpack
Impact: low
Show code
cb_unpack = "manual"
L93 🔴 global_write
Global write: cb_reminders
Impact: low
Show code
cb_reminders = ui_mcm.get("RF_package_patch/reminders")
L94 🔴 global_write
Global write: cb_upgrades
Impact: low
Show code
cb_upgrades = ui_mcm.get("RF_package_patch/upgrades")
L128 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = false
L129 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = false
L130 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L131 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L132 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = "empty"
L133 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = "empty"
L134 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L143 🔴 global_write
Global write: tb_relations
Impact: low
Show code
tb_relations = {
L159 🔴 global_write
Global write: tb_maybe_badguys
Impact: low
Show code
tb_maybe_badguys = {
L175 🔴 global_write
Global write: tb_factions
Impact: low
Show code
tb_factions = {"army", "bandit", "csky", "dolg", "ecolog", "freedom", "greh", "isg", "killer", "monolith", "renegade", "stalker"}
L177 🔴 global_write
Global write: tb_cut_factions
Impact: low
Show code
tb_cut_factions = {"army", "bandit", "csky", "dolg", "ecolog", "freedom", "killer", "renegade", "stalker"}
L179 🔴 global_write
Global write: tb_homebases
Impact: low
Show code
tb_homebases = {"l03_agroprom", "l04_darkvalley", "k00_marsh", "l05_bar", "l08_yantar", "l07_military", "l10_red_forest", "pripyat", "l09_deadcity", "l11_pripyat", "k00_marsh", "l01_escape"}
L182 🔴 global_write
Global write: tb_package_queue
Impact: low
Show code
tb_package_queue = {}
L185 🔴 global_write
Global write: tb_allmaps
Impact: low
Show code
tb_allmaps = {
L223 🔴 global_write
Global write: tb_package_coords
Impact: low
Show code
tb_package_coords = {
L711 🔴 global_write
Global write: tb_extraloot
Impact: low
Show code
tb_extraloot = {
L728 🔴 global_write
Global write: tb_extraupgrades
Impact: low
Show code
tb_extraupgrades = {
L818 🔴 global_write
Global write: CB_streamlined_extraupgrades
Impact: low
Show code
CB_streamlined_extraupgrades = {
L839 🔴 global_write
Global write: tb_junks
Impact: low
Show code
tb_junks = {
L874 🔴 global_write
Global write: tb_copy_of_itms_manager
Impact: low
Show code
tb_copy_of_itms_manager = itms_manager.use_package_random
L887 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = tb_bonus_items - 1
L902 🔴 global_write
Global write: cb_upgrades
Impact: low
Show code
cb_upgrades = ui_mcm.get("RF_package_patch/upgrades")
L979 🔴 global_write
Global write: tb_package_queue
Impact: low
Show code
tb_package_queue = tb_new_queue
L1006 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = true
L1010 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1014 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1020 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = false
L1021 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = false
L1022 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L1023 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L1024 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = "empty"
L1025 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = "empty"
L1026 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L1029 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = chosenmap
L1037 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = rfreq
L1043 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = se_obj.id
L1044 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = rlvid
L1045 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = rgvid
L1048 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = true
L1050 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = game.translate_string("tb_dont_forget") .. " " .. game.translate_string(rlocat) .. " " .. game.translate_string(rplace) .. game.translate_string("tb_freq_was_on") .. " " .. g_tostring(rfreq) .. game.translate_string("tb_the_mhz")
L1054 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1058 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1068 🔴 global_write
Global write: tb_tg_badguys
Impact: low
Show code
tb_tg_badguys = tg + 2000
L1073 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = true
L1095 🔴 global_write
Global write: tb_tg_scan
Impact: low
Show code
tb_tg_scan = tg + tb_scan_time
L1112 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = tb_relations[tb_factions[i]][2]
L1117 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = true
L1135 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = tb_relations[tb_factions[i]][2]
L1136 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = game.translate_string("tb_sooner_rf")
L1139 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = true
L1153 🔴 global_write
Global write: cb_reminders
Impact: low
Show code
cb_reminders = ui_mcm.get("RF_package_patch/reminders")
L1175 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = true
L1179 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1183 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1193 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = tb_package_queue[1][2]
L1207 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = chosenmap
L1218 🔴 global_write
Global write: tb_previous_level
Impact: low
Show code
tb_previous_level = chosenmap
L1227 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = rfreq
L1233 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = se_obj.id
L1234 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = rlvid
L1235 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = rgvid
L1238 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = true
L1240 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = game.translate_string("tb_dont_forget") .. " " .. game.translate_string(rlocat) .. " " .. game.translate_string(rplace) .. game.translate_string("tb_freq_was_on") .. " " .. g_tostring(rfreq) .. game.translate_string("tb_the_mhz")
L1244 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1247 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1306 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 1000
L1317 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 2000
L1328 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 3000
L1338 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L1355 🔴 global_write
Global write: cb_unpack
Impact: low
Show code
cb_unpack = ui_mcm.get ("RF_package_patch/unpacking")
L1360 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = false
L1361 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = false
L1362 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L1363 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L1364 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = "empty"
L1365 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = "empty"
L1366 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L1378 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = 0
L1380 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = tb_bonus_items + 1
L1398 🔴 global_write
Global write: note_given
Impact: low
Show code
note_given = true
L1427 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = m_data.tb_target_item
L1428 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = m_data.tb_sufficient_passed
L1429 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = m_data.tb_package_active
L1430 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = m_data.tb_reminder
L1431 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = m_data.tb_package_in_level
L1432 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = m_data.tb_freq
L1433 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = m_data.tb_sender_icon
L1434 🔴 global_write
Global write: tb_relations
Impact: low
Show code
tb_relations = m_data.tb_relations
L1435 🔴 global_write
Global write: tb_package_queue
Impact: low
Show code
tb_package_queue = m_data.tb_package_queue
L1438 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = m_data.tb_target_lvid
L1439 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = m_data.tb_target_gvid
L1440 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = m_data.tb_bonus_items
L1441 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = m_data.tb_badguy_spawned
L1444 🔴 global_write
Global write: tb_previous_level
Impact: low
Show code
tb_previous_level = m_data.tb_previous_level
L1447 🔴 global_write
Global write: cb_note_given
Impact: low
Show code
cb_note_given = m_data.cb_note_given

custom_functor_autoinject.script

L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."*"..g_tostring(t))
L114 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(t).." {")
L116 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..string.rep(" ",#pos+6).."}")
L118 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(val))
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..g_tostring(t))
L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L145 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L152 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L154 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L158 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L321 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s", k, v.index)
L324 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s, max custom_functor reached", k, v.index)
L426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, processing queue")
L429 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, type %s", v.type)
L466 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid, min 1, max 10, your slot: %s", slot)
L481 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid min 1, max 10, your slot: %s", slot)
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[" .. k .. "] => ")

335- Auto-Stacking Items - Zatura

1 file (🟢0 🟡0 🔴0 🔵16)

zatura_autostack.script

L11 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sec.." "..id.." is multiuse, trying stacking")
L13 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("type "..sec.." already processes, skipping")
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("type "..sec.." not processed yet, adding")
L20 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sec.." is not multiuse, skipping")
L24 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("#Starting to try autostacking!")
L42 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Starting autostacking with "..sentsec.." ID "..obj)
L71 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("item parent is undefined %s, %s", actor:name(), actor:section())
L76 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Combiner, all items are filled")
L130 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("item parent is undefined %s, %s", actor:name(), actor:section())
L133 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("old uses %s, new uses %s, diff %s", old_total_uses, total_uses, total_uses - old_total_uses)
L157 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("#actor took "..tostring(itm:section()))
L162 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("#actor took"..tostring(itm:section()).." from box "..tostring(box:section()))
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("#actor put"..tostring(itm:section()).." in box "..tostring(box:section()))
L172 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("#actor used "..tostring(itm:section()))
L177 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("#actor dropped "..tostring(itm:section()))
L188 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# Zatura's Auto-Stacking items Enabled!")

336- Item UI Improvements - Utjan

4 files (🟢0 🟡4 🔴42 🔵0)

dynamic_eq_icon.script

L1 🔴 global_write
Global write: ini_icons
Impact: low
Show code
ini_icons = nil
L2 🔴 global_write
Global write: x_offset
Impact: low
Show code
x_offset, y_offset, seperator = 0
L2 🔴 global_write
Global write: y_offset
Impact: low
Show code
x_offset, y_offset, seperator = 0
L2 🔴 global_write
Global write: seperator
Impact: low
Show code
x_offset, y_offset, seperator = 0
L7 🔴 global_write
Global write: ini_icons
Impact: low
Show code
ini_icons = ini_file("plugins\\eq_icons_settings.ltx")
L8 🔴 global_write
Global write: x_offset
Impact: low
Show code
x_offset = ini_icons:r_float("positioning", "x_offset")
L9 🔴 global_write
Global write: y_offset
Impact: low
Show code
y_offset = ini_icons:r_float("positioning", "y_offset")
L10 🔴 global_write
Global write: seperator
Impact: low
Show code
seperator = ini_icons:r_float("positioning", "seperator")
L13 🔴 global_write
Global write: armor_kinds
Impact: low
Show code
armor_kinds = {
L39 🔴 global_write
Global write: repair_type_h
Impact: low
Show code
repair_type_h = 0
L43 🔴 global_write
Global write: repair_type_h
Impact: low
Show code
repair_type_h = repair_table[3] + seperator

item_icon_info_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "item_icon_info" ,gr={

z_item_icon_info.script

L544 🟡 string_concat_in_loop
String concat in loop: name_cutoff = name_cutoff .. x
Impact: critical
Show code
name_cutoff = name_cutoff .. " " .. str_table[1]
L549 🟡 string_concat_in_loop
String concat in loop: gc_name = gc_name .. x
Impact: critical
Show code
gc_name = gc_name .. str_table[i]
L824 🟡 string_concat_in_loop
String concat in loop: name_cutoff = name_cutoff .. x
Impact: critical
Show code
name_cutoff = name_cutoff .. " " .. str_table[1]
L829 🟡 string_concat_in_loop
String concat in loop: gc_name = gc_name .. x
Impact: critical
Show code
gc_name = gc_name .. str_table[i]
L1 🔴 global_write
Global write: bar_list
Impact: low
Show code
bar_list = {
L9 🔴 global_write
Global write: utjan_xml
Impact: low
Show code
utjan_xml = nil
L11 🔴 global_write
Global write: base_init
Impact: low
Show code
base_init = utils_ui.UICellItem.InitControls
L17 🔴 global_write
Global write: base_pbar
Impact: low
Show code
base_pbar = utils_ui.UICellItem.Add_ProgressBar
L36 🔴 global_write
Global write: base_counter
Impact: low
Show code
base_counter = utils_ui.UICellItem.Add_Counter
L51 🔴 global_write
Global write: base_reset
Impact: low
Show code
base_reset = utils_ui.UICellItem.Reset
L76 🔴 global_write
Global write: valid_wpn_kinds
Impact: low
Show code
valid_wpn_kinds = {
L86 🔴 global_write
Global write: grenade_classes
Impact: low
Show code
grenade_classes = {
L92 🔴 global_write
Global write: main_slot_indexes
Impact: low
Show code
main_slot_indexes = {
L216 🔴 global_write
Global write: arty_table
Impact: low
Show code
arty_table = {
L325 🔴 global_write
Global write: clr_r
Impact: low
Show code
clr_r = GetARGB(255,196,18,18)
L326 🔴 global_write
Global write: clr_o
Impact: low
Show code
clr_o = utils_xml.get_color("d_orange", true)
L327 🔴 global_write
Global write: clr_y
Impact: low
Show code
clr_y = GetARGB(255,255,255,118)
L328 🔴 global_write
Global write: clr_g
Impact: low
Show code
clr_g = GetARGB(255,107,207,119)
L329 🔴 global_write
Global write: clr_missing
Impact: low
Show code
clr_missing = GetARGB(255,70,60,60) -- Missing part color
L428 🔴 global_write
Global write: unique_mapping
Impact: low
Show code
unique_mapping = {
L439 🔴 global_write
Global write: name_mapping
Impact: low
Show code
name_mapping = {
L485 🔴 global_write
Global write: valid_ammo_class
Impact: low
Show code
valid_ammo_class = {
L490 🔴 global_write
Global write: valid_exlosive_ammo
Impact: low
Show code
valid_exlosive_ammo = {
L627 🔴 global_write
Global write: one_use_recipes
Impact: low
Show code
one_use_recipes = {
L631 🔴 global_write
Global write: workshop_autoinject_known_recipes
Impact: low
Show code
workshop_autoinject_known_recipes = {}
L633 🔴 global_write
Global write: functor_table_readable
Impact: low
Show code
functor_table_readable = {
L676 🔴 global_write
Global write: workshop_autoinject_known_recipes
Impact: low
Show code
workshop_autoinject_known_recipes = workshop_autoinject and workshop_autoinject.known_recipe or workshop_autoinject_known_recipes
L717 🔴 global_write
Global write: base_wai_load
Impact: low
Show code
base_wai_load = workshop_autoinject.load_state
L720 🔴 global_write
Global write: workshop_autoinject_known_recipes
Impact: low
Show code
workshop_autoinject_known_recipes = mdata.known_recipe or {}
L885 🔴 global_write
Global write: repair_type_texture_tbl
Impact: low
Show code
repair_type_texture_tbl = {
L911 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()
L914 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()
L933 🔴 global_write
Global write: utjan_xml
Impact: low
Show code
utjan_xml = CScriptXmlInit()

z_scale_equipped_guns.script

L2 🔴 global_write
Global write: ini_scaling
Impact: low
Show code
ini_scaling = ini_file("plugins\\utjan_gun_scaling.ltx")

337- QoL Bundle - Utjan

4 files (🟢1 🟡0 🔴12 🔵0)

craft_use_low_cond.script

L2 🔴 global_write
Global write: base_craft
Impact: low
Show code
base_craft = ui_workshop.UIWorkshopCraft.Craft

fetch_item_icon.script

L28 🔴 global_write
Global write: delivery_table
Impact: low
Show code
delivery_table = load_var(actor, task_id)

quick_use_prio.script

L59 🟢 repeated_obj_section()
obj:section() called 3x in ui_inventory.UIInventory.Action_Use
Impact: low
Show code
Cache obj:section() result
L45 🔴 global_write
Global write: last_bag
Impact: low
Show code
last_bag = nil
L47 🔴 global_write
Global write: base_action_use
Impact: low
Show code
base_action_use = ui_inventory.UIInventory.Action_Use
L50 🔴 global_write
Global write: last_bag
Impact: low
Show code
last_bag = nil
L60 🔴 global_write
Global write: last_bag
Impact: low
Show code
last_bag = nil
L86 🔴 global_write
Global write: last_bag
Impact: low
Show code
last_bag = nil
L90 🔴 global_write
Global write: base_on_mouse1_db
Impact: low
Show code
base_on_mouse1_db = ui_inventory.UIInventory.On_CC_Mouse1_DB
L92 🔴 global_write
Global write: last_bag
Impact: low
Show code
last_bag = bag
L96 🔴 global_write
Global write: base_on_mouse2_db
Impact: low
Show code
base_on_mouse2_db = ui_inventory.UIInventory.On_CC_Mouse2
L98 🔴 global_write
Global write: last_bag
Impact: low
Show code
last_bag = bag

stacks_to_uses.script

L2 🔴 global_write
Global write: Base_Add_Counter
Impact: low
Show code
Base_Add_Counter = utils_ui.UICellItem.Add_Counter

338- Soulslike Gamemode - Jabbers

3 files (🟢0 🟡1 🔴3 🔵8)

soulslike.script

L116 🟡 string_concat_in_loop
String concat in loop: toprint = toprint .. x
Impact: critical
Show code
toprint = toprint .. "[" .. k .. "] = "
L149 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("DEBUG", output)
L153 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("INFO ", output)
L157 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("WARN ", output)
L161 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("ERROR", output)
L35 🔴 global_write
Global write: hit_type_to_str
Impact: low
Show code
hit_type_to_str = {
L48 🔴 global_write
Global write: entity_type
Impact: low
Show code
entity_type = {

soulslike_scenarios.script

L194 🔴 global_write
Global write: slot
Impact: low
Show code
slot = db.actor:item_in_slot(i)

souslike_gamemode_injector_mcm.script

L58 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('[Soulslike] OnStartGame:is_soulslike_mode='..tostring(is_soulslike_mode))
L104 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('[Soulslike] on_game_load:no config')
L113 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('[Soulslike] on_game_load:enable_soulslike_mode=true')
L133 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('Initial spawn point set to '..level.name())

340- Black Market (Buyable Gear) - SalamanderAnder & nox

2 files (🟢0 🟡2 🔴26 🔵5)

dialog_blackmarket.script

L40 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("adding dialog %s for %s, pos %s", dialogs_table[character_id], character_id, res)
L3 🔴 global_write
Global write: dialogs_table
Impact: low
Show code
dialogs_table = {

zzzz_arti_jamming_repairs.script

L614 🟡 string_concat_in_loop
String concat in loop: display_str = display_str .. x
Impact: critical
Show code
display_str = display_str .. process_part(k, v)
L873 🟡 string_concat_in_loop
String concat in loop: str_msg = str_msg .. x
Impact: critical
Show code
str_msg = str_msg .. "\\n -" .. ui_item.get_sec_name(k)
L193 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts timer | no owner found")
L243 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts | no owner found for [%s]", obj:name())
L452 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIWorkshopRepair:Repair() | can't discharge toolkit with id (%s). Object not found!", self.toolkit_pick[i])
L470 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopRepair:Repair() | object with id (%s) is either not found. Or didn't register new condition (%s)!", id, final_con)
L7 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L8 🔴 global_write
Global write: has_parts
Impact: low
Show code
has_parts = arti_jamming.has_parts
L9 🔴 global_write
Global write: is_part
Impact: low
Show code
is_part = arti_jamming.is_part
L10 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = arti_jamming.print_dbg
L11 🔴 global_write
Global write: print_ws
Impact: low
Show code
print_ws = ui_workshop.print_ws
L12 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = a_arti_jamming_mcm.get_config
L13 🔴 global_write
Global write: math_floor
Impact: low
Show code
math_floor = math.floor
L14 🔴 global_write
Global write: current_id
Impact: low
Show code
current_id = arti_jamming.current_id
L15 🔴 global_write
Global write: reset_cgd
Impact: low
Show code
reset_cgd = arti_jamming.reset_cgd
L16 🔴 global_write
Global write: SetTip
Impact: low
Show code
SetTip = ui_workshop.SetTip
L83 🔴 global_write
Global write: EvaluateParts
Impact: low
Show code
EvaluateParts = item_parts.evaluate_parts
L221 🔴 global_write
Global write: DisassemblyWeapon
Impact: low
Show code
DisassemblyWeapon = item_parts.disassembly_weapon
L331 🔴 global_write
Global write: WorkshopReplacePart
Impact: low
Show code
WorkshopReplacePart = ui_workshop.UIWorkshopRepair.ReplacePart
L400 🔴 global_write
Global write: WorkshopRepair
Impact: low
Show code
WorkshopRepair = ui_workshop.UIWorkshopRepair.Repair
L496 🔴 global_write
Global write: HowMuch
Impact: low
Show code
HowMuch = inventory_upgrades_mp.how_much_repair
L507 🔴 global_write
Global write: quality_map
Impact: low
Show code
quality_map = {
L514 🔴 global_write
Global write: unique_mapping
Impact: low
Show code
unique_mapping = {
L525 🔴 global_write
Global write: name_mapping
Impact: low
Show code
name_mapping = {
L583 🔴 global_write
Global write: jam_prob
Impact: low
Show code
jam_prob = arti_jamming.get_jam_chance(wpn)
L585 🔴 global_write
Global write: clr
Impact: low
Show code
if jam_prob <= 5 then clr = clr_g
L586 🔴 global_write
Global write: clr
Impact: low
Show code
elseif jam_prob <= 10 then clr = clr_y
L587 🔴 global_write
Global write: clr
Impact: low
Show code
elseif jam_prob <= 20 then clr = clr_o
L588 🔴 global_write
Global write: clr
Impact: low
Show code
else clr = clr_r end
L590 🔴 global_write
Global write: jam_prob
Impact: low
Show code
jam_prob = tonumber(string.format("%.0f", jam_prob))
L600 🔴 global_write
Global write: original_build_desc_header
Impact: low
Show code
original_build_desc_header = ui_item.build_desc_header

342- Desert Eagle Gunslinger Port - Dizmok & Pieuvre

2 files (🟢0 🟡2 🔴5 🔵2)

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

343- G.A.M.M.A. Traduccion Espanola - vdltman

1 file (🟢0 🟡0 🔴2 🔵3)

ui_options.script

L59 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L1038 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Changed player name from (%s) to (%s)", curr_name, new_name)
L1226 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!Found nil option value [%s]", id)
L68 🔴 global_write
Global write: options
Impact: low
Show code
options = {}
L83 🔴 global_write
Global write: options
Impact: low
Show code
options = {

345- HUD Icons Time - bvcx

1 file (🟢0 🟡0 🔴1 🔵0)

actor_status.script

L228 🔴 global_write
Global write: indicators
Impact: low
Show code
indicators = {}

347- MP7 Remodel and Reanimation - SeDzhiMol

4 files (🟢1 🟡2 🔴6 🔵2)

animation_common.script

L86 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

348- FN F2000 Remodel and Reanimation - SeDzhiMol

5 files (🟢1 🟡2 🔴10 🔵2)

animation_common.script

L86 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

vks_custom.script

L5 🔴 global_write
Global write: n
Impact: low
Show code
n = ini_sys:line_count(snd_path) or 0
L7 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = ini_sys:r_line_ex(snd_path,i,"","")
L7 🔴 global_write
Global write: id
Impact: low
Show code
result, id, value = ini_sys:r_line_ex(snd_path,i,"","")
L7 🔴 global_write
Global write: value
Impact: low
Show code
result, id, value = ini_sys:r_line_ex(snd_path,i,"","")

349- Hideout Furniture Expansion - Maid & HarukaSai

4 files (🟢0 🟡0 🔴11 🔵0)

haru_specialized_storage_boxes.script

L8 🔴 global_write
Global write: canned_food
Impact: low
Show code
canned_food = {
L17 🔴 global_write
Global write: storage_types
Impact: low
Show code
storage_types = {
L124 🔴 global_write
Global write: binder_update
Impact: low
Show code
binder_update = bind_physic_object.generic_physics_binder.update

meat_spoiling.script

L20 🔴 global_write
Global write: meats
Impact: low
Show code
meats = utils_data.collect_section(ini_meat.ini, "meats", true)

rax_persistent_highlight.script

L44 🔴 global_write
Global write: persistant_highlight
Impact: low
Show code
persistant_highlight = self:GetPersistantHighlight()
L47 🔴 global_write
Global write: color
Impact: low
Show code
color = main_clr and change_alpha(persistant_highlight, 255) or persistant_highlight -- if main_clr set the alpha to max for reasons.
L55 🔴 global_write
Global write: clr_cache
Impact: low
Show code
clr_cache = {}
L62 🔴 global_write
Global write: b
Impact: low
Show code
b = bit_band(clr, 255)
L63 🔴 global_write
Global write: g
Impact: low
Show code
g = bit_band(bit.rshift(clr, 8), 255)
L64 🔴 global_write
Global write: r
Impact: low
Show code
r = bit_band(bit.rshift(clr, 16), 255)

ui_stove_furniture.script

L12 🔴 global_write
Global write: curBoxID
Impact: low
Show code
curBoxID = pid

350- Ledge Grabbing - Demonized

3 files (🟢1 🟡0 🔴11 🔵1)

demonized_ledge_grabbing.script

L447 🟢 repeated_device
device called 5x in checkLedgeGrabbing
Impact: low
Show code
local dev = device()
L138 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('bisect, lo must be non-negative')
L47 🔴 global_write
Global write: hardcoreModeProperties
Impact: low
Show code
hardcoreModeProperties = {
L52 🔴 global_write
Global write: helmets
Impact: low
Show code
helmets = {}
L62 🔴 global_write
Global write: n
Impact: low
Show code
n = floor(max(n or 1, 1))
L67 🔴 global_write
Global write: n
Impact: low
Show code
n = n - 1
L194 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()
L197 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()
L884 🔴 global_write
Global write: outfitSoundFolder
Impact: low
Show code
outfitSoundFolder = {
L891 🔴 global_write
Global write: gruntSoundFolder
Impact: low
Show code
gruntSoundFolder = {
L895 🔴 global_write
Global write: soundFolderCache
Impact: low
Show code
soundFolderCache = {}

demonized_ledge_grabbing_animation_data.script

L5 🔴 global_write
Global write: data
Impact: low
Show code
data = {

demonized_ledge_grabbing_mcm.script

L5 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "demonized_ledge_grabbing", sh=true ,gr={

351- M249 Reanimation - NickolasNikova

4 files (🟢1 🟡2 🔴6 🔵2)

animation_common.script

L86 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

353- RPD Reanimation - NickolasNikova

4 files (🟢1 🟡2 🔴6 🔵2)

animation_common.script

L86 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

354- AK12 Reanimation - SeDzhiMol

4 files (🟢1 🟡2 🔴6 🔵2)

animation_common.script

L86 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

361- BAS SR-2M Reanimated - Synd1cate

2 files (🟢0 🟡2 🔴5 🔵2)

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

363- Winchester 1892 - billwa

6 files (🟢1 🟡2 🔴10 🔵3)

ammo_check_mcm.script

L1 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("no ammo check")

animation_common.script

L86 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

vks_custom.script

L5 🔴 global_write
Global write: n
Impact: low
Show code
n = ini_sys:line_count(snd_path) or 0
L7 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = ini_sys:r_line_ex(snd_path,i,"","")
L7 🔴 global_write
Global write: id
Impact: low
Show code
result, id, value = ini_sys:r_line_ex(snd_path,i,"","")
L7 🔴 global_write
Global write: value
Impact: low
Show code
result, id, value = ini_sys:r_line_ex(snd_path,i,"","")

366- AS VAL Reanimation - SeDzhiMol

4 files (🟢1 🟡2 🔴6 🔵4)

animation_common.script

L83 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result
L63 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("stop_all_sound_object(sec): %s", sec)
L67 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sec: %s| Stopping: %s", sec, path)

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

37- Dynamic Tonemap Extended - TheMrDemonized

2 files (🟢0 🟡0 🔴1 🔵9)

demonized_time_events.script

L37 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L40 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L42 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L47 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L49 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L53 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L55 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L60 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L62 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)

dynamic_tonemap_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op = {id = "dynamic_tonemap_extended", sh = true, gr = {

374- Stealth Kill Detection Fix - Catspaw

1 file (🟢0 🟡0 🔴9 🔵6)

stealth_kill_detection.script

L41 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! ERROR: AddScriptCallback is not supported, you need to upgrade your version of Anomaly!")
L58 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logprefix..logtext, ...)
L83 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Stealth kill detection: Triggering stealth kill callbacks (melee = %s) for victim %s", was_melee, victim_id)
L100 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Stealth kill detection: Checking actor hit on %s (%s)", npc:name(), victim_id)
L116 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("npc_on_death_callback fired for kill: victim %s (%s) | killer %s (%s)",victim and victim:name(),victim and victim:id(),killer and killer:name(),killer and killer:id())
L120 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("npc_on_silent_kill_callback fired for stealth kill: victim %s (%s) | killer %s (%s) | weapon %s | melee: %s",victim and victim:name(),victim and victim:id(),killer and killer:name(),killer and killer:id(),weapon and weapon:name(), was_melee)
L8 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.0"
L9 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20240603
L48 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L49 🔴 global_write
Global write: test_callbacks
Impact: low
Show code
test_callbacks = false
L50 🔴 global_write
Global write: send_on_death_cb
Impact: low
Show code
send_on_death_cb = true
L51 🔴 global_write
Global write: send_on_skill_cb
Impact: low
Show code
send_on_skill_cb = true
L52 🔴 global_write
Global write: add_statistic
Impact: low
Show code
add_statistic = true
L53 🔴 global_write
Global write: last_s_killed
Impact: low
Show code
last_s_killed = nil
L77 🔴 global_write
Global write: last_s_killed
Impact: low
Show code
last_s_killed = killer_id

377- GAMMA Portugues Brasileiro Traducao - PedroAmaral89

1 file (🟢0 🟡0 🔴2 🔵3)

ui_options.script

L59 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L963 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Changed player name from (%s) to (%s)", curr_name, new_name)
L1151 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!Found nil option value [%s]", id)
L68 🔴 global_write
Global write: options
Impact: low
Show code
options = {}
L83 🔴 global_write
Global write: options
Impact: low
Show code
options = {

378- FDDA Enhanced Animations - lizzardman

1 file (🟢0 🟡0 🔴1 🔵1)

z_enhanced_animations_hud_fov_fix.script

L9 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if ea_debug then printf("speed is = "..speed) end
L4 🔴 global_write
Global write: orig_enhanced_animations_start_anim
Impact: low
Show code
orig_enhanced_animations_start_anim = enhanced_animations.start_anim

380- Anomaly Subtitles - AntGlobes

10 files (🟢0 🟡3 🔴55 🔵23)

ag_colours.script

L106 🔴 global_write
Global write: clr_table
Impact: low
Show code
clr_table = {
L132 🔴 global_write
Global write: clr_table_opacity
Impact: low
Show code
clr_table_opacity = {
L158 🔴 global_write
Global write: faction_to_colour_opacity
Impact: low
Show code
faction_to_colour_opacity = {
L176 🔴 global_write
Global write: faction_to_colour
Impact: low
Show code
faction_to_colour = {

ag_game_objects.script

L594 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("object found")
L599 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("object within distance")
L604 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("valid screen pos")
L606 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("checked if behind wall")
L608 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("invalid screen pos")
L611 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("out of distance")
L614 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("obj not found")
L616 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Is %s visible: %s?", id, visible)
L647 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s: %s", obj:section(), utils_data.print_table(bones, nil, true))
L659 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Found %s %s's on current level", size_table(items), sect)
L672 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s icon file: %s", sect, file)
L682 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s %s %s", sect, visual, name)

ag_logging.script

L28 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(header, strformat(str, ...))
L64 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log(fmt)

ag_strings.script

L84 🔴 global_write
Global write: tokens
Impact: low
Show code
tokens = list_pattern_occurances(subtitle, "[,!?.]", CHAR_LIMT)

ag_tables.script

L251 🟡 string_concat_in_loop
String concat in loop: tbl_str = tbl_str .. x
Impact: critical
Show code
tbl_str = tbl_str .. strformat("%s", k)
L285 🟡 string_concat_in_loop
String concat in loop: output_str = output_str .. x
Impact: critical
Show code
output_str = output_str .. ",\n"
L341 🟡 string_concat_in_loop
String concat in loop: output_str = output_str .. x
Impact: critical
Show code
output_str = output_str .. "\n" .. tab(depth-1) .. "}"
L243 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s=%s", k, v)
L364 🔴 global_write
Global write: bone_groups
Impact: low
Show code
bone_groups = {

subtitles.script

L2 🔴 global_write
Global write: split
Impact: low
Show code
split = ag_strings.split
L3 🔴 global_write
Global write: table_slice
Impact: low
Show code
table_slice = ag_tables.table_slice
L4 🔴 global_write
Global write: table_extend
Impact: low
Show code
table_extend = ag_tables.table_extend
L5 🔴 global_write
Global write: contains
Impact: low
Show code
contains = ag_tables.contains
L6 🔴 global_write
Global write: get_unknown_object
Impact: low
Show code
get_unknown_object = ag_game_objects.get_unknown_object
L7 🔴 global_write
Global write: dist_to_pos
Impact: low
Show code
dist_to_pos = ag_game_objects.dist_to_pos
L8 🔴 global_write
Global write: gts
Impact: low
Show code
gts = ag_strings.get_translation
L9 🔴 global_write
Global write: print_table
Impact: low
Show code
print_table = ag_tables.print_table
L12 🔴 global_write
Global write: get_end_digits
Impact: low
Show code
get_end_digits = subtitles_utils.get_end_digits
L13 🔴 global_write
Global write: in_snd_dir
Impact: low
Show code
in_snd_dir = subtitles_utils.in_snd_dir
L14 🔴 global_write
Global write: path_to_xml
Impact: low
Show code
path_to_xml = subtitles_utils.path_to_xml
L15 🔴 global_write
Global write: get_npc_name
Impact: low
Show code
get_npc_name = subtitles_utils.get_npc_name
L16 🔴 global_write
Global write: set_debug_level
Impact: low
Show code
set_debug_level = subtitles_utils.set_debug_level
L17 🔴 global_write
Global write: filter_debug_msg
Impact: low
Show code
filter_debug_msg = subtitles_utils.filter_debug_msg
L20 🔴 global_write
Global write: log_file_cache
Impact: low
Show code
log_file_cache = {
L29 🔴 global_write
Global write: priority_tbl
Impact: low
Show code
priority_tbl = {
L52 🔴 global_write
Global write: exclude_subs
Impact: low
Show code
exclude_subs = {
L74 🔴 global_write
Global write: file_cache
Impact: low
Show code
file_cache = {}
L75 🔴 global_write
Global write: clr_cache
Impact: low
Show code
clr_cache = {}
L76 🔴 global_write
Global write: recent_npc_deaths
Impact: low
Show code
recent_npc_deaths = {}
L80 🔴 global_write
Global write: ini_script_sound
Impact: low
Show code
ini_script_sound = ini_file_ex("misc\\sound\\script_sound.ltx")

subtitles_mcm.script

L11 🔴 global_write
Global write: print_table
Impact: low
Show code
print_table = ag_tables.print_table
L13 🔴 global_write
Global write: defaults
Impact: low
Show code
defaults = {
L64 🔴 global_write
Global write: opts
Impact: low
Show code
opts = {

subtitles_ui.script

L2 🔴 global_write
Global write: contains
Impact: low
Show code
contains = ag_tables.contains
L3 🔴 global_write
Global write: print_table
Impact: low
Show code
print_table = ag_tables.print_table
L4 🔴 global_write
Global write: get_unknown_object
Impact: low
Show code
get_unknown_object = ag_game_objects.get_unknown_object
L5 🔴 global_write
Global write: dist_to_pos
Impact: low
Show code
dist_to_pos = ag_game_objects.dist_to_pos
L6 🔴 global_write
Global write: geo_ray
Impact: low
Show code
geo_ray = demonized_geometry_ray.geometry_ray
L7 🔴 global_write
Global write: get_direction
Impact: low
Show code
get_direction = ag_game_objects.get_direction
L10 🔴 global_write
Global write: get_npc_faction
Impact: low
Show code
get_npc_faction = subtitles_utils.get_npc_faction
L11 🔴 global_write
Global write: set_debug_level
Impact: low
Show code
set_debug_level = subtitles_utils.set_debug_level
L12 🔴 global_write
Global write: filter_debug_msg
Impact: low
Show code
filter_debug_msg = subtitles_utils.filter_debug_msg
L13 🔴 global_write
Global write: str2ARGB
Impact: low
Show code
str2ARGB = subtitles_utils.str2ARGB
L30 🔴 global_write
Global write: clr_cache
Impact: low
Show code
clr_cache = {}
L35 🔴 global_write
Global write: include_materials
Impact: low
Show code
include_materials = {

subtitles_utils.script

L46 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Filename: %s", files:GetAt(i):NameFull())
L135 🔵 debug_statement
Debug call: print()
Impact: medium
Show code
print(file_tkn, community)
L177 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--------Anomaly Subtitles--------")
L178 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Version: %s", as_version)
L179 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Author(s): %s", as_authors)
L180 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Last Updated: %s", as_last_update)
L181 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("---------------------------------")
L2 🔴 global_write
Global write: contains
Impact: low
Show code
contains = ag_tables.contains
L3 🔴 global_write
Global write: split
Impact: low
Show code
split = ag_strings.split
L7 🔴 global_write
Global write: as_version
Impact: low
Show code
as_version = "v0.12.2"
L8 🔴 global_write
Global write: as_authors
Impact: low
Show code
as_authors = "Antglobes, Vodoxleb, Lin, Tehanow"
L9 🔴 global_write
Global write: as_last_update
Impact: low
Show code
as_last_update = "23-07-25"
L12 🔴 global_write
Global write: setup_init
Impact: low
Show code
setup_init = false
L66 🔴 global_write
Global write: special_character_faction
Impact: low
Show code
special_character_faction = {
L92 🔴 global_write
Global write: communities
Impact: low
Show code
communities = {
L109 🔴 global_write
Global write: exclude_factions
Impact: low
Show code
exclude_factions = {
L187 🔴 global_write
Global write: setup_init
Impact: low
Show code
setup_init = true

ui_mcm_argb_input.script

L198 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Setting up colorblind control")
L25 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "ui_mcm_argb_input"
L26 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "2.1.1"
L27 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250428

381- Mugging Squads - Demonized

3 files (🟢1 🟡1 🔴22 🔵3)

demonized_mugging_squads.script

L1180 🟢 repeated_obj_section()
obj:section() called 3x in itr
Impact: low
Show code
Cache obj:section() result
L1400 🟡 string_concat_in_loop
String concat in loop: s = s .. x
Impact: critical
Show code
s = s .. "\\n " .. ui_item.get_sec_name(item:section())
L25 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_G.printf(s, ...)
L39 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_G.printf(s, ...)
L1126 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("-demonized_mugging_squads axr_panic: no action id p[%s]", i)
L14 🔴 global_write
Global write: delaySpawn
Impact: low
Show code
delaySpawn = 30 -- real seconds
L15 🔴 global_write
Global write: delayState
Impact: low
Show code
delayState = 5 -- real seconds
L103 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()
L106 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()
L131 🔴 global_write
Global write: activeSquads
Impact: low
Show code
activeSquads = {} -- current active mugging squads
L137 🔴 global_write
Global write: squadStages
Impact: low
Show code
squadStages = {
L498 🔴 global_write
Global write: defaultUseCond
Impact: low
Show code
defaultUseCond = "{=is_wounded} false, {!is_squad_commander} false, {=actor_enemy} false, {=has_enemy} false, {=dist_to_actor_le(3)} true, false"
L641 🔴 global_write
Global write: activeSquads
Impact: low
Show code
activeSquads = demonized_mugging_squads.active_squads or {}
L774 🔴 global_write
Global write: actid
Impact: low
Show code
actid = 188125
L775 🔴 global_write
Global write: evaid
Impact: low
Show code
evaid = 188125
L1171 🔴 global_write
Global write: ignoreItemsToMug
Impact: low
Show code
ignoreItemsToMug = {
L1709 🔴 global_write
Global write: factionToMuggingOptions
Impact: low
Show code
factionToMuggingOptions = {}

demonized_mugging_squads_mcm.script

L5 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "demonized_mugging_squads",sh=true ,gr={
L39 🔴 global_write
Global write: ui_mcm_UIMCM_Register_Cap
Impact: low
Show code
ui_mcm_UIMCM_Register_Cap = ui_mcm.UIMCM.Register_Cap
L42 🔴 global_write
Global write: id
Impact: low
Show code
id = id:gsub("/", "_")
L44 🔴 global_write
Global write: hint
Impact: low
Show code
hint = hint:gsub("demonized_replace_placeholder_", "")

demonized_mugging_squads_options.script

L45 🔴 global_write
Global write: safe_levels
Impact: low
Show code
safe_levels = {
L71 🔴 global_write
Global write: safe_smarts
Impact: low
Show code
safe_smarts = {
L94 🔴 global_write
Global write: factions_to_levels
Impact: low
Show code
factions_to_levels = {}
L97 🔴 global_write
Global write: faction_squads
Impact: low
Show code
faction_squads = {
L113 🔴 global_write
Global write: danger_ranks
Impact: low
Show code
danger_ranks = {
L125 🔴 global_write
Global write: danger_reputations
Impact: low
Show code
danger_reputations = {

383- Headgear Animations - lizzardman

1 file (🟢0 🟡0 🔴12 🔵0)

headgear_animations.script

L8 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = false
L46 🔴 global_write
Global write: enable_animations
Impact: low
Show code
Invoke("actor_on_first_update_te", 3, function() enable_animations = true end)
L113 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = false
L115 🔴 global_write
Global write: enable_animations
Impact: low
Show code
Invoke("on_toggle_equip_te0", 0.1, function() enable_animations = true end)
L118 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = false
L120 🔴 global_write
Global write: enable_animations
Impact: low
Show code
Invoke("on_toggle_equip_te1", 0.1, function() enable_animations = true end)
L129 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = false
L131 🔴 global_write
Global write: enable_animations
Impact: low
Show code
Invoke("on_toggle_unequip_te1", 0.1, function() enable_animations = true end)
L135 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = false
L137 🔴 global_write
Global write: enable_animations
Impact: low
Show code
Invoke("on_toggle_unequip_te3", 0.1, function() enable_animations = true end)
L194 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = false
L211 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = true

384- Armsel Protecta Reanimation - NickolasNikova

4 files (🟢1 🟡2 🔴6 🔵2)

animation_common.script

L86 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

387- MK18 Mjlonir Reanimation - NickolasNikova

4 files (🟢1 🟡2 🔴6 🔵2)

animation_common.script

L86 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

390- Workshop Parts Inventory - strangerism

1 file (🟢0 🟡0 🔴5 🔵3)

zone_keeper.script

L16 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if select('#', ...) ~= 0 then printf(string.format(msg,...))
L17 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
else printf(msg)
L118 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("build_desc_footer for object id %s", obj:id())
L7 🔴 global_write
Global write: settings
Impact: low
Show code
settings = {}
L111 🔴 global_write
Global write: original_build_desc_footer
Impact: low
Show code
original_build_desc_footer = ui_item.build_desc_footer
L159 🔴 global_write
Global write: inventory_close
Impact: low
Show code
inventory_close = ui_inventory.UIInventory.Close
L184 🔴 global_write
Global write: base_return_items
Impact: low
Show code
base_return_items = nil
L187 🔴 global_write
Global write: base_return_items
Impact: low
Show code
base_return_items = zzz_workshop_return_items.return_items

391- Hideout Furniture Expansion Ammo Box Patch - pesta

1 file (🟢0 🟡0 🔴2 🔵0)

zzz_haru_storage_mags_monkey.script

L13 🔴 global_write
Global write: custom_ammo_classes
Impact: low
Show code
custom_ammo_classes = {
L24 🔴 global_write
Global write: mine_sections
Impact: low
Show code
mine_sections = {

392- NPCs Don't Attack Boxes - OnTuMuCT

1 file (🟢0 🟡0 🔴3 🔵0)

axr_npc_vs_box.script

L6 🔴 global_write
Global write: actid
Impact: low
Show code
actid = 188120
L7 🔴 global_write
Global write: evaid
Impact: low
Show code
evaid = 188120
L17 🔴 global_write
Global write: selected
Impact: low
Show code
selected = {}

393- Disassembly Item Tweaks - Asshall

2 files (🟢2 🟡0 🔴2 🔵0)

dit_mcm.script

L16 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "dit",sh=true ,gr={

zzz_dit.script

L25 🟢 repeated_obj_d_section()
obj_d:section() called 4x in is_breaking
Impact: low
Show code
Cache obj_d:section() result
L73 🟢 repeated_obj_d_section()
obj_d:section() called 3x in <global>
Impact: low
Show code
Cache obj_d:section() result
L69 🔴 global_write
Global write: obj_d
Impact: low
Show code
obj_d = obj_d or get_suitable_dtool(obj)

394- Return Menu Music - Mirrowel

1 file (🟢0 🟡0 🔴0 🔵4)

return_menu_music.script

L7 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![RMM] EGUI detected on load. Shutting down")
L18 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![RMM] %s track(s) indexed: ", amount)
L22 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s", strings[i])
L26 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![RMM] Track picked: %s", toplay)

396- Glowsticks Reanimated - lizzardman

1 file (🟢1 🟡0 🔴5 🔵2)

zz_glowstick_mcm.script

L62 🟢 repeated_det_section()
det:section() called 4x in actor_on_update
Impact: low
Show code
Cache det:section() result
L146 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Couldn't spawn Glowstick!")
L153 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Couldn't get Glowstick data!")
L588 🔴 global_write
Global write: options
Impact: low
Show code
options =
L671 🔴 global_write
Global write: base_get_light_flicker
Impact: low
Show code
base_get_light_flicker = level_environment.get_light_flicker()
L954 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update
L961 🔴 global_write
Global write: SpawnCosmetics
Impact: low
Show code
SpawnCosmetics = death_manager.spawn_cosmetics
L968 🔴 global_write
Global write: TrySpawnTreasure
Impact: low
Show code
TrySpawnTreasure = treasure_manager.try_spawn_treasure

397- Outfits Animation - lizzardman

1 file (🟢0 🟡0 🔴3 🔵4)

outfit_animations.script

L367 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("outfit memory: l(" .. s ..") {}")
L370 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("outfit memory: l(" .. s .. ") {")
L375 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(" " .. i .. " = " .. v)
L378 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("}")
L1 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = false
L43 🔴 global_write
Global write: memory_max
Impact: low
Show code
memory_max = outfit_animations_mcm.get_config("memory_size")
L53 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = true

399- Tosox Mini Mods Repo - Tosox

6 files (🟢0 🟡0 🔴12 🔵0)

z_companions_dont_blow_disguises.script

L13 🔴 global_write
Global write: orig_gameplay_disguise_npc_on_update
Impact: low
Show code
orig_gameplay_disguise_npc_on_update = gameplay_disguise.npc_on_update
L34 🔴 global_write
Global write: orig_gameplay_disguise_anybody_see
Impact: low
Show code
orig_gameplay_disguise_anybody_see = gameplay_disguise.anybody_see

z_dyn_news_heard_melee_fix.script

L11 🔴 global_write
Global write: orig_dnm_gossip_death_by_stalker
Impact: low
Show code
orig_dnm_gossip_death_by_stalker = dynamic_news_manager.DynamicNewsManager.GossipDeathByStalker
L21 🔴 global_write
Global write: orig_dnm_gossip_death_of_mutant
Impact: low
Show code
orig_dnm_gossip_death_of_mutant = dynamic_news_manager.DynamicNewsManager.GossipDeathOfMutant

z_dyn_news_task_gossip_fix.script

L11 🔴 global_write
Global write: orig_dnm_gossip_task_repeat_timeout
Impact: low
Show code
orig_dnm_gossip_task_repeat_timeout = dynamic_news_manager.DynamicNewsManager.GossipTaskRepeatTimeout

z_npc_wounded_animation_fix_mcm.script

L11 🔴 global_write
Global write: orig_action_wounded_initialize
Impact: low
Show code
orig_action_wounded_initialize = xr_wounded.action_wounded.initialize
L44 🔴 global_write
Global write: defaults
Impact: low
Show code
defaults = {

z_surge_crow_killer_fix.script

L11 🔴 global_write
Global write: surge_manager_CSurgeManager_kill_crows_at_pos
Impact: low
Show code
surge_manager_CSurgeManager_kill_crows_at_pos = surge_manager.CSurgeManager.kill_crows_at_pos
L32 🔴 global_write
Global write: psi_storm_manager_CPsiStormManager_kill_crows_at_pos
Impact: low
Show code
psi_storm_manager_CPsiStormManager_kill_crows_at_pos = psi_storm_manager.CPsiStormManager.kill_crows_at_pos

z_task_marker_delivery_fix.script

L11 🔴 global_write
Global write: orig_general_delivery
Impact: low
Show code
orig_general_delivery = task_functor.general_delivery
L42 🔴 global_write
Global write: orig_task_status_functor_drx_sl_quest_item_task_status
Impact: low
Show code
orig_task_status_functor_drx_sl_quest_item_task_status = task_status_functor.drx_sl_quest_item_task_status
L64 🔴 global_write
Global write: orig_drx_sl_quest_item_task_target
Impact: low
Show code
orig_drx_sl_quest_item_task_target = task_functor.drx_sl_quest_item_task_target

3D_Interactive_PDA

16 files (🟢3 🟡5 🔴78 🔵7)

pda_inter_gui.script

L820 🟡 string_concat_in_loop
String concat in loop: s1 = s1 .. x
Impact: critical
Show code
for i = 1, #t do s1 = s1 .. string.char(t[i]) end
L1160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L3 🔴 global_write
Global write: xml
Impact: low
Show code
xml = CScriptXmlInit()
L6 🔴 global_write
Global write: actions_to_unbind
Impact: low
Show code
actions_to_unbind = {
L22 🔴 global_write
Global write: keys_ini
Impact: low
Show code
keys_ini = ini_file_ex("plugins\\key_to_DIK.ltx")
L23 🔴 global_write
Global write: last_3d_state
Impact: low
Show code
last_3d_state = false
L24 🔴 global_write
Global write: exc_key_btns
Impact: low
Show code
exc_key_btns = {
L32 🔴 global_write
Global write: pda_max_tasks
Impact: low
Show code
pda_max_tasks = pda_inter_mcm.get_config("task_max_tasks")
L34 🔴 global_write
Global write: pda_open_key
Impact: low
Show code
pda_open_key = pda_inter_mcm.get_config("int_pda_key")
L36 🔴 global_write
Global write: Custom_PDA_debug
Impact: low
Show code
Custom_PDA_debug = pda_inter_mcm.get_config("debugx")
L39 🔴 global_write
Global write: main_menu_btns
Impact: low
Show code
main_menu_btns = 7
L40 🔴 global_write
Global write: task_menu_btns
Impact: low
Show code
task_menu_btns = 10
L80 🔴 global_write
Global write: tab_visual_positions
Impact: low
Show code
tab_visual_positions = {}
L83 🔴 global_write
Global write: pda_msg_states
Impact: low
Show code
pda_msg_states = {
L93 🔴 global_write
Global write: pda_notes_t
Impact: low
Show code
pda_notes_t = {}
L96 🔴 global_write
Global write: pdax_level_list
Impact: low
Show code
pdax_level_list = {
L144 🔴 global_write
Global write: pdax_mutant_list
Impact: low
Show code
pdax_mutant_list = {
L166 🔴 global_write
Global write: pdax_artefact_list
Impact: low
Show code
pdax_artefact_list = {
L213 🔴 global_write
Global write: pda_inter_bp
Impact: low
Show code
pda_inter_bp = false
L217 🔴 global_write
Global write: pda_opened
Impact: low
Show code
pda_opened = false -- just in case
L308 🔴 global_write
Global write: M_locked
Impact: low
Show code
M_locked = false
L309 🔴 global_write
Global write: removelet
Impact: low
Show code
removelet = false
L327 🔴 global_write
Global write: removelet
Impact: low
Show code
removelet = false
L347 🔴 global_write
Global write: removelet
Impact: low
Show code
removelet = true
L390 🔴 global_write
Global write: pda_opened
Impact: low
Show code
pda_opened = true
L397 🔴 global_write
Global write: last_3d_state
Impact: low
Show code
last_3d_state = get_console_cmd(1,"g_3d_pda")
L465 🔴 global_write
Global write: tab_visual_positions
Impact: low
Show code
tab_visual_positions = {}
L834 🔴 global_write
Global write: pda_inter_bp
Impact: low
Show code
if gt_snake_b1t then pda_inter_bp = true end
L968 🔴 global_write
Global write: pda_opened
Impact: low
Show code
pda_opened = false
L1172 🔴 global_write
Global write: pda_msg_states
Impact: low
Show code
pda_msg_states = m_data.pda_msg_states or { { state = 0, big_menu = true }, { state = 0, big_menu = true }, { state = 0, big_menu = false }, { state = 0, big_menu = true }, { state = 0, big_menu = false }, { state = 0, big_menu = false }, { state = 0, big_menu = true } }
L1174 🔴 global_write
Global write: pda_notes_t
Impact: low
Show code
pda_notes_t = m_data.pda_notes_t or {}
L1187 🔴 global_write
Global write: pda_opened
Impact: low
Show code
pda_opened = false
L1234 🔴 global_write
Global write: pda_open_key
Impact: low
Show code
pda_open_key = pda_inter_mcm.get_config("int_pda_key")
L1235 🔴 global_write
Global write: pda_max_tasks
Impact: low
Show code
pda_max_tasks = pda_inter_mcm.get_config("task_max_tasks")
L1236 🔴 global_write
Global write: Custom_PDA_debug
Impact: low
Show code
Custom_PDA_debug = pda_inter_mcm.get_config("debugx")
L1240 🔴 global_write
Global write: dik_to_num
Impact: low
Show code
dik_to_num = keys_ini:collect_section(section)

pda_inter_gui_a_raid.script

L1 🔴 global_write
Global write: pmain
Impact: low
Show code
pmain = pda_inter_gui

pda_inter_gui_b_info.script

L1 🔴 global_write
Global write: pmain
Impact: low
Show code
pmain = pda_inter_gui

pda_inter_gui_c_games.script

L198 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("slots launch")
L1 🔴 global_write
Global write: pmain
Impact: low
Show code
pmain = pda_inter_gui
L6 🔴 global_write
Global write: games_amount
Impact: low
Show code
games_amount = 5
L8 🔴 global_write
Global write: puzzle_reward
Impact: low
Show code
puzzle_reward = pda_inter_mcm.get_config("puzzle_reward")
L9 🔴 global_write
Global write: slots_bet
Impact: low
Show code
slots_bet = pda_inter_mcm.get_config("slots_bet")
L10 🔴 global_write
Global write: sudoku_reward
Impact: low
Show code
sudoku_reward = pda_inter_mcm.get_config("sudoku_reward")
L11 🔴 global_write
Global write: sudoku_diff
Impact: low
Show code
sudoku_diff = pda_inter_mcm.get_config("sudoku_diff")
L1160 🔴 global_write
Global write: puzzle_reward
Impact: low
Show code
puzzle_reward = pda_inter_mcm.get_config("puzzle_reward")
L1161 🔴 global_write
Global write: slots_bet
Impact: low
Show code
slots_bet = pda_inter_mcm.get_config("slots_bet")
L1162 🔴 global_write
Global write: sudoku_reward
Impact: low
Show code
sudoku_reward = pda_inter_mcm.get_config("sudoku_reward")
L1163 🔴 global_write
Global write: sudoku_diff
Impact: low
Show code
sudoku_diff = pda_inter_mcm.get_config("sudoku_diff")

pda_inter_gui_c_games_rogue.script

L9 🔴 global_write
Global write: pda_rogue_game
Impact: low
Show code
pda_rogue_game = {}
L477 🔴 global_write
Global write: pda_rogue_game
Impact: low
Show code
pda_rogue_game = m_data.pda_rogue_game or {}

pda_inter_gui_c_games_rogue_level_gen.script

L137 🟡 string_concat_in_loop
String concat in loop: adj_str = adj_str .. x
Impact: critical
Show code
adj_str = adj_str .. "u"
L225 🟡 string_concat_in_loop
String concat in loop: adj_str = adj_str .. x
Impact: critical
Show code
adj_str = adj_str .. "u"
L27 🔴 global_write
Global write: start_cells
Impact: low
Show code
walls_map, start_cells = self:LevelWildGenerate(self.grid_w, self.grid_h, wall_percents)

pda_inter_gui_d_trade.script

L1 🔴 global_write
Global write: pmain
Impact: low
Show code
pmain = pda_inter_gui

pda_inter_gui_e_notes.script

L1 🔴 global_write
Global write: pmain
Impact: low
Show code
pmain = pda_inter_gui

pda_inter_gui_f_banter.script

L1 🔴 global_write
Global write: pmain
Impact: low
Show code
pmain = pda_inter_gui

pda_inter_gui_g_tasks.script

L182 🟡 string_concat_in_loop
String concat in loop: reward = reward .. x
Impact: critical
Show code
reward = reward .. " " .. gt("pda_task_reward_hour")
L1 🔴 global_write
Global write: pmain
Impact: low
Show code
pmain = pda_inter_gui

pda_inter_mcm.script

L338 🟡 string_concat_in_loop
String concat in loop: new_str = new_str .. x
Impact: critical
Show code
new_str = new_str .. t[i][j] .. "\n"
L161 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "pda_inter" ,gr={

pda_inter_x_banter.script

L524 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L422 🔴 global_write
Global write: npc_name
Impact: low
Show code
npc_name = gt("st_faction_" .. se_npc:community())
L425 🔴 global_write
Global write: npc_name
Impact: low
Show code
npc_name = str and gt(strings[str])

pda_inter_x_buyinfo.script

L383 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L1 🔴 global_write
Global write: Find_available_messages
Impact: low
Show code
Find_available_messages = {} -- slowly add npcs to this table
L311 🔴 global_write
Global write: Find_available_messages
Impact: low
Show code
Find_available_messages = {}

pda_inter_x_raid.script

L412 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L1 🔴 global_write
Global write: Raid_available_squads
Impact: low
Show code
Raid_available_squads = {}
L2 🔴 global_write
Global write: Hired_squad
Impact: low
Show code
Hired_squad = { id = false, start_time = false, duration = false, danger = false, icon = "default" }
L420 🔴 global_write
Global write: Hired_squad
Impact: low
Show code
Hired_squad = m_data.Hired_squad or { id = false, start_time = false, duration = false, danger = false, icon = "default" }

pda_inter_x_tasks.script

L600 🟢 repeated_alife
alife called 4x in add_giver
Impact: low
Show code
local sim = alife()
L1264 🟢 repeated_item_section()
item:section() called 3x in manage_fetch_items_task
Impact: low
Show code
Cache item:section() result
L1285 🟢 repeated_itm_section()
itm:section() called 3x in release_items
Impact: low
Show code
Cache itm:section() result
L2668 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L30 🔴 global_write
Global write: Tasks_available_givers
Impact: low
Show code
Tasks_available_givers = {} -- clear this (to display in GUI)
L31 🔴 global_write
Global write: Active_pda_tasks
Impact: low
Show code
Active_pda_tasks = {} -- save this (tasks that we took)
L35 🔴 global_write
Global write: all_potential_givers
Impact: low
Show code
all_potential_givers = {} -- first update collects all possible givers (global for banter)
L2658 🔴 global_write
Global write: Active_pda_tasks
Impact: low
Show code
Active_pda_tasks = m_data.Active_pda_tasks or {}

pda_inter_x_trade.script

L693 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L2 🔴 global_write
Global write: Trade_available_messages
Impact: low
Show code
Trade_available_messages = {}
L3 🔴 global_write
Global write: Ordered_items
Impact: low
Show code
Ordered_items = {}
L4 🔴 global_write
Global write: delivered_stashes
Impact: low
Show code
delivered_stashes = {}
L8 🔴 global_write
Global write: categorized_items
Impact: low
Show code
categorized_items = {}
L28 🔴 global_write
Global write: Delivery_blacklisted_levels
Impact: low
Show code
Delivery_blacklisted_levels = { ["l03u_agr_underground"] = true, ["y04_pole"] = true, ["k01_darkscape"] = true, ["l04u_labx18"] = true, ["l08u_brainlab"] = true, ["jupiter_underground"] = true, ["l10u_bunker"] = true, ["labx8"] = true, ["l12u_control_monolith"] = true, ["l12u_sarcofag"] = true, ["l13u_warlab"] = true, ["bunker_a1"] = true, ["collaider"] = true }
L341 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = trade_ini:r_line_ex(to_collect[i], j, "", "")
L341 🔴 global_write
Global write: id
Impact: low
Show code
result, id, value = trade_ini:r_line_ex(to_collect[i], j, "", "")
L341 🔴 global_write
Global write: value
Impact: low
Show code
result, id, value = trade_ini:r_line_ex(to_collect[i], j, "", "")
L590 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = stash_ini:r_line_ex(selected_level, i, "", "")
L590 🔴 global_write
Global write: id
Impact: low
Show code
result, id, value = stash_ini:r_line_ex(selected_level, i, "", "")
L590 🔴 global_write
Global write: value
Impact: low
Show code
result, id, value = stash_ini:r_line_ex(selected_level, i, "", "")
L702 🔴 global_write
Global write: Ordered_items
Impact: low
Show code
Ordered_items = m_data.Ordered_items or {}
L703 🔴 global_write
Global write: delivered_stashes
Impact: low
Show code
delivered_stashes = m_data.delivered_stashes or {}

40- Food Drugs and Drinks Animations FDDA - Feel_Fried

6 files (🟢0 🟡0 🔴45 🔵16)

ea_error.script

L4 🔴 global_write
Global write: ea_error_text
Impact: low
Show code
ea_error_text = gt("st_EA_game_ver_error_1").." "..GAME_VERSION.." "..gt("st_EA_game_ver_error_2")
L5 🔴 global_write
Global write: ea_button_ok_text
Impact: low
Show code
ea_button_ok_text = gt("st_EA_game_ver_error_button_ok")
L6 🔴 global_write
Global write: ea_button_cancel_text
Impact: low
Show code
ea_button_cancel_text = gt("st_EA_game_ver_error_button_cancel")

ea_prefetcher.script

L12 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(value.."soud prefetched")
L20 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(value.." anim cached")

enhanced_animations.script

L123 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if ea_debug then printf("speed is = "..speed) end
L168 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if ea_debug then printf("update = "..failure_timer) end
L173 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("hide weapons for anim failed")
L174 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(used_item or (used_monster and used_monster:section()) or "anim find ERROR")
L175 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(anim_section or "NO ANIM SECTION FOUND")
L30 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = true
L31 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = true
L35 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot,used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: used_item
Impact: low
Show code
active_slot,used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: ea_flag
Impact: low
Show code
active_slot,used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: fake_monster
Impact: low
Show code
active_slot,used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: det_active
Impact: low
Show code
active_slot,used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: anim_section
Impact: low
Show code
active_slot,used_item,ea_flag,fake_monster,det_active,anim_section = nil
L54 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = not enable_animations
L60 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_mcm.get("EA_settings/enable_animations")
L61 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = ui_mcm.get("EA_settings/mutant_loot")
L64 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = false
L68 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = ini_eff:r_bool_ex("anim_settings", "mutant_loot_mod")
L69 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_options.get("video/player/animations")
L84 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = db.actor:active_slot()
L94 🔴 global_write
Global write: used_item
Impact: low
Show code
used_item = item
L96 🔴 global_write
Global write: anim_section
Impact: low
Show code
anim_section = ini_eff:r_string_ex(item, "anm")
L136 🔴 global_write
Global write: tmr
Impact: low
Show code
tmr = ini_eff:r_float_ex(used_item, "tm")
L154 🔴 global_write
Global write: tmr
Impact: low
Show code
tmr = ini_eff:r_float_ex("item_ea_harv_wpn_knife", "anim_length")
L190 🔴 global_write
Global write: anim_section
Impact: low
Show code
anim_section = nil
L290 🔴 global_write
Global write: used_item
Impact: low
Show code
used_item = nil
L301 🔴 global_write
Global write: fake_monster
Impact: low
Show code
fake_monster = used_monster
L303 🔴 global_write
Global write: ea_flag
Impact: low
Show code
ea_flag = true
L305 🔴 global_write
Global write: ea_flag
Impact: low
Show code
ea_flag = nil
L307 🔴 global_write
Global write: fake_monster
Impact: low
Show code
fake_monster = nil
L334 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = db.actor:active_detector() or nil
L379 🔴 global_write
Global write: ea_dummy_var
Impact: low
Show code
ea_dummy_var = ea_dummy_var + 5

enhanced_animations_mcm.script

L3 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "EA_settings" ,sh=true ,gr={

take_item_anim.script

L58 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(obj_o:section() .. " taken with id " .. obj_o:id())
L70 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(obj:section() .. " taken with id " .. obj:id())
L21 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_mcm.get("EA_settings/enable_animations")
L24 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_options.get("video/player/animations")
L27 🔴 global_write
Global write: enable_multipickup
Impact: low
Show code
enable_multipickup = ui_options.get("control/general/pickup_mode")

zzz_ea_addon_backpack.script

L57 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("force found")
L87 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("inventory close")
L92 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("item was used before closing backpack")
L100 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("called backpack close anim")
L111 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("item_skiped")
L115 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(item)
L157 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("crouching = "..bool_to_int[crouching])
L40 🔴 global_write
Global write: item_use_flag
Impact: low
Show code
item_use_flag = nil
L96 🔴 global_write
Global write: item_use_flag
Impact: low
Show code
item_use_flag = nil
L109 🔴 global_write
Global write: item_use_flag
Impact: low
Show code
item_use_flag = true
L130 🔴 global_write
Global write: item_use_flag
Impact: low
Show code
item_use_flag = nil
L163 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = db.actor:active_detector() or nil
L165 🔴 global_write
Global write: backpack_faction
Impact: low
Show code
backpack_faction = character_community(db.actor):sub(7)
L182 🔴 global_write
Global write: idle
Impact: low
Show code
idle = "item_ea_backpack_open_" .. backpack_faction .. "_" .. "hud"
L185 🔴 global_write
Global write: ea_invent_flag
Impact: low
Show code
ea_invent_flag = true
L207 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = nil
L224 🔴 global_write
Global write: ea_invent_flag
Impact: low
Show code
ea_invent_flag = nil
L230 🔴 global_write
Global write: item_use_flag
Impact: low
Show code
if item:section() ~= "items_anm_dummy" then item_use_flag = true end

402- Radial Quickslots - NLTP_ASHES

3 files (🟢0 🟡0 🔴16 🔵3)

arm.script

L20 🔴 global_write
Global write: p_width
Impact: low
Show code
p_width = parent_width or 1024
L21 🔴 global_write
Global write: p_center
Impact: low
Show code
p_center = p_width/2
L22 🔴 global_write
Global write: width
Impact: low
Show code
width = ele:GetWidth()
L23 🔴 global_write
Global write: pos
Impact: low
Show code
pos = ele:GetWndPos()
L24 🔴 global_write
Global write: anchorpos
Impact: low
Show code
anchorpos = {}
L28 🔴 global_write
Global write: ratio
Impact: low
Show code
ratio = (device().height / device().width) / (768 / 1024)
L29 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = anchorpos.left
L32 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = p_width - (p_width - (anchor and anchorpos[anchor] or anchorpos.left))*ratio
L34 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = p_center - (p_center - (anchor and anchorpos[anchor] or anchorpos.left))*ratio
L36 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = ratio * (anchor and anchorpos[anchor] or anchorpos.left)
L48 🔴 global_write
Global write: States
Impact: low
Show code
States = {
L56 🔴 global_write
Global write: State2Suffix
Impact: low
Show code
State2Suffix = {
L74 🔴 global_write
Global write: State2Colour
Impact: low
Show code
State2Colour = {

radial_quickslots_core.script

L87 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![RQ] ERROR | Failed to instantiate UIRadialQuickslots !")
L117 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![RQ] ERROR | Cannot change time factor without UI instance !")
L155 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L66 🔴 global_write
Global write: saved_time_factor
Impact: low
Show code
saved_time_factor = nil -- time factor to restore after slowing time
L126 🔴 global_write
Global write: saved_time_factor
Impact: low
Show code
saved_time_factor = GUI:IsShown() and old_time_factor or nil

radial_quickslots_mcm.script

L34 🔴 global_write
Global write: op
Impact: low
Show code
op = {

403- New Tasks - iTheon

14 files (🟢1 🟡0 🔴110 🔵2)

a_the_living_fire_configs.script

L1 🔴 global_write
Global write: garbage_prometheus_location
Impact: low
Show code
garbage_prometheus_location = {
L8 🔴 global_write
Global write: garbage_prometheus_spawn_activation_distance
Impact: low
Show code
garbage_prometheus_spawn_activation_distance = 79.5
L9 🔴 global_write
Global write: garbage_mutant_spawn_activation_distance
Impact: low
Show code
garbage_mutant_spawn_activation_distance = 30
L11 🔴 global_write
Global write: garbage_mutant_location
Impact: low
Show code
garbage_mutant_location = {
L19 🔴 global_write
Global write: garbage_zhar_location
Impact: low
Show code
garbage_zhar_location = {
L26 🔴 global_write
Global write: garbage_zharka_locations
Impact: low
Show code
garbage_zharka_locations = {{
L52 🔴 global_write
Global write: garbage_trash_location
Impact: low
Show code
garbage_trash_location = {
L59 🔴 global_write
Global write: swamp_spawn_activation_distance
Impact: low
Show code
swamp_spawn_activation_distance = 90
L61 🔴 global_write
Global write: swamp_explosion_locations
Impact: low
Show code
swamp_explosion_locations = {{
L93 🔴 global_write
Global write: swamp_mutant_locations
Impact: low
Show code
swamp_mutant_locations = {{
L150 🔴 global_write
Global write: x18_prometheus_location
Impact: low
Show code
x18_prometheus_location = {
L157 🔴 global_write
Global write: x18_prometheus_msg_trigger_distance
Impact: low
Show code
x18_prometheus_msg_trigger_distance = 10
L159 🔴 global_write
Global write: dark_valley_corpses_locations
Impact: low
Show code
dark_valley_corpses_locations = {{
L191 🔴 global_write
Global write: dark_valley_actor_msg_trigger_location
Impact: low
Show code
dark_valley_actor_msg_trigger_location = {
L197 🔴 global_write
Global write: dark_valley_actor_msg_trigger_distance
Impact: low
Show code
dark_valley_actor_msg_trigger_distance = 10
L199 🔴 global_write
Global write: x18_military_locations
Impact: low
Show code
x18_military_locations = {{
L236 🔴 global_write
Global write: x16_greh_locations
Impact: low
Show code
x16_greh_locations = {{
L268 🔴 global_write
Global write: x16_prometheus_location
Impact: low
Show code
x16_prometheus_location = {
L274 🔴 global_write
Global write: x16_prometheus_msg_trigger_distance
Impact: low
Show code
x16_prometheus_msg_trigger_distance = 40
L276 🔴 global_write
Global write: x16_middle
Impact: low
Show code
x16_middle = {
L281 🔴 global_write
Global write: x16_mutant_scanning_range
Impact: low
Show code
x16_mutant_scanning_range = 200
L283 🔴 global_write
Global write: x16_corpse_locations
Impact: low
Show code
x16_corpse_locations = {{
L363 🔴 global_write
Global write: red_forest_greh_locations
Impact: low
Show code
red_forest_greh_locations = {{
L380 🔴 global_write
Global write: red_forest_mutants_trigger
Impact: low
Show code
red_forest_mutants_trigger = {
L386 🔴 global_write
Global write: red_forest_mutants_trigger_range
Impact: low
Show code
red_forest_mutants_trigger_range = 5
L388 🔴 global_write
Global write: red_forest_explosion_locations
Impact: low
Show code
red_forest_explosion_locations = {{
L415 🔴 global_write
Global write: red_forest_mutant_locations
Impact: low
Show code
red_forest_mutant_locations = {{
L487 🔴 global_write
Global write: red_forest_isg_locations
Impact: low
Show code
red_forest_isg_locations = {{
L509 🔴 global_write
Global write: red_forest_actor_msg_trigger
Impact: low
Show code
red_forest_actor_msg_trigger = {
L516 🔴 global_write
Global write: red_forest_actor_msg_trigger_range
Impact: low
Show code
red_forest_actor_msg_trigger_range = 8
L518 🔴 global_write
Global write: outskirts_prometheus_location
Impact: low
Show code
outskirts_prometheus_location = {
L525 🔴 global_write
Global write: outskirts_greh_activation_distance
Impact: low
Show code
outskirts_greh_activation_distance = 230
L526 🔴 global_write
Global write: outskirts_greh_locations
Impact: low
Show code
outskirts_greh_locations = {{
L568 🔴 global_write
Global write: outskirts_mutant_locations
Impact: low
Show code
outskirts_mutant_locations = {{
L590 🔴 global_write
Global write: outskirts_prometheus_msg_trigger_distance
Impact: low
Show code
outskirts_prometheus_msg_trigger_distance = 28
L591 🔴 global_write
Global write: outskirts_anomaly_xz_data
Impact: low
Show code
outskirts_anomaly_xz_data = {{217.3464, 332.1511},{217.2378700635549, 335.6045785741122},{216.91270857229628, 339.04442784603674},{216.37219879007787, 342.45707230221484},{215.6184738620747, 345.829043794067},{214.65450839623344, 349.1470346906221},{213.4841067238538, 352.39795039765727},{212.11188788563106, 355.568961036079},{210.54326740241248, 358.6475520755943},{208.78443590261082, 361.6215737238448},{206.8423346906221, 364.479288876086},{204.7246283526684, 367.20941943617794},{202.43967450817763, 369.80119082607786},{199.99649082607786, 372.2443745081776},{197.4047194361779, 374.5293283526684},{194.674588876086, 376.6470346906221},{191.8168737238448, 378.5891359026108},{188.84285207559432, 380.3479674024125},{185.76426103607898, 381.9165878856311},{182.59325039765727, 383.28880672385384},{179.3423346906221, 384.4592083962334},{176.024343794067, 385.4231738620747},{172.65237230221484, 386.17689879007787},{169.23972784603671, 386.7174085722963},{165.79987857411223, 387.04257006355493},{162.3464, 387.1511},{158.89292142588775, 387.04257006355493},{155.45307215396326, 386.7174085722963},{152.04042769778513, 386.17689879007787},{148.66845620593298, 385.4231738620747},{145.35046530937788, 384.4592083962334},{142.0995496023427, 383.28880672385384},{138.928538963921, 381.91658788563103},{135.84994792440563, 380.34796740241245},{132.87592627615516, 378.5891359026108},{130.01821112391397, 376.6470346906221},{127.28808056382205, 374.5293283526684},{124.69630917392212, 372.2443745081776},{122.25312549182235, 369.80119082607786},{119.96817164733157, 367.2094194361779},{117.85046530937788, 364.479288876086},{115.90836409738915, 361.6215737238448},{114.1495325975875, 358.6475520755943},{112.58091211436891, 355.568961036079},{111.20869327614616, 352.39795039765727},{110.03829160376654, 349.1470346906221},{109.07432613792528, 345.829043794067},{108.3206012099221, 342.45707230221484},{107.7800914277037, 339.0444278460367},{107.45492993644505, 335.6045785741122},{107.34639999999999, 332.1511},{107.45492993644505, 328.69762142588775},{107.7800914277037, 325.25777215396323},{108.32060120992212, 321.84512769778513},{109.07432613792528, 318.473156205933},{110.03829160376654, 315.1551653093779},{111.20869327614616, 311.9042496023427},{112.58091211436891, 308.733238963921},{114.1495325975875, 305.65464792440565},{115.90836409738917, 302.6806262761552},{117.85046530937788, 299.82291112391397},{119.96817164733159, 297.09278056382203},{122.25312549182235, 294.5010091739221},{124.69630917392212, 292.05782549182237},{127.28808056382206, 289.77287164733156},{130.01821112391394, 287.6551653093779},{132.87592627615518, 285.7130640973891},{135.84994792440565, 283.9542325975875},{138.92853896392103, 282.3856121143689},{142.0995496023427, 281.01339327614613},{145.35046530937788, 279.84299160376656},{148.66845620593298, 278.8790261379253},{152.04042769778513, 278.1253012099221},{155.4530721539633, 277.5847914277037},{158.89292142588775, 277.25962993644504},{162.3464, 277.1511},{165.79987857411226, 277.25962993644504},{169.23972784603671, 277.5847914277037},{172.65237230221487, 278.1253012099221},{176.02434379406702, 278.8790261379253},{179.3423346906221, 279.84299160376656},{182.5932503976573, 281.0133932761462},{185.76426103607898, 282.3856121143689},{188.84285207559435, 283.9542325975875},{191.81687372384482, 285.7130640973892},{194.67458887608603, 287.6551653093779},{197.40471943617794, 289.7728716473316},{199.99649082607786, 292.05782549182237},{202.43967450817763, 294.5010091739221},{204.7246283526684, 297.09278056382203},{206.84233469062212, 299.82291112391397},{208.78443590261082, 302.6806262761552},{210.54326740241248, 305.65464792440565},{212.11188788563106, 308.733238963921},{213.4841067238538, 311.9042496023427},{214.65450839623344, 315.15516530937794},{215.6184738620747, 318.473156205933},{216.37219879007787, 321.84512769778513},{216.91270857229628, 325.2577721539633},{217.2378700635549, 328.69762142588775}}
L593 🔴 global_write
Global write: outskirts_endgame_greh_locations
Impact: low
Show code
outskirts_endgame_greh_locations = {{

baba_yaga_configs.script

L1 🔴 global_write
Global write: art_location
Impact: low
Show code
art_location = {
L7 🔴 global_write
Global write: teleport_to_location
Impact: low
Show code
teleport_to_location = {
L13 🔴 global_write
Global write: karlik_spots
Impact: low
Show code
karlik_spots = {{
L30 🔴 global_write
Global write: hag_spot
Impact: low
Show code
hag_spot = {
L37 🔴 global_write
Global write: art_sections
Impact: low
Show code
art_sections = {

big_game_configs.script

L1 🔴 global_write
Global write: small_giants_spots
Impact: low
Show code
small_giants_spots = {{
L18 🔴 global_write
Global write: big_giant_spot
Impact: low
Show code
big_giant_spot = {

dead_night_configs.script

L9 🔴 global_write
Global write: spawn_trigger
Impact: low
Show code
spawn_trigger = vector():set(-226.5967,4.5275,-317.1637)
L11 🔴 global_write
Global write: spawn_configs
Impact: low
Show code
spawn_configs = {{

house_of_horrors_configs.script

L1 🔴 global_write
Global write: house_location
Impact: low
Show code
house_location = {
L7 🔴 global_write
Global write: zombie_location
Impact: low
Show code
zombie_location = {
L14 🔴 global_write
Global write: dog_location
Impact: low
Show code
dog_location = {
L21 🔴 global_write
Global write: board_location
Impact: low
Show code
board_location = {
L29 🔴 global_write
Global write: hanged_man_location
Impact: low
Show code
hanged_man_location = {

mirage_configs.script

L1 🔴 global_write
Global write: teleport_activator_center_point
Impact: low
Show code
teleport_activator_center_point = vector():set(-423.5822,39.9999,-392.2540)
L2 🔴 global_write
Global write: teleport_activation_distance
Impact: low
Show code
teleport_activation_distance = 190
L4 🔴 global_write
Global write: first_spawn_activator
Impact: low
Show code
first_spawn_activator = vector():set(-350.9619,40.0389,-333.7500)
L5 🔴 global_write
Global write: first_spawn_activation_distance
Impact: low
Show code
first_spawn_activation_distance = 15
L6 🔴 global_write
Global write: first_spawn_spots
Impact: low
Show code
first_spawn_spots = {{
L23 🔴 global_write
Global write: second_spawn_activator
Impact: low
Show code
second_spawn_activator = vector():set(-409.0541,40.0467,-379.4803)
L24 🔴 global_write
Global write: second_spawn_activation_distance
Impact: low
Show code
second_spawn_activation_distance = 20
L25 🔴 global_write
Global write: second_spawn_spots
Impact: low
Show code
second_spawn_spots = {{
L42 🔴 global_write
Global write: third_spawn_activator
Impact: low
Show code
third_spawn_activator = vector():set(-407.9597,32.1984,-376.7980)
L43 🔴 global_write
Global write: third_spawn_activation_distance
Impact: low
Show code
third_spawn_activation_distance = 5
L44 🔴 global_write
Global write: third_spawn_spots
Impact: low
Show code
third_spawn_spots = {{
L56 🔴 global_write
Global write: sidor_spawn_activator
Impact: low
Show code
sidor_spawn_activator = vector():set(-404.8524,32.1999,-339.5040)
L57 🔴 global_write
Global write: sidor_spawn_activation_distance
Impact: low
Show code
sidor_spawn_activation_distance = 2
L59 🔴 global_write
Global write: med_table_spawn_config
Impact: low
Show code
med_table_spawn_config = {
L66 🔴 global_write
Global write: sidor_spawn_config
Impact: low
Show code
sidor_spawn_config = {
L74 🔴 global_write
Global write: sidor_controllers_configs
Impact: low
Show code
sidor_controllers_configs = {{
L86 🔴 global_write
Global write: burer_spawn_config
Impact: low
Show code
burer_spawn_config = {

mystery_of_the_swamps_configs.script

L1 🔴 global_write
Global write: stalker_squad_1_config
Impact: low
Show code
stalker_squad_1_config = {
L9 🔴 global_write
Global write: eco_squad_1_config
Impact: low
Show code
eco_squad_1_config = {
L17 🔴 global_write
Global write: aw_message_point
Impact: low
Show code
aw_message_point = vector():set(104.9109,-11.6276,166.1361)
L18 🔴 global_write
Global write: aw_message_activation_distance
Impact: low
Show code
aw_message_activation_distance = 75
L20 🔴 global_write
Global write: aw_karlik_configs
Impact: low
Show code
aw_karlik_configs = {{
L37 🔴 global_write
Global write: dead_ecolog_spawn_config
Impact: low
Show code
dead_ecolog_spawn_config = {
L44 🔴 global_write
Global write: garbage_karlik_configs
Impact: low
Show code
garbage_karlik_configs = {{
L61 🔴 global_write
Global write: garbage_ghost_configs
Impact: low
Show code
garbage_ghost_configs = {{
L69 🔴 global_write
Global write: dead_ecolog_2_spawn_config
Impact: low
Show code
dead_ecolog_2_spawn_config = {
L76 🔴 global_write
Global write: stalker_squad_2_configs
Impact: low
Show code
stalker_squad_2_configs = {
L84 🔴 global_write
Global write: stalker_squad_3_configs
Impact: low
Show code
stalker_squad_3_configs = {
L92 🔴 global_write
Global write: ds_ghosts_configs
Impact: low
Show code
ds_ghosts_configs = {{
L108 🔴 global_write
Global write: ds_swamp_trigger
Impact: low
Show code
ds_swamp_trigger = {
L114 🔴 global_write
Global write: ds_baba_yaga_config
Impact: low
Show code
ds_baba_yaga_config = {
L123 🔴 global_write
Global write: jupiter_campfire_config
Impact: low
Show code
jupiter_campfire_config = {
L132 🔴 global_write
Global write: jupiter_skeleton_config
Impact: low
Show code
jupiter_skeleton_config = {
L139 🔴 global_write
Global write: jupiter_karlik_activation_distance
Impact: low
Show code
jupiter_karlik_activation_distance = 105
L140 🔴 global_write
Global write: jupiter_karlik_configs
Impact: low
Show code
jupiter_karlik_configs = {{
L167 🔴 global_write
Global write: jupiter_ghost_activation_distance
Impact: low
Show code
jupiter_ghost_activation_distance = 48
L168 🔴 global_write
Global write: jupiter_ghost_configs
Impact: low
Show code
jupiter_ghost_configs = {{
L233 🔴 global_write
Global write: jupiter_baba_yaga_config
Impact: low
Show code
jupiter_baba_yaga_config = {
L242 🔴 global_write
Global write: jupiter_lost_soul_config
Impact: low
Show code
jupiter_lost_soul_config = {

new_tasks_addon_mcm.script

L2 🔴 global_write
Global write: config
Impact: low
Show code
config = {
L35 🔴 global_write
Global write: op
Impact: low
Show code
op = {

new_tasks_addon_tasks_utils.script

L190 🔴 global_write
Global write: southern_maps
Impact: low
Show code
southern_maps = {
L205 🔴 global_write
Global write: nothern_maps
Impact: low
Show code
nothern_maps = {
L217 🔴 global_write
Global write: sim_stalkers
Impact: low
Show code
sim_stalkers = nil
L219 🔴 global_write
Global write: sim_stalkers
Impact: low
Show code
sim_stalkers = {}
L335 🔴 global_write
Global write: levels
Impact: low
Show code
levels = {
L369 🔴 global_write
Global write: mcm_config
Impact: low
Show code
mcm_config = load_defaults()
L372 🔴 global_write
Global write: mcm_config
Impact: low
Show code
mcm_config = load_defaults()
L412 🔴 global_write
Global write: se_id
Impact: low
Show code
se_id = spawn_helicopter(true, vector():set(-178.07975769043,5.3180623054504,-181.78283691406))

nta_utils.script

L181 🔴 global_write
Global write: southern_maps
Impact: low
Show code
southern_maps = {
L196 🔴 global_write
Global write: northern_maps
Impact: low
Show code
northern_maps = {
L208 🔴 global_write
Global write: sim_stalkers
Impact: low
Show code
sim_stalkers = nil
L210 🔴 global_write
Global write: sim_stalkers
Impact: low
Show code
sim_stalkers = {}
L435 🔴 global_write
Global write: levels
Impact: low
Show code
levels = {
L539 🔴 global_write
Global write: story_ids
Impact: low
Show code
story_ids = {
L563 🔴 global_write
Global write: mcm_config
Impact: low
Show code
mcm_config = load_defaults()
L566 🔴 global_write
Global write: mcm_config
Impact: low
Show code
mcm_config = load_defaults()

tasks_dead_night.script

L56 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(iterations)

tasks_mystery_of_the_swamps.script

L36 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(state.dependency_task_finished_at and 'dep set' or 'dep not set')

tasks_skyfall.script

L212 🟢 repeated_who_section()
who:section() called 3x in physic_object_on_hit_callback
Impact: low
Show code
Cache who:section() result

z_nta_stashes_utils.script

L2 🔴 global_write
Global write: stashes_by_level
Impact: low
Show code
stashes_by_level = {}
L11 🔴 global_write
Global write: stashes_by_level
Impact: low
Show code
stashes_by_level = {}

404- DesertTech MDR Pack - Andtheherois & Bert

3 files (🟢1 🟡0 🔴25 🔵2)

animation_common.script

L88 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

uni_anim_detectors.script

L14 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L18 🔴 global_write
Global write: fdda_anim_prepare
Impact: low
Show code
fdda_anim_prepare = enhanced_animations.anim_prepare
L20 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L24 🔴 global_write
Global write: fdda_call_my_slot_back
Impact: low
Show code
fdda_call_my_slot_back = enhanced_animations.call_my_slot_back
L28 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L33 🔴 global_write
Global write: fdda_bp_call_my_slot_back
Impact: low
Show code
fdda_bp_call_my_slot_back = zzz_ea_addon_backpack.call_my_slot_back
L37 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L50 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L63 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L71 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L85 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L98 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L113 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L167 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false

utjan_mag_check.script

L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Old mag check script (ammo_check_mcm) detected. Remove it to get full features of mag checks")
L107 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Old mag check script (ammo_check_mcm) detected. Remove it to get full features of mag checks")
L3 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = nil
L4 🔴 global_write
Global write: wpn_checking
Impact: low
Show code
wpn_checking, det_active = nil
L4 🔴 global_write
Global write: det_active
Impact: low
Show code
wpn_checking, det_active = nil
L7 🔴 global_write
Global write: base_check_Ammo
Impact: low
Show code
base_check_Ammo = ammo_check_mcm.check_Ammo
L63 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = 1
L65 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = db.actor:active_detector() or nil
L80 🔴 global_write
Global write: wpn_checking
Impact: low
Show code
wpn_checking = nil
L81 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = nil
L86 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = nil
L90 🔴 global_write
Global write: wpn_checking
Impact: low
Show code
wpn_checking = obj
L102 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = 2

406- Random RPK Reanimation - Firebreath

2 files (🟢0 🟡0 🔴16 🔵3)

loadouts_injector.script

L224 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: NPC Loadouts | wrong ammo_type set for [%s], missing value in ammo_class", section)
L52 🔴 global_write
Global write: tmp
Impact: low
Show code
tmp = ini_loadouts:r_string_ex("settings","scope_chance")
L54 🔴 global_write
Global write: tmp
Impact: low
Show code
tmp = str_explode(tmp,",")
L74 🔴 global_write
Global write: tmp
Impact: low
Show code
tmp = str_explode(id,":")
L92 🔴 global_write
Global write: tokens
Impact: low
Show code
tokens = str_explode(loadout, "_")
L106 🔴 global_write
Global write: faction
Impact: low
Show code
faction, rank, slot = unpack(tokens)
L106 🔴 global_write
Global write: rank
Impact: low
Show code
faction, rank, slot = unpack(tokens)
L106 🔴 global_write
Global write: slot
Impact: low
Show code
faction, rank, slot = unpack(tokens)
L107 🔴 global_write
Global write: slot
Impact: low
Show code
slot = slots[slot]
L117 🔴 global_write
Global write: l
Impact: low
Show code
l = custom_loadouts[faction][rank][slot]
L130 🔴 global_write
Global write: CreateItem
Impact: low
Show code
CreateItem = xrs_rnd_npc_loadout.create_item_on_npc
L178 🔴 global_write
Global write: id
Impact: low
Show code
id = custom_tbl[pick]

utjan_mag_check.script

L14 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Old mag check script (ammo_check_mcm) detected. Remove it to get full features of mag checks")
L90 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Old mag check script (ammo_check_mcm) detected. Remove it to get full features of mag checks")
L3 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = nil
L6 🔴 global_write
Global write: base_check_Ammo
Impact: low
Show code
base_check_Ammo = ammo_check_mcm.check_Ammo
L62 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = 1
L66 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = nil
L86 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = 2

409- Mark Switch - party50 & meowie

1 file (🟢0 🟡0 🔴1 🔵0)

z_mark_switch_mcm.script

L15 🔴 global_write
Global write: op
Impact: low
Show code
op = {

41- LowerSprintAnimaiton - Skieppy

1 file (🟢1 🟡0 🔴0 🔵0)

lower_weapon_sprint.script

L257 🟢 repeated_wpn_section()
wpn:section() called 5x in actor_on_update
Impact: low
Show code
Cache wpn:section() result

410- 3DSS for GAMMA - Redotix99 & Andtheherois & party50

8 files (🟢2 🟡0 🔴7 🔵8)

lewd_lens_hider.script

L39 🟢 repeated_obj_section()
obj:section() called 3x in game_object_on_net_spawn
Impact: low
Show code
Cache obj:section() result
L68 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LEWD LENS HIDER] ERROR | Game Object Net Spawn | Error with object with ID %s, the object was not found. Aborting...", id)
L191 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LEWD LENS HIDER] ERROR | Get Information | Error with object with ID %s, the object was not found", id)
L197 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LEWD LENS HIDER] ERROR | Get Information | Error with object with name %s, the object failed to cast as a weapon", obj:name())
L203 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LEWD LENS HIDER] ERROR | Get Information | Error with object with name %s, the config %s was not defined", obj:name(), CONFIG_KEY_BONE_NAME)
L209 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LEWD LENS HIDER] ERROR | Get Information | Error with object with name %s, the config %s should have %s elements, except it has %s", obj:name(), CONFIG_KEY_AIM_MODE, 3, size_table(aim_modes))
L236 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LEWD LENS HIDER] ERROR | Get Delays | Error with object with name %s, the config %s should have %s elements, except it has %s", obj:name(), CONFIG_KEY_AIM_MODE, 2, size_table(delays))
L256 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)

magnifier_switch.script

L4 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if settings.debug then printf("[magnifier_switch] "..str, ...) end
L220 🔴 global_write
Global write: og_play_item_sound
Impact: low
Show code
og_play_item_sound = itms_manager.play_item_sound

magnifier_switch_mcm.script

L1 🔴 global_write
Global write: defaults
Impact: low
Show code
defaults = {

no_laser_while_ads_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op = {

z_3d_scopes.script

L144 🟢 repeated_get_console
get_console called 4x in update_shader
Impact: low
Show code
local console = get_console()
L142 🔴 global_write
Global write: info
Impact: low
Show code
info = parse_parameters(wpn)

z_3d_scopes_mcm.script

L20 🔴 global_write
Global write: op
Impact: low
Show code
op = {

z_mark_switch_mcm.script

L15 🔴 global_write
Global write: op
Impact: low
Show code
op = {

zzz_bas_laser_control.script

L25 🔴 global_write
Global write: CloneWep
Impact: low
Show code
CloneWep = _G.alife_clone_weapon

412- Busyhands Detection and Blame - RavenAscendant

1 file (🟢0 🟡0 🔴3 🔵12)

a_rax_wd.script

L40 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![axr_main callback_set] trying to set callback %s to nil function!",name)
L94 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! [RAX WD] can't make callback to non existing intercept %s! how did we get here?!?!?",name)
L127 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
RegisterScriptCallback("actor_on_update", function() if tmr2 then return end tmr2 = os.time() + 1 while os.time() < tmr2 do printf( os.time()) flush() end end ) --causes a busy hands type 1 hang that clears during the save lockout
L205 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! [RAX WD] Callback %s hung for > %s milliseconds!", name , time_global() -info.tmr )
L207 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! [RAX WD] Offending callback at line: %s of script:%s",dbug and dbug.linedefined, dbug and dbug.short_src)
L210 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! [RAX WD] Callback should be called on object but was not")
L214 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! [RAX WD] Callback called on object. ID: %s Sec: %s, game object %s, server object %s", npc_id[1], npc_id[2], obj and "found" or "not found", se_obj and "found" or "not found")
L219 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! [RAX WD] Saving game.")
L231 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! [RAX WD] Event %s, %s hung for > %s milliseconds!", last_event.event_id,last_event.action_id, time_global() - last_event.tmr)
L233 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! [RAX WD] Offending event at line: %s of script:%s",info and info.linedefined, info and info.short_src)
L235 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! [RAX WD] Saving game.")
L244 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! [RAX WD] Hang cleared during save. Resetting tracking.")
L34 🔴 global_write
Global write: base_calback_set
Impact: low
Show code
base_calback_set = axr_main.callback_set
L49 🔴 global_write
Global write: base_callback_unset
Impact: low
Show code
base_callback_unset = axr_main.callback_unset
L57 🔴 global_write
Global write: base_make_callback
Impact: low
Show code
base_make_callback = axr_main.make_callback

413- Milspec PDA - Catspaw

13 files (🟢1 🟡0 🔴112 🔵22)

catsy_milpda_mcm.script

L40 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = "milpda", gr={

ish_kill_tracker.script

L145 🟢 repeated_obj_section()
obj:section() called 4x in safename
Impact: low
Show code
Cache obj:section() result
L171 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(utils_catspaw_common.logdiv ..
L179 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(utils_catspaw_common.logdiv .. logprefix .. "End of kill database dump")
L7 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.15.0"
L8 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250717
L22 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false -- Debug logging for troubleshooting issues - this should always be "false" in the release version
L23 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false -- Noisier verbose logging - no effect if debuglogs is false
L24 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[MPDA:KT] "
L53 🔴 global_write
Global write: styles
Impact: low
Show code
styles = {
L60 🔴 global_write
Global write: default_style
Impact: low
Show code
default_style = styles.whtx
L61 🔴 global_write
Global write: default_style_actor
Impact: low
Show code
default_style_actor = styles.whtx
L62 🔴 global_write
Global write: default_style_other
Impact: low
Show code
default_style_other = styles.sdot
L63 🔴 global_write
Global write: default_style_force
Impact: low
Show code
default_style_force = nil
L64 🔴 global_write
Global write: clear_on_loot
Impact: low
Show code
clear_on_loot = true
L65 🔴 global_write
Global write: use_paw_icon
Impact: low
Show code
use_paw_icon = false
L96 🔴 global_write
Global write: tracking_mode
Impact: low
Show code
tracking_mode = 3
L108 🔴 global_write
Global write: monster_tracking_mode
Impact: low
Show code
monster_tracking_mode = 3
L114 🔴 global_write
Global write: tracked_bodies
Impact: low
Show code
tracked_bodies = {}
L167 🔴 global_write
Global write: ktype
Impact: low
Show code
ktype = string.format("Stalker (%s)", v.comm)
L169 🔴 global_write
Global write: ktype
Impact: low
Show code
ktype = "Monster"
L559 🔴 global_write
Global write: clear_on_loot
Impact: low
Show code
clear_on_loot = true
L563 🔴 global_write
Global write: clear_on_loot
Impact: low
Show code
clear_on_loot = false
L582 🔴 global_write
Global write: tracked_bodies
Impact: low
Show code
tracked_bodies = {}
L609 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = get_mcm("milpda/milpdagen/debuglogs", debuglogs)
L610 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = get_mcm("milpda/milpdagen/verbose", verbose)
L611 🔴 global_write
Global write: tracking_mode
Impact: low
Show code
tracking_mode = g_tonumber(ui_mcm.get("milpda/milpdagen/tracking_mode"))
L626 🔴 global_write
Global write: monster_tracking_mode
Impact: low
Show code
monster_tracking_mode = g_tonumber(ui_mcm.get("milpda/milpdagen/monster_tracking_mode"))
L635 🔴 global_write
Global write: default_style_actor
Impact: low
Show code
default_style_actor = ((not pba) and mode_bi) or default_style_actor
L636 🔴 global_write
Global write: default_style_other
Impact: low
Show code
default_style_other = ((not pbo) and mode_bio) or default_style_other
L639 🔴 global_write
Global write: clear_on_loot
Impact: low
Show code
if autoclear ~= nil then clear_on_loot = autoclear end

item_milpda.script

L34 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%sMilspec PDA v%s (rel %s) began initialization at tg %s", logprefix, script_version, release_date, time_global())
L18 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "item_milpda"
L19 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.15.0"
L20 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250717
L31 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false -- Debug logging for troubleshooting issues - this should always be "false" in the release version
L32 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false -- Noisier verbose logging - no effect if debuglogs is false
L33 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[MPDA] "
L54 🔴 global_write
Global write: no_blacklist_prog
Impact: low
Show code
no_blacklist_prog = true -- Cannot gain progressive data for blacklisted factions
L55 🔴 global_write
Global write: progressive_vis
Impact: low
Show code
progressive_vis = false
L56 🔴 global_write
Global write: update_interval
Impact: low
Show code
update_interval = 873 -- Weird number to avoid perf hit from stacking 1000ms updates with other addons
L57 🔴 global_write
Global write: access_resets
Impact: low
Show code
access_resets = false
L58 🔴 global_write
Global write: only_enemy_resets
Impact: low
Show code
only_enemy_resets = true
L59 🔴 global_write
Global write: only_enemy_unlock
Impact: low
Show code
only_enemy_unlock = false
L60 🔴 global_write
Global write: show_squadmate_mapspots
Impact: low
Show code
show_squadmate_mapspots = false
L61 🔴 global_write
Global write: progress_gain_mode
Impact: low
Show code
progress_gain_mode = 1
L62 🔴 global_write
Global write: access_time
Impact: low
Show code
access_time = 7
L63 🔴 global_write
Global write: access_unit
Impact: low
Show code
access_unit = "d"
L64 🔴 global_write
Global write: timer_mult
Impact: low
Show code
timer_mult = {
L70 🔴 global_write
Global write: reset_time_coef
Impact: low
Show code
reset_time_coef = timer_mult[access_unit]
L71 🔴 global_write
Global write: tracking_mode
Impact: low
Show code
tracking_mode = 1
L75 🔴 global_write
Global write: first_update
Impact: low
Show code
first_update = false
L76 🔴 global_write
Global write: pda_inv_item
Impact: low
Show code
pda_inv_item = "device_pda_milspec" -- Don't change this
L83 🔴 global_write
Global write: found_npc_pda
Impact: low
Show code
found_npc_pda = {}
L90 🔴 global_write
Global write: pda_defs
Impact: low
Show code
pda_defs = {
L133 🔴 global_write
Global write: ranks_by_name
Impact: low
Show code
ranks_by_name = {
L259 🔴 global_write
Global write: fd
Impact: low
Show code
fd = faction_data
L265 🔴 global_write
Global write: pda_craft_string
Impact: low
Show code
pda_craft_string = {
L609 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = get_mcm("milpda/milpdagen/debuglogs", debuglogs)
L610 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = get_mcm("milpda/milpdagen/verbose", verbose)
L612 🔴 global_write
Global write: tracking_mode
Impact: low
Show code
tracking_mode = g_tonumber(get_mcm("milpda/milpdagen/tracking_mode", tracking_mode or 0))
L618 🔴 global_write
Global write: show_squadmate_mapspots
Impact: low
Show code
show_squadmate_mapspots = get_mcm("milpda/milpdagen/squadmate_mapspots", show_squadmate_mapspots)
L657 🔴 global_write
Global write: progressive_vis
Impact: low
Show code
progressive_vis = get_mcm("milpda/progressive/enabled", progressive_vis)
L659 🔴 global_write
Global write: access_resets
Impact: low
Show code
access_resets = get_mcm("milpda/progressive/access_resets", access_resets)
L660 🔴 global_write
Global write: progress_gain_mode
Impact: low
Show code
progress_gain_mode = get_mcm("milpda/progressive/gain_mode", progress_gain_mode)
L661 🔴 global_write
Global write: access_time
Impact: low
Show code
access_time = get_mcm("milpda/progressive/access_time", access_time)
L662 🔴 global_write
Global write: access_unit
Impact: low
Show code
access_unit = get_mcm("milpda/progressive/access_unit", access_unit)
L663 🔴 global_write
Global write: only_enemy_unlock
Impact: low
Show code
only_enemy_unlock = get_mcm("milpda/progressive/only_enemy_unlock", only_enemy_unlock)
L664 🔴 global_write
Global write: only_enemy_resets
Impact: low
Show code
only_enemy_resets = get_mcm("milpda/progressive/only_enemy_resets", only_enemy_resets)
L665 🔴 global_write
Global write: no_blacklist_prog
Impact: low
Show code
no_blacklist_prog = get_mcm("milpda/progressive/noblacklist", no_blacklist_prog)
L666 🔴 global_write
Global write: reset_time_coef
Impact: low
Show code
reset_time_coef = (timer_mult[access_unit] or 1) * (access_mode or 1)
L667 🔴 global_write
Global write: reset_time_coef
Impact: low
Show code
if (not reset_time_coef) or (reset_time_coef < 1) then reset_time_coef = 1 end
L808 🔴 global_write
Global write: first_update
Impact: low
Show code
first_update = true
L833 🔴 global_write
Global write: fd
Impact: low
Show code
fd = mpda.faction_data

modxml_map_spots_milpda.script

L36 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("DXML is patching mapspots for %s in %s",addon_name,xml_file_name)
L28 🔴 global_write
Global write: addon_name
Impact: low
Show code
addon_name = "Milspec PDA"

utils_catspaw_common.script

L47 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((caller.logprefix or logprefix) .. logtext, ...)
L56 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((caller.logprefix or logprefix) .. (caller.vprefix or vprefix) .. logtext, ...)
L66 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((raw_prefix or "") .. logtext, ...)
L133 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "! Modded exes not detected! No extra features available.\n" ..
L139 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logdiv .. "@ Modded exes %s feature support (GAMMA: %s)", exes_version, using_gamma_modpack)
L141 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s %s (added %s): %s", v.enabled and "-" or "!", v.name, v.ver, v.func())
L143 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logdiv)
L499 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! ERROR: no INI filename passed to %s.load_file_data%s, cannot continue!", script_name, args.called_by and (" by " ..args.called_by) or "")
L504 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local function dl(s, ...) return log and printf(s, ...) end
L630 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_common"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.15"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250530
L73 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L74 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L75 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[CatsyUtils] " -- gets prefixed, optional
L76 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = "[V] " -- gets added to verbose log entries, optional
L94 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L95 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L101 🔴 global_write
Global write: logdiv
Impact: low
Show code
logdiv = "~ ------------------------------------------------------------------------\n"
L107 🔴 global_write
Global write: engine_features
Impact: low
Show code
engine_features = {
L119 🔴 global_write
Global write: using_gamma_modpack
Impact: low
Show code
using_gamma_modpack = game_version:find("G.A.M.M.A.") and true or false
L121 🔴 global_write
Global write: using_modded_exes
Impact: low
Show code
using_modded_exes = using_gamma_modpack or exes_version and true or false
L246 🔴 global_write
Global write: easing
Impact: low
Show code
easing = {

utils_catspaw_mapspots.script

L281 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_mapspots"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.1"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250406
L35 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[Catsy:Mapspots] "
L36 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L37 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L38 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = ""
L54 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L55 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L66 🔴 global_write
Global write: task_mapspot_whitelist
Impact: low
Show code
task_mapspot_whitelist = {
L73 🔴 global_write
Global write: mapspot_data_cache
Impact: low
Show code
mapspot_data_cache = {}
L221 🔴 global_write
Global write: mapspot_data_cache
Impact: low
Show code
mapspot_data_cache = {}

utils_catspaw_text.script

L797 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_text"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.11"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250717
L37 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L38 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L39 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[CatsyText] "
L40 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = ""
L56 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L57 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L82 🔴 global_write
Global write: tokens_generated
Impact: low
Show code
tokens_generated = false
L297 🔴 global_write
Global write: state_tokens
Impact: low
Show code
state_tokens = {}
L298 🔴 global_write
Global write: state_colors
Impact: low
Show code
state_colors = {
L423 🔴 global_write
Global write: wpo_thresholds
Impact: low
Show code
wpo_thresholds = {
L771 🔴 global_write
Global write: safename
Impact: low
Show code
safename = bestname -- alias for backwards compatibility

zzz_faction_expansions_loadall.script

L22 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ [zzz_faction_expansions_loadall.script] monkeypatch override of faction_expansions.on_game_start\n" ..

zzz_item_parts_milpda.script

L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("<MPDA> item_parts.disassembly_item - clean monkeypatch by zzz_item_parts_milpda.script")

zzz_sim_squad_scripted_milpda.script

L18 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[MPDA] sim_squad_scripted.sim_squad_scripted.show() - monkeypatch override by zzz_sim_squad_scripted_milpda.script (Milspec PDA)")
L14 🔴 global_write
Global write: show_squadmate_mapspots
Impact: low
Show code
show_squadmate_mapspots = false

zzz_ui_pda_npc_tab_milpda.script

L48 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("ui_pda_npc_tab: clean monkeypatch of faction lookup and encryption tables by zzz_ui_pda_npc_tab_milpda.script")

zzzzz_ui_pda_npc_tab_wpnhidefix.script

L14 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[MPDA][zzzzz_ui_pda_npc_tab_wpnhidefix.script] monkeypatch override of ui_pda_npc_tab.use_view()")

zzzzzz_ui_pda_npc_tab_mpdaprogressive.script

L20 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[MPDA][zzzzzz_ui_pda_npc_tab_mpdaprogressive.script] clean monkeypatch of ui_pda_npc_tab.use_view()")

416- Devices of Anomaly Redone - BarryBogs

8 files (🟢2 🟡2 🔴62 🔵13)

animation_common.script

L86 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

catsy_nerfs_mcm.script

L20 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "nerfs", gr={

dar_rf_noise.script

L19 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if debuglogs then printf("<DAR> sound_currently_enabled %s | item section %s | anm_name %s",sound_currently_enabled, parent_section, anm_table and anm_table.anm_name) end
L25 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if debuglogs then printf("<DAR> sound_currently_enabled is %s | valid device %s",sound_currently_enabled,valid_dev) end
L6 🔴 global_write
Global write: no_sound_states
Impact: low
Show code
no_sound_states = {
L12 🔴 global_write
Global write: sound_currently_enabled
Impact: low
Show code
sound_currently_enabled = false
L18 🔴 global_write
Global write: sound_currently_enabled
Impact: low
Show code
sound_currently_enabled = no_sound_states[anm_table.anm_name] == nil

detec_bone_hide.script

L4 🔴 global_write
Global write: valid_detectors
Impact: low
Show code
valid_detectors = {

item_radio.script

L1097 🟢 repeated_obj_section()
obj:section() called 2x in actor_on_update
Impact: low
Show code
Cache obj:section() result
L362 🟡 string_concat_in_loop
String concat in loop: dump = dump .. x
Impact: critical
Show code
dump = dump..string.format("\n | %s (%s) : %s Mhz |",v.name,v.id,v.freq)
L849 🟡 string_concat_in_loop
String concat in loop: sndpath = sndpath .. x
Impact: critical
Show code
sndpath = sndpath.."\\"..sndfile
L185 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logprefix..logtext,...)
L812 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sfx_background_noise at %s",time_global())
L817 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sfx_emission at %s",time_global())
L928 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s",fr[i])
L1162 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("found noisefx %s",noisefx)
L1166 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("no noisefx returned by %s, playing silence",functor)
L1183 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("snd_random_now: %s | randfac %s | randsnd %s | talksnd %s",snd_random_now,randfac,randsnd,talksnd)
L1277 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("mod_key_pressed(%s): %s",key,mkp)
L1287 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("presets: kb %s | mk %s | freq %s",presets[i].kb,presets[i].mk,presets[i].f)
L32 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.5-DAR"
L45 🔴 global_write
Global write: emission_functor
Impact: low
Show code
emission_functor = nil
L46 🔴 global_write
Global write: bgnoise_functor
Impact: low
Show code
bgnoise_functor = nil
L50 🔴 global_write
Global write: wid_pos
Impact: low
Show code
wid_pos = {x=491,y=670}
L54 🔴 global_write
Global write: explosive_triggered
Impact: low
Show code
explosive_triggered = false
L56 🔴 global_write
Global write: enable_rrfr
Impact: low
Show code
enable_rrfr = false
L57 🔴 global_write
Global write: rrfr_update_sources
Impact: low
Show code
rrfr_update_sources = false
L58 🔴 global_write
Global write: rrfr_must_equip_det
Impact: low
Show code
rrfr_must_equip_det = false
L66 🔴 global_write
Global write: tb_flash_time
Impact: low
Show code
tb_flash_time = 0
L67 🔴 global_write
Global write: tb_in_range
Impact: low
Show code
tb_in_range = false
L68 🔴 global_write
Global write: tb_sound_object
Impact: low
Show code
tb_sound_object = false
L88 🔴 global_write
Global write: bands
Impact: low
Show code
bands = {
L138 🔴 global_write
Global write: stalker_pda_frequencies
Impact: low
Show code
stalker_pda_frequencies = {} -- PDA frequencies of known stalkers
L142 🔴 global_write
Global write: RF_stashes
Impact: low
Show code
RF_stashes = {} -- stored stashes with RF source
L143 🔴 global_write
Global write: RF_targets
Impact: low
Show code
RF_targets = {} -- stored specific targets with RF source
L149 🔴 global_write
Global write: action_defs
Impact: low
Show code
action_defs = {}
L506 🔴 global_write
Global write: snd
Impact: low
Show code
snd = rft_def.snd or snd_path_table.quest_beep or path_default_beep
L516 🔴 global_write
Global write: action_defs
Impact: low
Show code
action_defs = {
L558 🔴 global_write
Global write: refresh
Impact: low
Show code
refresh = true -- require sounds update
L893 🔴 global_write
Global write: emission_functor
Impact: low
Show code
emission_functor = rfcfg["emission_functor"]
L894 🔴 global_write
Global write: bgnoise_functor
Impact: low
Show code
bgnoise_functor = bgcfg["sfx_functor"]
L1200 🔴 global_write
Global write: RF_stashes
Impact: low
Show code
RF_stashes = m_data.RF_stashes or {}
L1201 🔴 global_write
Global write: RF_targets
Impact: low
Show code
RF_targets = m_data.RF_targets or {}
L1203 🔴 global_write
Global write: stalker_pda_frequencies
Impact: low
Show code
stalker_pda_frequencies = m_data.stalker_pda_frequencies or {}
L1230 🔴 global_write
Global write: signal_low
Impact: low
Show code
signal_low = {
L1236 🔴 global_write
Global write: signal_high
Impact: low
Show code
signal_high = {
L1242 🔴 global_write
Global write: signal_emission
Impact: low
Show code
signal_emission = {
L1255 🔴 global_write
Global write: indicator
Impact: low
Show code
indicator = nil
L1361 🔴 global_write
Global write: enable_rrfr
Impact: low
Show code
enable_rrfr = (onoff == true)
L1365 🔴 global_write
Global write: rrfr_update_sources
Impact: low
Show code
if rrfr_us ~= nil then rrfr_update_sources = rrfr_us end
L1366 🔴 global_write
Global write: rrfr_must_equip_det
Impact: low
Show code
if rrfr_eq ~= nil then rrfr_must_equip_det = rrfr_eq end

uni_anim_detectors.script

L14 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L18 🔴 global_write
Global write: fdda_anim_prepare
Impact: low
Show code
fdda_anim_prepare = enhanced_animations.anim_prepare
L20 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L24 🔴 global_write
Global write: fdda_call_my_slot_back
Impact: low
Show code
fdda_call_my_slot_back = enhanced_animations.call_my_slot_back
L28 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L33 🔴 global_write
Global write: fdda_bp_call_my_slot_back
Impact: low
Show code
fdda_bp_call_my_slot_back = zzz_ea_addon_backpack.call_my_slot_back
L37 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L50 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L63 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L71 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L85 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L98 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L113 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L167 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false

utjan_mag_check.script

L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Old mag check script (ammo_check_mcm) detected. Remove it to get full features of mag checks")
L107 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Old mag check script (ammo_check_mcm) detected. Remove it to get full features of mag checks")
L3 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = nil
L4 🔴 global_write
Global write: wpn_checking
Impact: low
Show code
wpn_checking, det_active = nil
L4 🔴 global_write
Global write: det_active
Impact: low
Show code
wpn_checking, det_active = nil
L7 🔴 global_write
Global write: base_check_Ammo
Impact: low
Show code
base_check_Ammo = ammo_check_mcm.check_Ammo
L63 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = 1
L65 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = db.actor:active_detector() or nil
L80 🔴 global_write
Global write: wpn_checking
Impact: low
Show code
wpn_checking = nil
L81 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = nil
L86 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = nil
L90 🔴 global_write
Global write: wpn_checking
Impact: low
Show code
wpn_checking = obj
L102 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = 2

zz_rf_light_remover.script

L3 🔴 global_write
Global write: base_radio_update
Impact: low
Show code
base_radio_update = item_radio.UI3D_RF.Update

417- New Extensible RF Sources - Catspaw

6 files (🟢1 🟡2 🔴75 🔵11)

catsy_nerfs_mcm.script

L27 🔴 global_write
Global write: color_tokens
Impact: low
Show code
color_tokens = {
L46 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "nerfs", gr={
L242 🔴 global_write
Global write: GUI_PosPre
Impact: low
Show code
GUI_PosPre = nil
L268 🔴 global_write
Global write: GUI_PosPre
Impact: low
Show code
GUI_PosPre = pos_previewer_mcm.UIMCMPosPreview(anchor, path, args)

item_radio.script

L1155 🟢 repeated_obj_section()
obj:section() called 2x in actor_on_update
Impact: low
Show code
Cache obj:section() result
L342 🟡 string_concat_in_loop
String concat in loop: dump = dump .. x
Impact: critical
Show code
dump = dump..string.format("\n | %s (%s) : %s Mhz |",v.name,v.id,v.freq)
L896 🟡 string_concat_in_loop
String concat in loop: sndpath = sndpath .. x
Impact: critical
Show code
sndpath = sndpath.."\\"..sndfile
L8 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.7.3"
L9 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250422
L26 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false -- change to false before release
L27 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = true
L28 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[NERFS] "
L33 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L34 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L52 🔴 global_write
Global write: enable_acc_widget
Impact: low
Show code
enable_acc_widget = false
L53 🔴 global_write
Global write: enable_wid_pointer
Impact: low
Show code
enable_wid_pointer = false
L54 🔴 global_write
Global write: emission_functor
Impact: low
Show code
emission_functor = nil
L55 🔴 global_write
Global write: bgnoise_functor
Impact: low
Show code
bgnoise_functor = nil
L70 🔴 global_write
Global write: wid_pos
Impact: low
Show code
wid_pos = {x=491,y=670}
L77 🔴 global_write
Global write: tb_flash_time
Impact: low
Show code
tb_flash_time = 0
L78 🔴 global_write
Global write: tb_in_range
Impact: low
Show code
tb_in_range = false
L79 🔴 global_write
Global write: tb_sound_object
Impact: low
Show code
tb_sound_object = false
L99 🔴 global_write
Global write: bands
Impact: low
Show code
bands = {
L145 🔴 global_write
Global write: stalker_pda_frequencies
Impact: low
Show code
stalker_pda_frequencies = {} -- PDA frequencies of known stalkers
L149 🔴 global_write
Global write: RF_stashes
Impact: low
Show code
RF_stashes = {} -- stored stashes with RF source
L150 🔴 global_write
Global write: RF_targets
Impact: low
Show code
RF_targets = {} -- stored specific targets with RF source
L156 🔴 global_write
Global write: action_defs
Impact: low
Show code
action_defs = {}
L157 🔴 global_write
Global write: snd_emission
Impact: low
Show code
snd_emission = {}
L158 🔴 global_write
Global write: snd_random
Impact: low
Show code
snd_random = {}
L159 🔴 global_write
Global write: snd_talk
Impact: low
Show code
snd_talk = {}
L160 🔴 global_write
Global write: snd_silence
Impact: low
Show code
snd_silence = xr_sound.get_safe_sound_object(path_silence)
L161 🔴 global_write
Global write: snd_on
Impact: low
Show code
snd_on = xr_sound.get_safe_sound_object(path_sound_on)
L162 🔴 global_write
Global write: snd_off
Impact: low
Show code
snd_off = xr_sound.get_safe_sound_object(path_sound_off)
L163 🔴 global_write
Global write: snd_beep
Impact: low
Show code
snd_beep = sound_object(path_default_beep)
L164 🔴 global_write
Global write: snd_noise
Impact: low
Show code
snd_noise = xr_sound.get_safe_sound_object(path_default_noise)
L369 🔴 global_write
Global write: stalker_pda_frequencies
Impact: low
Show code
stalker_pda_frequencies = {}
L502 🔴 global_write
Global write: snd
Impact: low
Show code
snd = rft_def.snd or snd_path_table.quest_beep or path_default_beep
L512 🔴 global_write
Global write: action_defs
Impact: low
Show code
action_defs = {
L555 🔴 global_write
Global write: refresh
Impact: low
Show code
refresh = true -- require sounds update
L940 🔴 global_write
Global write: emission_functor
Impact: low
Show code
emission_functor = rfcfg["emission_functor"]
L941 🔴 global_write
Global write: bgnoise_functor
Impact: low
Show code
bgnoise_functor = bgcfg["sfx_functor"]
L1221 🔴 global_write
Global write: snd_noise
Impact: low
Show code
snd_noise = xr_sound.get_safe_sound_object(noisefx)
L1224 🔴 global_write
Global write: snd_noise
Impact: low
Show code
snd_noise = snd_silence
L1257 🔴 global_write
Global write: RF_stashes
Impact: low
Show code
RF_stashes = m_data.RF_stashes or {}
L1258 🔴 global_write
Global write: RF_targets
Impact: low
Show code
RF_targets = m_data.RF_targets or {}
L1260 🔴 global_write
Global write: stalker_pda_frequencies
Impact: low
Show code
stalker_pda_frequencies = m_data.stalker_pda_frequencies or {}
L1284 🔴 global_write
Global write: enable_acc_widget
Impact: low
Show code
enable_acc_widget = ui_mcm.get("nerfs/nerfwidget/show")
L1285 🔴 global_write
Global write: enable_wid_pointer
Impact: low
Show code
enable_wid_pointer = ui_mcm.get("nerfs/nerfwidget/pointer")
L1287 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if dbg ~= nil then debuglogs = dbg end
L1442 🔴 global_write
Global write: enable_rrfr
Impact: low
Show code
enable_rrfr = onoff and true or false
L1446 🔴 global_write
Global write: rrfr_update_sources
Impact: low
Show code
if rrfr_us ~= nil then rrfr_update_sources = rrfr_us end
L1447 🔴 global_write
Global write: rrfr_must_equip_det
Impact: low
Show code
if rrfr_eq ~= nil then rrfr_must_equip_det = rrfr_eq end
L1452 🔴 global_write
Global write: dar_sound_from_inv
Impact: low
Show code
dar_sound_from_inv = (enable_rrfr and (not rrfr_must_equip_det))

pos_previewer_mcm.script

L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logprefix..logtext,...)
L81 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.4"
L82 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20240605
L83 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L84 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = true -- does nothing without debuglogs
L85 🔴 global_write
Global write: use_debug_images
Impact: low
Show code
use_debug_images = false
L119 🔴 global_write
Global write: aspects
Impact: low
Show code
aspects = {

ui_rf_widget.script

L25 🔴 global_write
Global write: color_table
Impact: low
Show code
color_table = {

utils_catspaw_common.script

L47 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((caller.logprefix or logprefix) .. logtext, ...)
L56 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((caller.logprefix or logprefix) .. (caller.vprefix or vprefix) .. logtext, ...)
L66 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((raw_prefix or "") .. logtext, ...)
L133 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "! Modded exes not detected! No extra features available.\n" ..
L139 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logdiv .. "@ Modded exes %s feature support (GAMMA: %s)", exes_version, using_gamma_modpack)
L141 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s %s (added %s): %s", v.enabled and "-" or "!", v.name, v.ver, v.func())
L143 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logdiv)
L495 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! ERROR: no INI filename passed to %s.load_file_data%s, cannot continue!", script_name, args.called_by and (" by " ..args.called_by) or "")
L500 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local function dl(s, ...) return log and printf(s, ...) end
L626 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_common"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.14"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250419
L73 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L74 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L75 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[CatsyUtils] " -- gets prefixed, optional
L76 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = "[V] " -- gets added to verbose log entries, optional
L94 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L95 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L101 🔴 global_write
Global write: logdiv
Impact: low
Show code
logdiv = "~ ------------------------------------------------------------------------\n"
L107 🔴 global_write
Global write: engine_features
Impact: low
Show code
engine_features = {
L119 🔴 global_write
Global write: using_gamma_modpack
Impact: low
Show code
using_gamma_modpack = game_version:find("G.A.M.M.A.") and true or false
L121 🔴 global_write
Global write: using_modded_exes
Impact: low
Show code
using_modded_exes = using_gamma_modpack or exes_version and true or false
L246 🔴 global_write
Global write: easing
Impact: low
Show code
easing = {

z_rftip_note_spawner.script

L30 🔴 global_write
Global write: drop_chance_coef
Impact: low
Show code
drop_chance_coef = 1.0
L32 🔴 global_write
Global write: allowed_factions
Impact: low
Show code
allowed_factions = {
L46 🔴 global_write
Global write: rf_tips
Impact: low
Show code
rf_tips = {
L73 🔴 global_write
Global write: existing_spawn_logic
Impact: low
Show code
existing_spawn_logic = death_manager.spawn_cosmetics

418- Dynamic Icons Indicators - HarukaSai

1 file (🟢0 🟡0 🔴8 🔵2)

icon_overlayer_mcm.script

L74 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Icon Overlayer: | %s | \n" .. utils_data.print_table(node, text, true), time_global(), ...)
L80 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Icon Overlayer: | %s | " .. text, time_global(), ...)
L31 🔴 global_write
Global write: anchors
Impact: low
Show code
anchors = {
L84 🔴 global_write
Global write: properties
Impact: low
Show code
properties = {}
L85 🔴 global_write
Global write: layers
Impact: low
Show code
layers = {}
L86 🔴 global_write
Global write: groups
Impact: low
Show code
groups = {}
L89 🔴 global_write
Global write: main_settings_path
Impact: low
Show code
main_settings_path = string_format("%s/%s_main_settings", mcm_id, mcm_id) .. "/%s"
L222 🔴 global_write
Global write: property_path
Impact: low
Show code
property_path = string_format("%s/%s", mcm_id, op.gr[2].id) .. "/%s_"
L464 🔴 global_write
Global write: layer_functors
Impact: low
Show code
layer_functors = {}
L589 🔴 global_write
Global write: xml
Impact: low
Show code
xml = xml or self:GetXML()

419- Artefacts Belt Scroller - Demonized

2 files (🟢0 🟡0 🔴8 🔵0)

zz_artefacts_belt_scroller_data.script

L1 🔴 global_write
Global write: artefactsOffset
Impact: low
Show code
artefactsOffset = 0
L20 🔴 global_write
Global write: artefactsOffset
Impact: low
Show code
artefactsOffset = 0
L22 🔴 global_write
Global write: artefactsOffset
Impact: low
Show code
artefactsOffset = clamp(artefactsOffset, 0, #artefacts - 5)

zz_artefacts_belt_scroller_ui.script

L5 🔴 global_write
Global write: uibelt_controls
Impact: low
Show code
uibelt_controls = item_artefact.UIBelt.InitControls
L30 🔴 global_write
Global write: uibelt_clear
Impact: low
Show code
uibelt_clear = item_artefact.UIBelt.Clear
L38 🔴 global_write
Global write: uibelt_refresh
Impact: low
Show code
uibelt_refresh = item_artefact.UIBelt.Refresh
L88 🔴 global_write
Global write: uiinventory_updatebelt
Impact: low
Show code
uiinventory_updatebelt = ui_inventory.UIInventory.UpdateBelt
L137 🔴 global_write
Global write: uiinventory_controls
Impact: low
Show code
uiinventory_controls = ui_inventory.UIInventory.InitControls

42- Camera Reanimation INERTIA - IENCE

2 files (🟢0 🟡0 🔴4 🔵0)

camera_reanim_project.script

L90 🔴 global_write
Global write: tg_anim1
Impact: low
Show code
tg_anim1 = 0
L91 🔴 global_write
Global write: tg_anim1_delay
Impact: low
Show code
tg_anim1_delay = 1000
L96 🔴 global_write
Global write: tg_anim1
Impact: low
Show code
tg_anim1 = time_global() + tg_anim1_delay

camera_reanim_project_mcm.script

L15 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = "crpmcm",sh = true ,gr = {

421- AK Family Reanimation - NickolasNikova

5 files (🟢1 🟡2 🔴20 🔵2)

animation_common.script

L88 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

uni_anim_detectors.script

L14 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L18 🔴 global_write
Global write: fdda_anim_prepare
Impact: low
Show code
fdda_anim_prepare = enhanced_animations.anim_prepare
L20 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L24 🔴 global_write
Global write: fdda_call_my_slot_back
Impact: low
Show code
fdda_call_my_slot_back = enhanced_animations.call_my_slot_back
L28 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L33 🔴 global_write
Global write: fdda_bp_call_my_slot_back
Impact: low
Show code
fdda_bp_call_my_slot_back = zzz_ea_addon_backpack.call_my_slot_back
L37 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L50 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L63 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L71 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L85 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L98 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L113 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L167 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false

423- Mossberg 590 Reanimation - SoulCrystal

6 files (🟢1 🟡2 🔴22 🔵2)

animation_common.script

L88 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

remove_gun_from_loadout.script

L1 🔴 global_write
Global write: gunsToRemove
Impact: low
Show code
gunsToRemove = {
L12 🔴 global_write
Global write: init_settings
Impact: low
Show code
init_settings = xrs_rnd_npc_loadout.init_settings

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

uni_anim_detectors.script

L14 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L18 🔴 global_write
Global write: fdda_anim_prepare
Impact: low
Show code
fdda_anim_prepare = enhanced_animations.anim_prepare
L20 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L24 🔴 global_write
Global write: fdda_call_my_slot_back
Impact: low
Show code
fdda_call_my_slot_back = enhanced_animations.call_my_slot_back
L28 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L33 🔴 global_write
Global write: fdda_bp_call_my_slot_back
Impact: low
Show code
fdda_bp_call_my_slot_back = zzz_ea_addon_backpack.call_my_slot_back
L37 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L50 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L63 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L71 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L85 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L98 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L113 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L167 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false

424- Weapon Inertia Expanded - lizzardman

4 files (🟢1 🟡0 🔴8 🔵0)

animation_common.script

L88 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

liz_inertia_expanded.script

L4 🔴 global_write
Global write: animate_hand
Impact: low
Show code
animate_hand = 2
L5 🔴 global_write
Global write: wpn_all_configs
Impact: low
Show code
wpn_all_configs = {}
L6 🔴 global_write
Global write: mask_layers
Impact: low
Show code
mask_layers = {
L280 🔴 global_write
Global write: animate_hand
Impact: low
Show code
animate_hand = 0
L282 🔴 global_write
Global write: animate_hand
Impact: low
Show code
animate_hand = 2

liz_inertia_expanded_crawl.script

L3 🔴 global_write
Global write: blocked_weapons
Impact: low
Show code
blocked_weapons = {}
L117 🔴 global_write
Global write: cur_dir_side
Impact: low
Show code
cur_dir_side = vector():set(cur_dir_forward.z, cur_dir_forward.y, - cur_dir_forward.x)

liz_inertia_expanded_mcm.script

L42 🔴 global_write
Global write: op
Impact: low
Show code
op = {

425- Dynamic News Manager Fixes and Tweaks - dEmergence

1 file (🟢0 🟡0 🔴16 🔵1)

dynamic_news_manager_patch_dmg.script

L98 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(tostring(debug_text))
L67 🔴 global_write
Global write: settings
Impact: low
Show code
settings = {
L106 🔴 global_write
Global write: orig_update_settings
Impact: low
Show code
orig_update_settings = dynamic_news_manager.update_settings
L129 🔴 global_write
Global write: orig_TickQuick
Impact: low
Show code
orig_TickQuick = dynamic_news_manager.DynamicNewsManager.TickQuick
L248 🔴 global_write
Global write: online_npc_cache
Impact: low
Show code
online_npc_cache = {
L287 🔴 global_write
Global write: orig_FindSpeakerNoVictim
Impact: low
Show code
orig_FindSpeakerNoVictim = dynamic_news_manager.DynamicNewsManager.FindSpeakerNoVictim
L347 🔴 global_write
Global write: orig_FindSpeaker
Impact: low
Show code
orig_FindSpeaker = dynamic_news_manager.DynamicNewsManager.FindSpeaker
L412 🔴 global_write
Global write: orig_FindSpeakerWithEnemy
Impact: low
Show code
orig_FindSpeakerWithEnemy = dynamic_news_manager.DynamicNewsManager.FindSpeakerWithEnemy
L474 🔴 global_write
Global write: orig_FindSpeakerRandom
Impact: low
Show code
orig_FindSpeakerRandom = dynamic_news_manager.DynamicNewsManager.FindSpeakerRandom
L482 🔴 global_write
Global write: exclude_npc_id
Impact: low
Show code
exclude_npc_id = exclude_npc_id or 0
L550 🔴 global_write
Global write: orig_FindSpeakerAndTarget
Impact: low
Show code
orig_FindSpeakerAndTarget = dynamic_news_manager.DynamicNewsManager.FindSpeakerAndTarget
L643 🔴 global_write
Global write: orig_PushToChannel
Impact: low
Show code
orig_PushToChannel = dynamic_news_manager.DynamicNewsManager.PushToChannel
L682 🔴 global_write
Global write: orig_monster_on_death_callback
Impact: low
Show code
orig_monster_on_death_callback = dynamic_news_manager.DynamicNewsManager.monster_on_death_callback
L700 🔴 global_write
Global write: orig_npc_on_death_callback
Impact: low
Show code
orig_npc_on_death_callback = dynamic_news_manager.DynamicNewsManager.npc_on_death_callback
L789 🔴 global_write
Global write: ui_sender
Impact: low
Show code
ui_sender = news_manager.tips_icons[sender]
L791 🔴 global_write
Global write: ui_sender
Impact: low
Show code
ui_sender = sender
L793 🔴 global_write
Global write: ui_sender
Impact: low
Show code
ui_sender = news_manager.tips_icons[sender]

426- Dynamic Emission Cover - Utjan

1 file (🟢0 🟡0 🔴27 🔵0)

dynamic_emission_cover_mcm.script

L57 🔴 global_write
Global write: ray_count_circle
Impact: low
Show code
ray_count_circle = 16
L58 🔴 global_write
Global write: ray_count_vertical
Impact: low
Show code
ray_count_vertical = 8
L61 🔴 global_write
Global write: rays_per_update
Impact: low
Show code
rays_per_update = 10
L62 🔴 global_write
Global write: ray_range
Impact: low
Show code
ray_range = 8
L63 🔴 global_write
Global write: north_facing_bonus
Impact: low
Show code
north_facing_bonus = 0.01
L64 🔴 global_write
Global write: cover_prcnt_needed
Impact: low
Show code
cover_prcnt_needed = 0.85
L65 🔴 global_write
Global write: show_cover_bar
Impact: low
Show code
show_cover_bar = true
L66 🔴 global_write
Global write: debug_mode
Impact: low
Show code
debug_mode = false
L67 🔴 global_write
Global write: protect_companions_range
Impact: low
Show code
protect_companions_range = 15
L68 🔴 global_write
Global write: grace_period
Impact: low
Show code
grace_period = 1
L69 🔴 global_write
Global write: hud_delay
Impact: low
Show code
hud_delay = 0
L73 🔴 global_write
Global write: rays_per_update
Impact: low
Show code
rays_per_update = get_config("rays_per_update")
L74 🔴 global_write
Global write: ray_range
Impact: low
Show code
ray_range = get_config("cover_range")
L75 🔴 global_write
Global write: north_facing_bonus
Impact: low
Show code
north_facing_bonus = get_config("north_cover_bonus")
L76 🔴 global_write
Global write: cover_prcnt_needed
Impact: low
Show code
cover_prcnt_needed = get_config("distance_factor")
L77 🔴 global_write
Global write: debug_mode
Impact: low
Show code
debug_mode = get_config("debug_mode")
L78 🔴 global_write
Global write: show_cover_bar
Impact: low
Show code
show_cover_bar = get_config("show_cover_bar")
L79 🔴 global_write
Global write: protect_companions_range
Impact: low
Show code
protect_companions_range = get_config("protect_companions")
L80 🔴 global_write
Global write: grace_period
Impact: low
Show code
grace_period = get_config("grace_period")
L81 🔴 global_write
Global write: hud_delay
Impact: low
Show code
hud_delay = get_config("hud_show_delay")
L105 🔴 global_write
Global write: excluded_maps
Impact: low
Show code
excluded_maps = {
L117 🔴 global_write
Global write: dynamic_is_safe
Impact: low
Show code
dynamic_is_safe = false
L222 🔴 global_write
Global write: dynamic_is_safe
Impact: low
Show code
dynamic_is_safe = true
L233 🔴 global_write
Global write: dynamic_is_safe
Impact: low
Show code
dynamic_is_safe = false
L239 🔴 global_write
Global write: dynamic_is_safe
Impact: low
Show code
dynamic_is_safe = false
L258 🔴 global_write
Global write: dynamic_is_safe
Impact: low
Show code
dynamic_is_safe = false
L291 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "dynamic_cover",sh=true ,gr={

433- UDP-9 Carbine - Pilliii

2 files (🟢0 🟡3 🔴48 🔵2)

mags_patches.script

L226 🟡 string_concat_in_loop
String concat in loop: _str = _str .. x
Impact: critical
Show code
_str = _str .. clr_p .. gc("st_dot") .. " ".. clr_1 .. gc("st_mag_"..k) .. " " .. utils_xml.get_color_con(color_ratio) .. v .. "/" .. total ..(total > outfit_slots[k] and string.format(gc("st_mag_bonus"),outfit_slots[k],total - outfit_slots[k] ) or "") .. "\\n"
L232 🟡 string_concat_in_loop
String concat in loop: _str = _str .. x
Impact: critical
Show code
_str = _str .. clr_p .. gc("st_dot") .. " ".. clr_1 .. gc("st_mag_"..k)..slots.. "\\n"
L298 🟡 string_concat_in_loop
String concat in loop: _str = _str .. x
Impact: critical
Show code
_str = _str .. "\\n " .. gc("st_dot").." ".. collected[#collected - i + 1]
L3 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L4 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = magazine_binder.get_data
L5 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = magazine_binder.set_data
L6 🔴 global_write
Global write: dump_data
Impact: low
Show code
dump_data = magazine_binder.dump_data
L7 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = magazine_binder.is_supported_weapon
L8 🔴 global_write
Global write: get_magazine_caliber
Impact: low
Show code
get_magazine_caliber = magazine_binder.get_magazine_caliber
L9 🔴 global_write
Global write: is_compatible
Impact: low
Show code
is_compatible = magazine_binder.is_compatible
L10 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L11 🔴 global_write
Global write: is_carried_mag
Impact: low
Show code
is_carried_mag = magazine_binder.is_carried_mag
L12 🔴 global_write
Global write: toggle_carried_mag
Impact: low
Show code
toggle_carried_mag = magazine_binder.toggle_carried_mag
L13 🔴 global_write
Global write: room_in_pouch
Impact: low
Show code
room_in_pouch = magazine_binder.room_in_pouch
L14 🔴 global_write
Global write: eject
Impact: low
Show code
eject = magazines.eject_magazine
L15 🔴 global_write
Global write: get_total_carried
Impact: low
Show code
get_total_carried = magazine_binder.get_total_carried
L16 🔴 global_write
Global write: get_loadout_size
Impact: low
Show code
get_loadout_size = magazine_binder.get_loadout_size
L17 🔴 global_write
Global write: weapon_default_magazine
Impact: low
Show code
weapon_default_magazine = magazine_binder.weapon_default_magazine
L18 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = magazine_binder.get_mag_loaded
L19 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L20 🔴 global_write
Global write: has_loadout_slots
Impact: low
Show code
has_loadout_slots = magazine_binder.has_loadout_slots
L21 🔴 global_write
Global write: get_loadout_slots
Impact: low
Show code
get_loadout_slots = magazine_binder.get_loadout_slots
L22 🔴 global_write
Global write: create_mag_data
Impact: low
Show code
create_mag_data = magazine_binder.create_mag_data
L23 🔴 global_write
Global write: validate_mag
Impact: low
Show code
validate_mag = magazine_binder.validate_mag
L24 🔴 global_write
Global write: validate_wep
Impact: low
Show code
validate_wep = magazine_binder.validate_wep
L25 🔴 global_write
Global write: create_time_event
Impact: low
Show code
create_time_event = magazines.create_time_event
L26 🔴 global_write
Global write: get_sec_chambered
Impact: low
Show code
get_sec_chambered = magazines.get_sec_chambered
L27 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = magazines_mcm.get_config
L41 🔴 global_write
Global write: mousebase
Impact: low
Show code
mousebase = utils_ui.UICellContainer.On_Mouse1
L83 🔴 global_write
Global write: DisassemblyWeapon
Impact: low
Show code
DisassemblyWeapon = item_parts.disassembly_weapon
L99 🔴 global_write
Global write: WorkshopUpgrade
Impact: low
Show code
WorkshopUpgrade = ui_workshop.UIWorkshopUpgrade.Upgrade
L121 🔴 global_write
Global write: WorkshopRepair
Impact: low
Show code
WorkshopRepair = ui_workshop.UIWorkshopRepair.Repair
L142 🔴 global_write
Global write: CanRepair
Impact: low
Show code
CanRepair = inventory_upgrades.can_repair_item
L148 🔴 global_write
Global write: TechUpgrade
Impact: low
Show code
TechUpgrade = ui_inventory.UIInventory.RMode_UpgradeYes
L164 🔴 global_write
Global write: UnloadAll
Impact: low
Show code
UnloadAll = item_weapon.unload_all_weapons
L199 🔴 global_write
Global write: original_build_desc_header
Impact: low
Show code
original_build_desc_header = ui_item.build_desc_header
L273 🔴 global_write
Global write: original_build_desc_footer
Impact: low
Show code
original_build_desc_footer = ui_item.build_desc_footer
L296 🔴 global_write
Global write: collected
Impact: low
Show code
collected = collect_mag_data(mag_data, true)
L319 🔴 global_write
Global write: CloneWep
Impact: low
Show code
CloneWep = _G.alife_clone_weapon
L331 🔴 global_write
Global write: AttachScope
Impact: low
Show code
AttachScope = item_weapon.attach_scope
L340 🔴 global_write
Global write: DetachScope
Impact: low
Show code
DetachScope = item_weapon.detach_scope
L357 🔴 global_write
Global write: id_1
Impact: low
Show code
id_1 = alife_create_item(default_mag, db.actor)
L358 🔴 global_write
Global write: id_2
Impact: low
Show code
id_2 = alife_create_item(default_mag, db.actor)
L367 🔴 global_write
Global write: NewGameEquipment
Impact: low
Show code
NewGameEquipment = itms_manager.new_game_equippment
L373 🔴 global_write
Global write: AzazelDeath
Impact: low
Show code
AzazelDeath = gamemode_azazel.actor_on_before_death
L434 🔴 global_write
Global write: BarTele
Impact: low
Show code
BarTele = xr_effects.bar_arena_teleport

utjan_mag_check.script

L14 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Old mag check script (ammo_check_mcm) detected. Remove it to get full features of mag checks")
L90 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Old mag check script (ammo_check_mcm) detected. Remove it to get full features of mag checks")
L3 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = nil
L6 🔴 global_write
Global write: base_check_Ammo
Impact: low
Show code
base_check_Ammo = ammo_check_mcm.check_Ammo
L62 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = 1
L66 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = nil
L86 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = 2

437- Weighted NPC Random Loadouts - SD

1 file (🟢0 🟡1 🔴0 🔵6)

xrs_rnd_npc_loadout.script

L384 🟡 string_concat_in_loop
String concat in loop: loadout = loadout .. x
Impact: critical
Show code
loadout = loadout .. "_" .. tbl_rank[k2]
L130 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: NPC Loadouts | something is wrong in [%s] - %s", section, tmp[1])
L272 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: NPC Loadouts | wrong ammo_type set for [%s], missing value in ammo_class", section)
L336 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L357 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: NPC Loadouts | section [%s] doesn't exist", slot)
L393 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: NPC Loadouts | loadout [%s] doesn't exist", loadout)
L399 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(print_tbl[i])

439- The Covenant Weapon Pack for DX9 - TCWP Team

2 files (🟢1 🟡0 🔴15 🔵0)

grok_casings_sounds.script

L7 🔴 global_write
Global write: mat_to_sound
Impact: low
Show code
mat_to_sound = {
L24 🔴 global_write
Global write: cal_to_sound
Impact: low
Show code
cal_to_sound = {
L75 🔴 global_write
Global write: time_table
Impact: low
Show code
time_table = {
L110 🔴 global_write
Global write: no_casing_drop
Impact: low
Show code
no_casing_drop = {
L151 🔴 global_write
Global write: mat
Impact: low
Show code
mat = "default"
L158 🔴 global_write
Global write: found_mat
Impact: low
Show code
found_mat = sf(current_material, k)
L165 🔴 global_write
Global write: material_sound
Impact: low
Show code
material_sound = mat_to_sound[current_material]
L167 🔴 global_write
Global write: material_sound
Impact: low
Show code
material_sound = mat_to_sound["default"]
L199 🔴 global_write
Global write: material_sound
Impact: low
Show code
material_sound = mat_to_sound["default"]
L203 🔴 global_write
Global write: rand
Impact: low
Show code
rand = math_random(1,100)
L205 🔴 global_write
Global write: material_sound
Impact: low
Show code
material_sound = "grass"
L207 🔴 global_write
Global write: material_sound
Impact: low
Show code
material_sound = "grass"
L209 🔴 global_write
Global write: material_sound
Impact: low
Show code
material_sound = "dirt"
L219 🔴 global_write
Global write: vol
Impact: low
Show code
vol = math_random(1,6) * 0.1
L228 🔴 global_write
Global write: vol
Impact: low
Show code
vol = math_random(1,6) * 0.1

lower_weapon_sprint.script

L188 🟢 repeated_wpn_section()
wpn:section() called 5x in actor_on_update
Impact: low
Show code
Cache wpn:section() result

44- Bounty Squads Extended - Vintar0

2 files (🟢0 🟡0 🔴3 🔵0)

grok_gotta_go_fast.script

L10 🔴 global_write
Global write: run_coeff
Impact: low
Show code
run_coeff = grok_gotta_go_fast_mcm.get_config("gotta_go_fast_run")
L11 🔴 global_write
Global write: sprint_coeff
Impact: low
Show code
sprint_coeff = grok_gotta_go_fast_mcm.get_config("gotta_go_fast_sprint")

grok_gotta_go_fast_mcm.script

L12 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "gggf",sh=true ,gr={

446- Quick Action Wheel - HarukaSai

3 files (🟢0 🟡0 🔴18 🔵21)

custom_functor_autoinject.script

L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."*"..g_tostring(t))
L114 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(t).." {")
L116 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..string.rep(" ",#pos+6).."}")
L118 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(val))
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..g_tostring(t))
L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L145 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L152 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L154 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L158 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L321 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s", k, v.index)
L324 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s, max custom_functor reached", k, v.index)
L426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, processing queue")
L429 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, type %s", v.type)
L466 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid, min 1, max 10, your slot: %s", slot)
L481 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid min 1, max 10, your slot: %s", slot)
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[" .. k .. "] => ")

haru_arm.script

L17 🔴 global_write
Global write: p_width
Impact: low
Show code
p_width = parent_width or 1024
L18 🔴 global_write
Global write: p_center
Impact: low
Show code
p_center = p_width/2
L19 🔴 global_write
Global write: width
Impact: low
Show code
width = ele:GetWidth()
L20 🔴 global_write
Global write: pos
Impact: low
Show code
pos = ele:GetWndPos()
L21 🔴 global_write
Global write: anchorpos
Impact: low
Show code
anchorpos = {}
L25 🔴 global_write
Global write: ratio
Impact: low
Show code
ratio = (device().height / device().width) / (768 / 1024)
L26 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = anchorpos.left
L29 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = p_width - (p_width - (anchor and anchorpos[anchor] or anchorpos.left))*ratio
L31 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = p_center - (p_center - (anchor and anchorpos[anchor] or anchorpos.left))*ratio
L33 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = ratio * (anchor and anchorpos[anchor] or anchorpos.left)
L48 🔴 global_write
Global write: States
Impact: low
Show code
States = {
L55 🔴 global_write
Global write: State2Colour
Impact: low
Show code
State2Colour = {

haru_quick_action_wheel_mcm.script

L9 🔴 global_write
Global write: wheel_states
Impact: low
Show code
wheel_states = haru_arm.States
L14 🔴 global_write
Global write: override_quick_keys
Impact: low
Show code
override_quick_keys = {
L19 🔴 global_write
Global write: add_to_qaw_functor
Impact: low
Show code
add_to_qaw_functor = {
L34 🔴 global_write
Global write: tab_categories
Impact: low
Show code
tab_categories = {[2] = "devices", [3] = "attachments", [4] = "food", [5] = "meds", [6] = "grenades", [7] = "ammo", [8] = "slots"}
L85 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder and magazine_binder.is_magazine and function(obj)
L89 🔴 global_write
Global write: supports_magazines
Impact: low
Show code
supports_magazines = magazine_binder and magazine_binder.is_supported_weapon and function(obj)

447- FDDA Redone - lizzardman

18 files (🟢4 🟡0 🔴79 🔵68)

af_inspect.script

L26 🟢 repeated_itm_section()
itm:section() called 4x in inspect
Impact: low
Show code
Cache itm:section() result
L1 🔴 global_write
Global write: af_anim_item
Impact: low
Show code
af_anim_item = nil
L2 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = nil
L3 🔴 global_write
Global write: particle
Impact: low
Show code
particle = nil
L4 🔴 global_write
Global write: pos
Impact: low
Show code
pos = nil
L6 🔴 global_write
Global write: ini
Impact: low
Show code
ini = ini_file("mod_system_af_inspect_anim.ltx")
L7 🔴 global_write
Global write: particle
Impact: low
Show code
particle = particles_object("artefact\\effects\\af_idle_dist")
L9 🔴 global_write
Global write: containers
Impact: low
Show code
containers = {
L29 🔴 global_write
Global write: af_anim_item
Impact: low
Show code
af_anim_item = art .. "_hud"
L32 🔴 global_write
Global write: af_anim_item
Impact: low
Show code
af_anim_item = itm:section() .. "_hud"
L36 🔴 global_write
Global write: af_anim_item
Impact: low
Show code
af_anim_item = nil
L37 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = nil
L42 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = db.actor:active_slot()
L75 🔴 global_write
Global write: pos
Impact: low
Show code
pos = db.actor:bone_position("jaw_1"):add(device().cam_dir:mul(0.3))
L86 🔴 global_write
Global write: af_anim_item
Impact: low
Show code
af_anim_item = nil
L87 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = nil
L95 🔴 global_write
Global write: light
Impact: low
Show code
light = script_light()
L98 🔴 global_write
Global write: light_bright
Impact: low
Show code
light_bright = bright
L99 🔴 global_write
Global write: light_range
Impact: low
Show code
light_range = range
L115 🔴 global_write
Global write: light_flag
Impact: low
Show code
light_flag = true
L120 🔴 global_write
Global write: light_bright
Impact: low
Show code
light_bright = light_bright
L121 🔴 global_write
Global write: light_range
Impact: low
Show code
light_range = light_range
L143 🔴 global_write
Global write: light_flag
Impact: low
Show code
light_flag = false

custom_functor_autoinject.script

L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."*"..g_tostring(t))
L114 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(t).." {")
L116 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..string.rep(" ",#pos+6).."}")
L118 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(val))
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..g_tostring(t))
L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L145 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L152 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L154 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L158 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L321 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s", k, v.index)
L324 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s, max custom_functor reached", k, v.index)
L426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, processing queue")
L429 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, type %s", v.type)
L466 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid, min 1, max 10, your slot: %s", slot)
L481 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid min 1, max 10, your slot: %s", slot)
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[" .. k .. "] => ")

enhanced_animations.script

L1 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("disabled enhanced animations in favor of Redone FDDA")

item_device.script

L140 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe(
L157 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("item_device | %s | " .. txt, time_global(), ...)
L248 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("beef - key on-release")
L252 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("beef - brightness adjust")
L18 🔴 global_write
Global write: dev_consumption
Impact: low
Show code
dev_consumption = {} -- [sec] = {...} | Power consumption of device per stage
L19 🔴 global_write
Global write: dev_consumption_act
Impact: low
Show code
dev_consumption_act = {} -- [sec] = {...} | Power consumption of device per action (stage 2)
L20 🔴 global_write
Global write: dev_consumption_tot
Impact: low
Show code
dev_consumption_tot = {} -- [sec] = num | Total power consumption of a device
L21 🔴 global_write
Global write: dev_critical
Impact: low
Show code
dev_critical = {} -- [sec] = num | Power limit, devices go off when their power go below this value
L40 🔴 global_write
Global write: devices
Impact: low
Show code
devices = {}
L41 🔴 global_write
Global write: device_battery
Impact: low
Show code
device_battery = nil
L42 🔴 global_write
Global write: device_geiger
Impact: low
Show code
device_geiger = nil
L43 🔴 global_write
Global write: device_npc_pda
Impact: low
Show code
device_npc_pda = {}
L61 🔴 global_write
Global write: nv_state
Impact: low
Show code
nv_state = false -- make nv_state a global variable so we can access it from beefs_nvgs
L79 🔴 global_write
Global write: dosimeter_env_rads_mode
Impact: low
Show code
dosimeter_env_rads_mode = false
L94 🔴 global_write
Global write: device_battery
Impact: low
Show code
device_battery = ini_device:r_sec_ex("settings", "battery", "batteries_dead")
L95 🔴 global_write
Global write: device_geiger
Impact: low
Show code
device_geiger = ini_device:r_sec_ex("settings", "geiger", "detector_geiger")
L263 🔴 global_write
Global write: dosimeter_env_rads_mode
Impact: low
Show code
dosimeter_env_rads_mode = not dosimeter_env_rads_mode
L264 🔴 global_write
Global write: dosimeter_mode_string
Impact: low
Show code
dosimeter_mode_string = dosimeter_env_rads_mode and game.translate_string("st_environment_rads") or
L613 🔴 global_write
Global write: nv_state
Impact: low
Show code
nv_state = true
L619 🔴 global_write
Global write: nv_state
Impact: low
Show code
nv_state = false

lam2.script

L103 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Add action called. Action tag is %s", action.tag or "nil")
L115 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Add action first called. Action tag is %s", action.tag or "nil")
L128 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Push action called. Action tag is %s", action.tag or "nil")
L151 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Stop all actions function called")
L166 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Abort function called")
L213 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Get action with tag called: %s is found", tag)
L218 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Get action with tag called: %s is found", tag)
L222 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Get action with tag called: %s is nil", tag)
L244 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Trying to get next action")
L251 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Action requires free hand: %s", next_action.hands)
L253 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Hands are busy, try to free them")
L260 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Get new action with tag %s, setting it in", next_action.tag and next_action.tag or "nil")
L263 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] No actions left")
L272 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] LAM2 Update: Action count %s | Current action tag %s | Current action name %s",
L298 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LIZ.LAM2] " .. message, ...)
L443 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Play animation state update: animation time %s | duration %s", time, self.duration)
L483 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Hide weapons state: on enter")
L495 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Hide weapons state: on enter: hide detector")
L500 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Hide weapons state: on enter: hide weapon")
L502 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Hide weapons state: on enter result: cur_slot %s | det_active %s | self.hand %s", cur_slot, det_active, self.hand)
L507 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] On execute: wpn %s | det %s | self.hand %s", wpn, det, self.hand)
L526 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Restore weapons state")
L531 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Restore weapons state: restore body search: inventory gui npc id is %s", inv_gui.npc_id)
L540 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Restore weapons state: try open backpack")
L546 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Restore weapons state: show detector")
L552 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Restore weapons state: show weapon")
L569 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[CORE] Stop LAM2 State: on actions left, shutting down...")
L10 🔴 global_write
Global write: cur_slot
Impact: low
Show code
cur_slot = nil
L11 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = nil
L12 🔴 global_write
Global write: snd_obj
Impact: low
Show code
snd_obj = nil
L13 🔴 global_write
Global write: states
Impact: low
Show code
states = { running = 0, success = 1, fail = 2 }
L39 🔴 global_write
Global write: cur_slot
Impact: low
Show code
cur_slot = nil
L40 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = nil
L184 🔴 global_write
Global write: cur_slot
Impact: low
Show code
cur_slot = nil
L185 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = nil
L227 🔴 global_write
Global write: result
Impact: low
Show code
result = list_get_next_action() and true or false
L486 🔴 global_write
Global write: cur_slot
Impact: low
Show code
cur_slot = wpn
L487 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = det
L489 🔴 global_write
Global write: cur_slot
Impact: low
Show code
if self.hand == 1 then cur_slot = nil end
L490 🔴 global_write
Global write: det_active
Impact: low
Show code
if self.hand == 0 then det_active = nil end
L549 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = nil
L554 🔴 global_write
Global write: cur_slot
Impact: low
Show code
cur_slot = nil

liz_fdda_input_manager.script

L81 🔴 global_write
Global write: is_input_disabled
Impact: low
Show code
is_input_disabled = false

liz_fdda_redone_animation_mutator.script

L11 🔴 global_write
Global write: section
Impact: low
Show code
section = mutator[2](section)

liz_fdda_redone_backpack.script

L2 🔴 global_write
Global write: is_ui_inventory_open
Impact: low
Show code
is_ui_inventory_open = false
L47 🔴 global_write
Global write: is_ui_inventory_open
Impact: low
Show code
is_ui_inventory_open = true
L55 🔴 global_write
Global write: is_ui_inventory_open
Impact: low
Show code
is_ui_inventory_open = false

liz_fdda_redone_body_search.script

L77 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
lam2.log("[BODY SEARCH] haruka patch timed event called")
L88 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
lam2.log("[BODY SEARCH] event on inventory open called")
L89 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
lam2.log("[BODY SEARCH] skill add variable: %s | npc variable: %s", is_haruka_scav_skill_add, haruka_scav_skill_npc and "true" or "nil")
L164 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
lam2.log("[BODY SEARCH] Start check: %s", lam2.get_action_with_tag("body_search"))
L4 🔴 global_write
Global write: is_looting
Impact: low
Show code
is_looting = false
L66 🔴 global_write
Global write: originalCRI
Impact: low
Show code
originalCRI = haru_skills.CreateReleaseItem
L103 🔴 global_write
Global write: wpn
Impact: low
Show code
wpn = active_slot ~= 0 and active_slot ~= 15 -- support for wpn_hands
L104 🔴 global_write
Global write: detector
Impact: low
Show code
detector = db.actor:active_detector()

liz_fdda_redone_consumables.script

L65 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("detector pressed")
L75 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
lam2.log("[CONSUMABLES] Item play fx fucntion called: %s", item)
L134 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
lam2.log("[CONSUMABLES] actor on item before use EOF. flag state is: %s", flags.ret_value)
L183 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
lam2.log("[CONSUMABLES] Self.tm: %s | duration: %s", self.tm, self.duration)
L311 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
lam2.log("[CONSUMABLES] FDDA item speed is: %s", self.speed)
L340 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
lam2.log("[CONSUMABLES] Animation time: %s | duration: %s", time, self.duration)
L99 🔴 global_write
Global write: originalAOIBU
Impact: low
Show code
originalAOIBU = itms_manager.actor_on_item_before_use
L100 🔴 global_write
Global write: modifiedAOIBU
Impact: low
Show code
modifiedAOIBU = function (obj, flags)
L345 🔴 global_write
Global write: callback_result
Impact: low
Show code
callback_result = self:on_execute(time)

liz_fdda_redone_headgear_animations.script

L282 🟢 repeated_item_obj_equip_section()
item_obj_equip:section() called 3x in ta_equip
Impact: low
Show code
Cache item_obj_equip:section() result
L293 🟢 repeated_item_obj_uneqiup_section()
item_obj_uneqiup:section() called 4x in ta_equip
Impact: low
Show code
Cache item_obj_uneqiup:section() result

liz_fdda_redone_item_pickup.script

L166 🔴 global_write
Global write: att_hand
Impact: low
Show code
att_hand = db.actor:add_attachment("liz_pickup", world_model)

liz_fdda_redone_mutant_skinning.script

L77 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
lam2.log("[MUTANT SKINNING] Monster part taken. anm section name: %s", anim_sec_name) --will check how many times it will be called
L132 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
lam2.log("[MUTANT SKINNING] Play blood fx called on object: %s", target:id())
L263 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
lam2.log("[MUTANT SKINNING] Knife Degrade applied")

rax_persistent_highlight.script

L44 🔴 global_write
Global write: persistant_highlight
Impact: low
Show code
persistant_highlight = self:GetPersistantHighlight()
L47 🔴 global_write
Global write: color
Impact: low
Show code
color = main_clr and change_alpha(persistant_highlight, 255) or persistant_highlight -- if main_clr set the alpha to max for reasons.
L55 🔴 global_write
Global write: clr_cache
Impact: low
Show code
clr_cache = {}
L62 🔴 global_write
Global write: b
Impact: low
Show code
b = bit_band(clr, 255)
L63 🔴 global_write
Global write: g
Impact: low
Show code
g = bit_band(bit.rshift(clr, 8), 255)
L64 🔴 global_write
Global write: r
Impact: low
Show code
r = bit_band(bit.rshift(clr, 16), 255)

z_beefs_nvgs.script

L162 🔴 global_write
Global write: play_animation
Impact: low
Show code
play_animation = false
L165 🔴 global_write
Global write: play_animation
Impact: low
Show code
play_animation = false
L540 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()

z_liz_fdda_redone_mask_clean.script

L14 🟢 repeated_itm_active_section()
itm_active:section() called 3x in <global>
Impact: low
Show code
Cache itm_active:section() result

zz_liz_fdda_redone_outfit_patches.script

L117 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
lam2.log("[PATCH ANIMATION] On Skip called: Patch action done: %s", self.patch_action_done)
L55 🔴 global_write
Global write: InventoryClick
Impact: low
Show code
InventoryClick = ui_inventory.UIInventory.On_CC_Mouse1

zzzz_liz_fdda_redone_ui_inventory.script

L95 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
lam2.log("FFUIINV")
L26 🔴 global_write
Global write: obj
Impact: low
Show code
obj = self:CheckItem(obj, "Action_Equip")
L53 🔴 global_write
Global write: obj
Impact: low
Show code
obj = self:CheckItem(obj, "Action_UnEquip")
L74 🔴 global_write
Global write: obj
Impact: low
Show code
obj = self:CheckItem(obj, "Action_Drop")

448- New Player Experience - strangerism

9 files (🟢1 🟡0 🔴35 🔵11)

check_anim.script

L1 🔴 global_write
Global write: anim_playing
Impact: low
Show code
anim_playing = false
L3 🔴 global_write
Global write: anim_playing
Impact: low
Show code
function anim_start_func() anim_playing = true end
L5 🔴 global_write
Global write: anim_playing
Impact: low
Show code
function anim_stop_func() anim_playing = false end

npe_dialog.script

L105 🔴 global_write
Global write: Sounds
Impact: low
Show code
Sounds = {

npe_dialog_codec.script

L13 🔴 global_write
Global write: Sounds
Impact: low
Show code
Sounds = npe_dialog.Sounds
L18 🔴 global_write
Global write: Runner
Impact: low
Show code
Runner ={
L325 🔴 global_write
Global write: clr_cache
Impact: low
Show code
clr_cache = {}
L332 🔴 global_write
Global write: b
Impact: low
Show code
b = bit_band(clr, 255)
L333 🔴 global_write
Global write: g
Impact: low
Show code
g = bit_band(bit.rshift(clr, 8), 255)
L334 🔴 global_write
Global write: r
Impact: low
Show code
r = bit_band(bit.rshift(clr, 16), 255)
L362 🔴 global_write
Global write: Portraits
Impact: low
Show code
Portraits = {

npe_dialog_tutorial.script

L12 🔴 global_write
Global write: unsquish_ratio
Impact: low
Show code
unsquish_ratio = 1
L13 🔴 global_write
Global write: token_handler
Impact: low
Show code
token_handler = parse_colors or parse_vanilla
L19 🔴 global_write
Global write: unsquish_ratio
Impact: low
Show code
unsquish_ratio = (device().height / device().width) / (768 / 1024)
L43 🔴 global_write
Global write: Sounds
Impact: low
Show code
Sounds = npe_dialog.Sounds

npe_director.script

L300 🟢 repeated_obj_section()
obj:section() called 3x in iterate_nearests
Impact: low
Show code
Cache obj:section() result
L1114 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(" Settings:")
L1123 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent .. '' .. key .. ':')
L1126 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent .. key .. ': ' .. tostring(value))
L1244 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("$ NPE Save State")
L1258 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("$ NPE Load State")
L97 🔴 global_write
Global write: Settings
Impact: low
Show code
Settings = {
L108 🔴 global_write
Global write: RegisteredCustomCallbacks
Impact: low
Show code
RegisteredCustomCallbacks = {}
L111 🔴 global_write
Global write: Dialog_in_use
Impact: low
Show code
Dialog_in_use = false
L112 🔴 global_write
Global write: Dialog_name
Impact: low
Show code
Dialog_name = nil
L706 🔴 global_write
Global write: Dialog_name
Impact: low
Show code
Dialog_name = dialog
L707 🔴 global_write
Global write: Dialog_in_use
Impact: low
Show code
Dialog_in_use = true
L710 🔴 global_write
Global write: Dialog_name
Impact: low
Show code
Dialog_name = nil
L711 🔴 global_write
Global write: Dialog_in_use
Impact: low
Show code
Dialog_in_use = false
L1104 🔴 global_write
Global write: Dialog_in_use
Impact: low
Show code
Dialog_in_use = false
L1105 🔴 global_write
Global write: Dialog_name
Impact: low
Show code
Dialog_name = nil

npe_events.script

L179 🔴 global_write
Global write: Last_npc_talked
Impact: low
Show code
Last_npc_talked = nil

npe_logging.script

L43 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if select('#', ...) ~= 0 then printf(string.format(msg,...))
L44 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
else printf(msg)
L107 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Log level: %s", tostring(LEVEL))
L109 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("CONF enabled: %s", tostring(CONF.enabled))
L52 🔴 global_write
Global write: Printlog_npe
Impact: low
Show code
Printlog_npe = printlog
L53 🔴 global_write
Global write: Printdebug_npe
Impact: low
Show code
Printdebug_npe = printdebug
L58 🔴 global_write
Global write: Printtrace_npe
Impact: low
Show code
Printtrace_npe = printtrace
L74 🔴 global_write
Global write: Print_table_npe
Impact: low
Show code
Print_table_npe = print_table
L90 🔴 global_write
Global write: Debug_table_npe
Impact: low
Show code
Debug_table_npe = debug_table
L102 🔴 global_write
Global write: Print_functor_npe
Impact: low
Show code
Print_functor_npe = print_functor

npe_logging_mcm.script

L11 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "logs", sh=true, text="ui_mcm_npe_logs", gr ={

npe_mcm.script

L43 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("//[NPE][MCM] npe_get_setting %s %s", module_name, var_name)
L52 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("-[NPE][MCM] npe_set_setting %s %s", module_name, var_name)
L1 🔴 global_write
Global write: npe_default_settings
Impact: low
Show code
npe_default_settings = {
L20 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "general", sh=true, text="ui_mcm_npe_general", gr ={

449- Dynamic Aspect Ratio Tweaks (fixes for widescreen) - bellyillish

3 files (🟢0 🟡0 🔴14 🔵6)

dart_core.script

L5 🔴 global_write
Global write: config
Impact: low
Show code
config = {logLimit = 10, safezone = 0}
L8 🔴 global_write
Global write: state
Impact: low
Show code
state = {}
L11 🔴 global_write
Global write: baseWidth
Impact: low
Show code
baseWidth = 1024
L12 🔴 global_write
Global write: baseHeight
Impact: low
Show code
baseHeight = 768
L13 🔴 global_write
Global write: ratio4x3
Impact: low
Show code
ratio4x3 = 4 / 3
L14 🔴 global_write
Global write: ratio16x9
Impact: low
Show code
ratio16x9 = 16 / 9
L15 🔴 global_write
Global write: ratio21x9
Impact: low
Show code
ratio21x9 = 21 / 9
L16 🔴 global_write
Global write: ratio32x9
Impact: low
Show code
ratio32x9 = 32 / 9
L19 🔴 global_write
Global write: screenBounds
Impact: low
Show code
screenBounds = {
L27 🔴 global_write
Global write: defaultScaleSettings
Impact: low
Show code
defaultScaleSettings = {
L37 🔴 global_write
Global write: xmlFileSuffixes
Impact: low
Show code
xmlFileSuffixes = {
L44 🔴 global_write
Global write: xmlAspectRatios
Impact: low
Show code
xmlAspectRatios = {
L49 🔴 global_write
Global write: xmlFileReplacements
Impact: low
Show code
xmlFileReplacements = {
L55 🔴 global_write
Global write: scopeFillerTemplate
Impact: low
Show code
scopeFillerTemplate = [[

dart_module.script

L116 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Replacing %s with %s", path, replacement)
L119 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Done with %s", path)
L122 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Unable to replace %s with %s", path, replacement)
L139 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Parsed %s (%s) in %.3fs", path, ratioLabel, os.clock() - clock)

modxml_z_dart_markers.script

L66 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Removing duplicate marker %s", name)
L126 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
return log("Disabled because the 3D PDA is not being used")

45- Stealth Overhaul - xcvb

5 files (🟢1 🟡0 🔴13 🔵20)

camp_lum.script

L3 🔴 global_write
Global write: luminocity_inc
Impact: low
Show code
luminocity_inc = 0
L20 🔴 global_write
Global write: luminocity_inc
Impact: low
Show code
luminocity_inc = 0.45
L22 🔴 global_write
Global write: luminocity_inc
Impact: low
Show code
luminocity_inc = 0.15
L24 🔴 global_write
Global write: luminocity_inc
Impact: low
Show code
luminocity_inc = 0

stealth_mcm.script

L20 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "stealth",sh=true ,gr={

visual_memory_manager.script

L237 🟢 repeated_outfit_section()
outfit:section() called 3x in slot_in_out
Impact: low
Show code
Cache outfit:section() result
L164 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('---------------------------------------------------------------')
L165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Weather is: " .. (wthrs))
L166 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1. Luminocity ---------- %s", Luminocity)
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1.a) luminocity --------- %s", luminocity)
L168 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1.b) lights_lum() ------- %s", lights_lum())
L169 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1.c) who:get_lum() ---- %s", who:get_luminocity())
L170 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("2. Velocity ------------- %s", Velocity)
L171 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("3. dist_original --------- %s", distance)
L172 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("4. weight&outfit ------- %s", weight)
L173 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("5. crouch ------------- %s", crouch)
L174 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.a) shot_mult --------- %s", shot_mult)
L175 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.b) danger ------------ %s", danger_mult)
L176 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.c) camo ------------- %s", camo_x)
L177 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.d) ai scheme --------- %s", scheme_mult)
L178 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.e) get_camo_k ------ %s", get_camo_k)
L179 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.f) jacketmult --------- %s", jacketmult)
L180 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("7. memory ------------- %s", memory_factor)
L181 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("8. Step incr --- %s", step_incr)
L133 🔴 global_write
Global write: actor_marked
Impact: low
Show code
actor_marked = 50000
L135 🔴 global_write
Global write: actor_marked
Impact: low
Show code
actor_marked = 0

xr_combat_ignore.script

L438 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_combat_ignore: reset_generic_scheme storage is nil! npc=%s scheme=%s section=%s",npc and npc:name(),scheme,section)
L7 🔴 global_write
Global write: fighting_with_actor_npcs
Impact: low
Show code
fighting_with_actor_npcs = {}
L8 🔴 global_write
Global write: safe_zone_npcs
Impact: low
Show code
safe_zone_npcs = {}

xr_danger.script

L905 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_danger: no action id p[%s]",i)
L8 🔴 global_write
Global write: evaid
Impact: low
Show code
evaid = 188113
L9 🔴 global_write
Global write: actid
Impact: low
Show code
actid = 188113
L16 🔴 global_write
Global write: DangerInertion
Impact: low
Show code
DangerInertion = utils_data.collect_section(ini,"danger_inertion",true)
L17 🔴 global_write
Global write: DangerIgnore
Impact: low
Show code
DangerIgnore = utils_data.collect_section(ini,"danger_object",true)

450- Useful Idiots - bellyillish

1 file (🟢0 🟡0 🔴2 🔵0)

idiots_ui.script

L803 🔴 global_write
Global write: onUpdateIndexers
Impact: low
Show code
onUpdateIndexers = UTIL.throttle(function()
L812 🔴 global_write
Global write: onUpdateButtons
Impact: low
Show code
onUpdateButtons = UTIL.throttle(function()

452- Interaction Dot Marks - Catspaw

18 files (🟢2 🟡1 🔴148 🔵124)

dotmarks_hideout_furniture_mcm.script

L38 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if logtext and (ui_hud_dotmarks and ui_hud_dotmarks.debuglogs) then printf(logprefix .. logtext, ...) end
L80 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[%s][dotmarks_hideout_furniture] Suspending DotMarks operation for Hideout Furniture placement mode", time_global())
L83 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[%s][dotmarks_hideout_furniture] Placement mode over, resuming normal DotMarks operation", time_global())
L97 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("dotmarks_hideout_furniture.script is injecting blank functors into dotmarks_main.cfg.scan")
L150 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[%s][dotmarks_on_new_object_scan] Hideout Furniture patch is checking %s", time_global(), nameid(obj))
L287 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[%s][dotmarks_on_setup_pri_interact] Hideout Furniture patch is checking for a custom primary action on %s", time_global(), mark.name)
L290 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Setting up primary primary interaction as a placeable radio")
L295 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Setting primary interaction text for placeable light")
L299 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Setting up primary interaction as a placeable fan")
L303 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Setting up primary interaction as a placeable bed")
L307 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Setting up primary interaction as a placeable stove")
L311 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Setting up primary interaction text for placeable piano")
L315 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Primary pickup prompt is disabled for HF props")
L320 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Setting up default interaction text for a static prop")
L323 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("No customization found, returning mark unaltered")
L337 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[%s][dotmarks_on_setup_sec_interact] Hideout Furniture patch is setting up the secondary action for %s", time_global(), mark.name)
L355 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[%s][dotmarks_on_manual_interact_release] Hideout Furniture patch is checking whether to handle interaction with %s | primary take enabled: %s", time_global(), mark.name, cfg.hf_add_primary_pickup)
L357 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("No special handling for HF stashes")
L360 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("%s has a custom primary interaction functor, executing it now", mark.name)
L363 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Triggering take animation and notifying HF to pick up %s when complete", mark.name)
L29 🔴 global_write
Global write: placement_mode
Impact: low
Show code
placement_mode = false
L31 🔴 global_write
Global write: resume_delay
Impact: low
Show code
resume_delay = 0.25
L33 🔴 global_write
Global write: delaying
Impact: low
Show code
delaying = false
L73 🔴 global_write
Global write: placement_mode
Impact: low
Show code
placement_mode = placeable_furniture.in_placing_state()
L87 🔴 global_write
Global write: delaying
Impact: low
Show code
delaying = false
L107 🔴 global_write
Global write: mcm_menu_additions
Impact: low
Show code
mcm_menu_additions = {

dotmarks_main.script

L175 🟢 repeated_obj_section()
obj:section() called 27x in <global>
Impact: low
Show code
Cache obj:section() result
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "dotmarks_main"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.4.0"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250721.1
L76 🔴 global_write
Global write: dotmarks_config_file
Impact: low
Show code
dotmarks_config_file = "scripts\\dotmarks_defaults.ltx"
L82 🔴 global_write
Global write: cfg
Impact: low
Show code
cfg = nil
L1028 🔴 global_write
Global write: r
Impact: low
Show code
if r == "" then r = nil end
L1329 🔴 global_write
Global write: cfg
Impact: low
Show code
cfg = dup_table(base_config)
L1486 🔴 global_write
Global write: fonts
Impact: low
Show code
fonts = {

dotmarks_mcm.script

L74 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = log and printf("[DotMarks] MCM version string: %s | major %s | minor %s | patch %s | functors exist: %s", MCM_VERSION, maj, min, pat, UI_FUNCTORS)
L77 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_ = log and printf(pre.." MCM version check: %s", inv and "FAILED" or "Passed")
L21 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "dotmarks_mcm"
L22 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L37 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = dotmarks_main.script_version or "ersion not found!"
L39 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = tostring(dotmarks_main.release_date) or "date not found! Was ui_hud_dotmarks.script overwritten or disabled?"
L47 🔴 global_write
Global write: color_tokens
Impact: low
Show code
color_tokens = {
L498 🔴 global_write
Global write: tbl
Impact: low
Show code
tbl = {}
L736 🔴 global_write
Global write: color_tokens
Impact: low
Show code
color_tokens = utils_catspaw_text.get_color_tokens() or color_tokens
L744 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = "dotmarks", gr = {

modxml_maingame_no_item_icons.script

L55 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = DEV_DEBUG and printf("Processing DXML in %s for %s", xml_file_name, script_name)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "modxml_maingame16_no_item_icons"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.0"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250305

modxml_tutorial_hooks.script

L192 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_ = DEV_DEBUG and printf("Processing DXML functor hooks in %s for %s", xml_file_name, script_name)
L221 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[TutorialMonitor] Began tutorial state %s at %s", tut, time_global())
L235 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[TutorialMonitor] Ended tutorial state %s at %s", tut, time_global())
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "modxml_tutorial_hooks"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "2.0"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250410
L99 🔴 global_write
Global write: static_xmlfile
Impact: low
Show code
static_xmlfile = "maingame.xml"
L100 🔴 global_write
Global write: static_xmlnode
Impact: low
Show code
static_xmlnode = "quick_info"
L101 🔴 global_write
Global write: replacements_enabled
Impact: low
Show code
replacements_enabled = true -- killswitch
L102 🔴 global_write
Global write: callbacks_enabled
Impact: low
Show code
callbacks_enabled = true -- killswitch
L103 🔴 global_write
Global write: UIStaticTutorials
Impact: low
Show code
UIStaticTutorials = nil
L104 🔴 global_write
Global write: monitors
Impact: low
Show code
monitors = {}
L105 🔴 global_write
Global write: exceptions
Impact: low
Show code
exceptions = {
L256 🔴 global_write
Global write: UIStaticTutorials
Impact: low
Show code
UIStaticTutorials = xml:InitTextWnd(static_xmlnode, maingameui)

ui_hud_dotmarks.script

L4634 🟢 repeated_obj_section()
obj:section() called 5x in replace_invitem_with_bomb
Impact: low
Show code
Cache obj:section() result
L5810 🟡 string_concat_in_loop
String concat in loop: mcm_path = mcm_path .. x
Impact: critical
Show code
mcm_path = mcm_path .. k
L70 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Interaction Dot Marks %s (rel %s) began initialization at %s", script_version or "(version not found)", release_date or "missing", time_global())
L94 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return debug_dump and logtext and printf(logprefix .. logtext, ...)
L124 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s [%s][%s] Trace: [%s][%s] %s", logprefix, ts, i, fn, ev, val or "")
L130 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logprefix.."Dumping runtime metrics for %s", script_name)
L136 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[%s][%s] [%s][%s] %s", t, i, f, e, v or "")
L252 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
local _ = (not hide) and dump("[%s][%s] Visibility and UI checks for %s | dist %s", mark.id, now, mark.name or mark.tutorial or mark.text, dist)
L297 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("Checking whether to show pri interact prompt for %s | targeted %s | in_range %s", mark.name, targeted, in_range)
L408 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("Final primary interact state: %s | %s", show_pri, nameid(mark.name, mark.id))
L418 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("Secondary interactions disabled via config, hiding UI for %s", mark.name)
L421 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("No ammo in weapon, hiding secondary interact")
L424 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("No battery or charge in device, hiding secondary interact")
L428 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("No items in container, no need to show secondary interact")
L432 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("Checking whether to show alt interact prompt for %s | show_pri %s | targeted %s", mark.name, show_pri, targeted)
L440 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("[%s][%s] Done with both prompt checks:\n* final state: %s | show_pri %s | show_sec %s | forced %s", time_global(), mark.name, prompts_shown, show_pri, show_sec, forced_on)
L459 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("Mark is hidden (%s) clearing texture", hide_reason or "no reason set")
L522 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Condition %s loaded for degraded world item [%s] from loot spot [%s]", cond, nameid(obj), name)
L597 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[%s][UIHUDMarker:ActiveSwap] for %s: %s", time_global(), self.name or self.tutorial, state)
L1037 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("get_ied_text: mode %s | timer %s | str %s | text %s", cfg.mine_mode, timer, iedstr, iedtext)
L1101 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Suspending marker for %s", mark.name or mark.tutorial)
L1197 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("item_pickup_intercept fired | ret: %s | force: %s", flags and flags.ret_value, flags and flags.force)
L1229 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("flags.ret_value is true, setting to false")
L1243 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("flags.ret_value was false, returning object")
L1662 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("InteractPrompt:on_before_key_press | key %s | bind %s", key, bind)
L1684 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[InteractPrompt] Passed args:")
L1685 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
for k,v in pairs(args) do dump("|| %s = %s", k, v) end
L2482 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[%s][InteractPrompt:on_key_hold] Beginning hold of key %s", now, self.args.key)
L2502 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending callback dotmarks_on_before_marker_init for %s", nameid(get_mark_name(id), id))
L2875 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending callback dotmarks_on_prompt_visibility_change for prompt %s", self.uid)
L2887 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending callback dotmarks_on_before_prompt_visibility_change for prompt %s | %s", self.uid, nameid(get_mark_name(self.args.id), self.args.id))
L3072 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("InteractPrompt:CheckForWoundedStalkers found no health items")
L3246 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("current target: %s | L %s | T %s", locked_id or targeted_id, locked_id, targeted_id)
L3531 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending callback dotmarks_on_new_object_scan for %s", nameid(obj))
L3635 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending callback dotmarks_on_setup_pri_interact for %s", nameid(mark.name, mark.id))
L3671 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending callback dotmarks_on_setup_sec_interact for %s | verb_secondary: %s\n"..
L3698 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up unload_and_take_ammo secondary action")
L3715 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up take_and_inspect secondary action for artefact")
L3722 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up plant_bomb secondary action")
L3732 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up help_wounded_stalker secondary action")
L3740 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up pick_up_backpack secondary action")
L3745 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up trigger_autoloot secondary action")
L3753 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up take_all_from_box secondary action")
L3763 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up take_and_read secondary action")
L3773 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up unpack_batteries secondary action")
L3783 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up take_and_use secondary action for tool")
L3792 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up take_and_use secondary action for consumable")
L3806 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up deploy_backpack secondary action")
L3816 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Falling back to generic usage secondary action")
L4026 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending dotmarks_on_marker_init for %s", nameid(args.name, id))
L4127 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending dotmarks_on_before_marker_init for %s", nameid(args.name, id))
L4172 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[%s] update_targeted_object: no longer targeting %s", time_global(), nameid(target))
L4182 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[%s] update_targeted_object: targeted_id is now %s (%s) | method %s", time_global(), targeted_id, target and target:name(), method_txt)
L4269 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("FDDAR found No action with item_pickup tag")
L4274 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("FDDAR has an active body search animation, aborting take")
L4958 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Executing func_pickup for marker %s", mark.name)
L5135 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("State monitor for %s: %s", k, state_monitor(k))
L5219 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[%s] Hint filter update%s", time_global(), text and (" - text is: "..text) or ", no text")
L5233 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[Targets] Lookat curr: %s last %s | Pickup curr: %s last %s | Xhair curr: %s last %s", hmm.curr_target, hmm.last_target, hmm.curr_pickup, hmm.last_pickup, hmm.curr_crosshair, hmm.last_crosshair)
L5243 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("")
L5396 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending callback dotmarks_on_manual_interact_release | %s | %s | %s", id, nameid(mark and mark.name, id), flags and flags.ret_value)
L5399 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Further handling aborted by callback")
L5405 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[%s] No completed hold action, item pickup should occur", time_global())
L5464 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[%s] use key released%s | set at %s | dur held %s | hold time %s", time_global(), action_text, cfg.use_released, dur, time)
L5487 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Actor just took %s, unregistering scanned object", nameid(obj, id))
L5771 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = log and printf("Debug logging enabled: %s | verbose %s | debug_dump %s | DEV_DEBUG %s", debuglogs, verbose, debug_dump, DEV_DEBUG)
L5779 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_=log and printf("No previous DotMarks version information found in MCM, setting to current version")
L5785 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_=log and printf(vtext, last_version, last_release)
L5791 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Existing release %s is older than %s, adding opts to reset table", last_release, rel)
L5793 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Will reset opt %s", k)
L5907 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Storing found stash data for %s", nameid(v.name, id))
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "ui_hud_dotmarks"
L73 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[DotMarks] "
L74 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L75 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L76 🔴 global_write
Global write: debug_dump
Impact: low
Show code
debug_dump = false
L103 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L104 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L105 🔴 global_write
Global write: debug_dump
Impact: low
Show code
if (dump_en ~= nil) then debug_dump = dump_en end
L160 🔴 global_write
Global write: valid_mcm_version
Impact: low
Show code
valid_mcm_version = dotmarks_mcm.valid_mcm_version
L161 🔴 global_write
Global write: targeted_id
Impact: low
Show code
targeted_id, locked_id = nil
L161 🔴 global_write
Global write: locked_id
Impact: low
Show code
targeted_id, locked_id = nil
L162 🔴 global_write
Global write: scanning
Impact: low
Show code
scanning = false
L163 🔴 global_write
Global write: pickup_index
Impact: low
Show code
pickup_index = {}
L164 🔴 global_write
Global write: nearby_pickups
Impact: low
Show code
nearby_pickups = {}
L165 🔴 global_write
Global write: active_anims
Impact: low
Show code
active_anims = {}
L944 🔴 global_write
Global write: eased
Impact: low
Show code
eased = easing.easeOutElastic(cycle)
L1148 🔴 global_write
Global write: scanning
Impact: low
Show code
scanning = false
L1158 🔴 global_write
Global write: scanning
Impact: low
Show code
scanning = true
L2269 🔴 global_write
Global write: cls
Impact: low
Show code
cls = obj and obj:clsid()
L3398 🔴 global_write
Global write: cfg
Impact: low
Show code
cfg = cfg or {}
L3473 🔴 global_write
Global write: scanning
Impact: low
Show code
scanning = true
L3481 🔴 global_write
Global write: scanning
Impact: low
Show code
scanning = false
L3857 🔴 global_write
Global write: locked_id
Impact: low
Show code
locked_id = nil
L3860 🔴 global_write
Global write: targeted_id
Impact: low
Show code
targeted_id = nil
L4214 🔴 global_write
Global write: targeted_id
Impact: low
Show code
targeted_id = cfg.racked_items[id]
L4217 🔴 global_write
Global write: targeted_id
Impact: low
Show code
targeted_id = id
L4225 🔴 global_write
Global write: targeted_id
Impact: low
Show code
targeted_id = nil
L4230 🔴 global_write
Global write: targeted_id
Impact: low
Show code
targeted_id = best_hovered_id()
L4825 🔴 global_write
Global write: se_mag
Impact: low
Show code
se_mag = alife_create_item(mag_data.section, db.actor)
L5067 🔴 global_write
Global write: locked_id
Impact: low
Show code
locked_id = nearby_pickups[ind_new]
L5074 🔴 global_write
Global write: locked_id
Impact: low
Show code
locked_id = nil
L5076 🔴 global_write
Global write: nearby_pickups
Impact: low
Show code
nearby_pickups = {}
L5077 🔴 global_write
Global write: pickup_index
Impact: low
Show code
pickup_index = {}
L5082 🔴 global_write
Global write: actor_moving
Impact: low
Show code
actor_moving = (level.actor_moving_state() > 0)
L5088 🔴 global_write
Global write: actor_moving
Impact: low
Show code
actor_moving = dist > (cfg.actor_move_threshold or 0.1)
L5768 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = get_mcm("dotmarks/dmarkadv/debuglogs", debuglogs)
L5769 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = get_mcm("dotmarks/dmarkadv/verbose", verbose)
L5915 🔴 global_write
Global write: valid_mcm_version
Impact: low
Show code
valid_mcm_version = dotmarks_mcm and dotmarks_mcm.valid_mcm_version
L5923 🔴 global_write
Global write: mags_installed
Impact: low
Show code
mags_installed = (magazines and magazine_binder)
L5954 🔴 global_write
Global write: cfg
Impact: low
Show code
cfg = nil
L5959 🔴 global_write
Global write: cfg
Impact: low
Show code
cfg = nil

ui_mcm_argb_input.script

L198 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Setting up colorblind control")
L25 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "ui_mcm_argb_input"
L26 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "2.1.1"
L27 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250428

utils_catspaw_common.script

L47 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((caller.logprefix or logprefix) .. logtext, ...)
L56 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((caller.logprefix or logprefix) .. (caller.vprefix or vprefix) .. logtext, ...)
L66 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((raw_prefix or "") .. logtext, ...)
L133 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "! Modded exes not detected! No extra features available.\n" ..
L139 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logdiv .. "@ Modded exes %s feature support (GAMMA: %s)", exes_version, using_gamma_modpack)
L141 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s %s (added %s): %s", v.enabled and "-" or "!", v.name, v.ver, v.func())
L143 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logdiv)
L499 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! ERROR: no INI filename passed to %s.load_file_data%s, cannot continue!", script_name, args.called_by and (" by " ..args.called_by) or "")
L504 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local function dl(s, ...) return log and printf(s, ...) end
L630 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_common"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.15"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250530
L73 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L74 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L75 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[CatsyUtils] " -- gets prefixed, optional
L76 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = "[V] " -- gets added to verbose log entries, optional
L94 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L95 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L101 🔴 global_write
Global write: logdiv
Impact: low
Show code
logdiv = "~ ------------------------------------------------------------------------\n"
L107 🔴 global_write
Global write: engine_features
Impact: low
Show code
engine_features = {
L119 🔴 global_write
Global write: using_gamma_modpack
Impact: low
Show code
using_gamma_modpack = game_version:find("G.A.M.M.A.") and true or false
L121 🔴 global_write
Global write: using_modded_exes
Impact: low
Show code
using_modded_exes = using_gamma_modpack or exes_version and true or false
L246 🔴 global_write
Global write: easing
Impact: low
Show code
easing = {

utils_catspaw_hudmarks.script

L281 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[utils_catspaw_hudmarks.fade_by_dist] Fading elements by dist %s:\n"..
L1427 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = debug_dump and printf("[UIHUDMarker:Update][%s][%s] Killswitch checks passed", self.mark_id, time_global())
L1529 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ ========================================================================")
L1530 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[UIHUDMarker:Update][First update for ID %s]%s", self.mark_id, typedata)
L1531 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_ = self.custom_argb and printf("Found custom_argb: %s,%s,%s,%s", self.custom_argb.a, self.custom_argb.r, self.custom_argb.g, self.custom_argb.b)
L1532 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("HUD Marker %s (%s) | obj %s - online: %s\n* Level: %s | Dist: %sm%s",
L1535 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ ========================================================================")
L1695 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_hudmarks"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.3"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250717
L54 🔴 global_write
Global write: debug_dump
Impact: low
Show code
debug_dump = false -- flag used to dump one-time detailed info for certain things
L55 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L56 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L57 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = ""
L58 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = ""
L74 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L75 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L76 🔴 global_write
Global write: debug_dump
Impact: low
Show code
if (debug_dump ~= nil) then debug_dump = dump_en end
L118 🔴 global_write
Global write: marker_presets
Impact: low
Show code
marker_presets = {

utils_catspaw_mapspots.script

L281 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_mapspots"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.1"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250406
L35 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[Catsy:Mapspots] "
L36 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L37 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L38 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = ""
L54 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L55 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L66 🔴 global_write
Global write: task_mapspot_whitelist
Impact: low
Show code
task_mapspot_whitelist = {
L73 🔴 global_write
Global write: mapspot_data_cache
Impact: low
Show code
mapspot_data_cache = {}
L221 🔴 global_write
Global write: mapspot_data_cache
Impact: low
Show code
mapspot_data_cache = {}

utils_catspaw_taskmonitor.script

L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_taskmonitor"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.0"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250324

utils_catspaw_text.script

L797 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_text"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.11"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250717
L37 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L38 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L39 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[CatsyText] "
L40 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = ""
L56 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L57 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L82 🔴 global_write
Global write: tokens_generated
Impact: low
Show code
tokens_generated = false
L297 🔴 global_write
Global write: state_tokens
Impact: low
Show code
state_tokens = {}
L298 🔴 global_write
Global write: state_colors
Impact: low
Show code
state_colors = {
L423 🔴 global_write
Global write: wpo_thresholds
Impact: low
Show code
wpo_thresholds = {
L771 🔴 global_write
Global write: safename
Impact: low
Show code
safename = bestname -- alias for backwards compatibility

z_apm_popup_pickup_dotmarks.script

L29 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = (DEV_DEBUG or (ui_hud_dotmarks and ui_hud_dotmarks.debuglogs)) and printf("z_apm_popup_pickup_dotmarks is monkeypatching APM to fix duplicate pop-up messages")
L25 🔴 global_write
Global write: timeout
Impact: low
Show code
timeout = 2000
L26 🔴 global_write
Global write: pickups
Impact: low
Show code
pickups = {}

z_fdda_pickup_intercept_dotmarks.script

L19 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = (DEV_DEBUG or (ui_hud_dotmarks and ui_hud_dotmarks.debuglogs)) and printf("[DotMarks] FDDA Redone detected, patching liz_fdda_redone_item_pickups.actor_on_item_before_pickup")
L31 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = (DEV_DEBUG or (ui_hud_dotmarks and ui_hud_dotmarks.debuglogs)) and printf("[DotMarks] FDDA detected, patching take_item_anim.actor_on_item_before_pickup")
L13 🔴 global_write
Global write: fddar_oibp
Impact: low
Show code
fddar_oibp = liz_fdda_redone_item_pickup and liz_fdda_redone_item_pickup.actor_on_item_before_pickup
L14 🔴 global_write
Global write: fdda_oibp
Impact: low
Show code
fdda_oibp = take_item_anim and take_item_anim.actor_on_item_before_pickup
L15 🔴 global_write
Global write: patched
Impact: low
Show code
patched = false
L18 🔴 global_write
Global write: patched
Impact: low
Show code
patched = true
L30 🔴 global_write
Global write: patched
Impact: low
Show code
patched = true

z_hf_furniture_types_init_stash_name.script

L44 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = (DEV_DEBUG or (ui_hud_dotmarks and ui_hud_dotmarks.debuglogs)) and printf("z_hf_furniture_types_init_stash_name is monkeypatching hf_furniture types to give stashes more useful names")

z_ui_inventory_dotmarks.script

L18 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = log and printf("[%s] Trying to start inventory in %s mode for container %s (%s)", time_global(), mode, obj and obj:name(), obj and obj:id())
L26 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_ = log and printf("[%s][z_ui_inventory_dotmarks] cfg.block_loot_window is true, blocking access to container %s (%s)", time_global(), obj and obj:name(), obj and obj:id())

zz_autoloot_dotmarks.script

L44 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = (DEV_DEBUG or (ui_hud_dotmarks and ui_hud_dotmarks.debuglogs)) and printf("zz_autoloot_dotmarks is monkeypatching z_auto_looter")
L39 🔴 global_write
Global write: override_id
Impact: low
Show code
override_id = nil
L40 🔴 global_write
Global write: last_loot_remote
Impact: low
Show code
last_loot_remote = false
L47 🔴 global_write
Global write: last_loot_remote
Impact: low
Show code
last_loot_remote = false
L49 🔴 global_write
Global write: last_loot_remote
Impact: low
Show code
last_loot_remote = true
L51 🔴 global_write
Global write: override_id
Impact: low
Show code
override_id = nil
L69 🔴 global_write
Global write: last_loot_remote
Impact: low
Show code
last_loot_remote = true

zzzz_wounded_heal_anim_dotmarks.script

L26 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = (DEV_DEBUG or (ui_hud_dotmarks and ui_hud_dotmarks.debuglogs)) and printf("zzzz_wounded_heal_anim_dotmarks is monkeypatching zzz_wounded_heal_anim to allow integration")

453- Items Model Drop After Usage - Kute

2 files (🟢0 🟡0 🔴0 🔵14)

demonized_time_events.script

L36 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L39 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L41 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L46 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L48 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L52 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L54 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L59 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L61 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("refreshing time events")

model_dropper_mcm.script

L69 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("ze table\n%s", utils_data.print_table(a, false, true))
L71 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(tostring(a))
L74 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("("..a.x.." , "..a.y.." , "..a.z..") ")
L150 🔵 debug_statement
Debug call: print()
Impact: medium
Show code
print("obj search timeout")

454- Spawning Shenanigans Prevention - Kute

1 file (🟢0 🟡0 🔴0 🔵2)

safe_start_mcm.script

L48 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("ze table\n%s", utils_data.print_table(a, false, true))
L50 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(tostring(a))

458- Repair Notifications - SaloEater

4 files (🟢3 🟡0 🔴1 🔵33)

custom_functor_autoinject.script

L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."*"..g_tostring(t))
L114 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(t).." {")
L116 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..string.rep(" ",#pos+6).."}")
L118 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(val))
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..g_tostring(t))
L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L145 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L152 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L154 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L158 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L321 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s", k, v.index)
L324 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s, max custom_functor reached", k, v.index)
L426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, processing queue")
L429 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, type %s", v.type)
L466 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid, min 1, max 10, your slot: %s", slot)
L481 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid min 1, max 10, your slot: %s", slot)
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[" .. k .. "] => ")

item_parts_repair_notifications.script

L43 🟢 repeated_obj_section()
obj:section() called 3x in <global>
Impact: low
Show code
Cache obj:section() result
L65 🟢 repeated_obj_d_section()
obj_d:section() called 6x in <global>
Impact: low
Show code
Cache obj_d:section() result
L6 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts timer | no owner found")
L49 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts | no owner found for [%s]", obj:name())
L85 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts timer | no owner found")
L126 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts | no owner found for [%s]", obj:name())
L217 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts timer | no owner found")
L258 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts | no owner found for [%s]", obj:name())

zzz_dit_repair_notifications.script

L44 🟢 repeated_obj_d_section()
obj_d:section() called 3x in <global>
Impact: low
Show code
Cache obj_d:section() result
L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ zzz_dit not found | unloading module")
L5 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("loading module: zzz_dit_repair_notifications")
L42 🔴 global_write
Global write: obj_d
Impact: low
Show code
obj_d = obj_d or get_suitable_dtool(obj)

zzzz_arti_jamming_repairs_repair_notifications.script

L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("zzzz_arti_jamming_repairs not found | unloading module")
L5 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("loading module: zzzz_arti_jamming_repairs_repair_notifications")
L40 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts timer | no owner found")
L81 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts | no owner found for [%s]", obj:name())

46- Outfits Affects Movespeed - arti

3 files (🟢0 🟡0 🔴9 🔵5)

monke_patch_ui.script

L3 🔴 global_write
Global write: old_prep_table
Impact: low
Show code
old_prep_table = utils_ui.prepare_stats_table

outfit_speed_mcm.script

L6 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("speed | %s | " .. txt, time_global(), ...)
L74 🔴 global_write
Global write: weapon_sec
Impact: low
Show code
weapon_sec = (weapon and IsWeapon(weapon)) and weapon:section() or "no weapon"
L167 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = speed_table:r_line_ex("speed",i,"","")
L167 🔴 global_write
Global write: id
Impact: low
Show code
result, id, value = speed_table:r_line_ex("speed",i,"","")
L167 🔴 global_write
Global write: value
Impact: low
Show code
result, id, value = speed_table:r_line_ex("speed",i,"","")
L174 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = speed_table:r_line_ex("sprint_speed",i,"","")
L174 🔴 global_write
Global write: id
Impact: low
Show code
result, id, value = speed_table:r_line_ex("sprint_speed",i,"","")
L174 🔴 global_write
Global write: value
Impact: low
Show code
result, id, value = speed_table:r_line_ex("sprint_speed",i,"","")
L202 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "speed",sh=true ,gr={

speed.script

L84 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Run modifier %s, val %s", k, v)
L87 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("final run: %s", run_coef)
L91 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Sprint modifier %s, val %s", k, v)
L94 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("final sprint: %s", spr_coef)

47- Powered Exos - arti

4 files (🟢0 🟡0 🔴12 🔵2)

exo_loot.script

L1 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = item_exo_device.get_data
L2 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = item_exo_device.set_data
L3 🔴 global_write
Global write: init_data
Impact: low
Show code
init_data = item_exo_device.init_data
L4 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = exo_mcm.get_config
L95 🔴 global_write
Global write: SpawnCosmetics
Impact: low
Show code
SpawnCosmetics = death_manager.spawn_cosmetics
L137 🔴 global_write
Global write: bar_tele
Impact: low
Show code
bar_tele = xr_effects.bar_arena_teleport

exo_mcm.script

L14 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "exo",sh=true ,gr={

exo_powers.script

L17 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Building sound table for %s", section)
L192 🔴 global_write
Global write: sounds
Impact: low
Show code
sounds = st[power_active]

item_exo_device.script

L22 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("arti_exo | %s | " .. txt, time_global(), ...)
L382 🔴 global_write
Global write: CanRepair
Impact: low
Show code
CanRepair = inventory_upgrades.can_repair_item
L388 🔴 global_write
Global write: NameCustom
Impact: low
Show code
NameCustom = ui_inventory.UIInventory.Name_Custom
L399 🔴 global_write
Global write: ActionCustom
Impact: low
Show code
ActionCustom = ui_inventory.UIInventory.Action_Custom
L414 🔴 global_write
Global write: original_build_desc_header
Impact: low
Show code
original_build_desc_header = ui_item.build_desc_header

48- Powered Exos ExoServomotorSounds patch - arti

2 files (🟢0 🟡0 🔴3 🔵0)

exo_servo_sounds.script

L31 🔴 global_write
Global write: is_exo
Impact: low
Show code
is_exo = item_exo_device.is_exo
L32 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = item_exo_device.get_data

exo_servo_sounds_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op ={ id= "exo_servo_sounds", sh=true ,gr =

49- Skill System - Haruka

4 files (🟢1 🟡0 🔴18 🔵6)

haru_skills.script

L161 🟢 repeated_item_section()
item:section() called 4x in scavanger_effect
Impact: low
Show code
Cache item:section() result
L20 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("<HARU> | %s | " .. msg, time_global(), ...)
L249 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Could not exec function %s", str)
L1 🔴 global_write
Global write: skills_ini
Impact: low
Show code
skills_ini = ini_file_ex("plugins\\skills\\skills_base.ltx")
L2 🔴 global_write
Global write: skills_levels
Impact: low
Show code
skills_levels = {}
L3 🔴 global_write
Global write: skills_stats
Impact: low
Show code
skills_stats = {}
L4 🔴 global_write
Global write: skills_increments
Impact: low
Show code
skills_increments = {}
L5 🔴 global_write
Global write: options
Impact: low
Show code
options = {}
L143 🔴 global_write
Global write: CreateReleaseItem
Impact: low
Show code
CreateReleaseItem = death_manager.create_release_item
L259 🔴 global_write
Global write: skills_levels
Impact: low
Show code
skills_levels = m_data.skills_levels or {}

haru_skills_mcm.script

L4 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "skill_system", sh=true ,gr =

speed.script

L80 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Run modifier %s, val %s", k, v)
L83 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("final run: %s", run_coef)
L87 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Sprint modifier %s, val %s", k, v)
L90 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("final sprint: %s", spr_coef)

ui_haru_skills.script

L217 🔴 global_write
Global write: p_width
Impact: low
Show code
p_width = parent_width or 1024
L218 🔴 global_write
Global write: p_center
Impact: low
Show code
p_center = p_width/2
L219 🔴 global_write
Global write: width
Impact: low
Show code
width = ele:GetWidth()
L220 🔴 global_write
Global write: pos
Impact: low
Show code
pos = ele:GetWndPos()
L221 🔴 global_write
Global write: anchorpos
Impact: low
Show code
anchorpos = {}
L225 🔴 global_write
Global write: ratio
Impact: low
Show code
ratio = (device().height / device().width) / (768 / 1024)
L226 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = anchorpos.left
L229 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = p_width - (p_width - (anchor and anchorpos[anchor] or anchorpos.left))*ratio
L231 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = p_center - (p_center - (anchor and anchorpos[anchor] or anchorpos.left))*ratio
L233 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = ratio * (anchor and anchorpos[anchor] or anchorpos.left)

52- Perk-Based Artefacts - Demonized

8 files (🟢7 🟡0 🔴39 🔵229)

custom_functor_autoinject.script

L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."*"..g_tostring(t))
L114 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(t).." {")
L116 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..string.rep(" ",#pos+6).."}")
L118 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(val))
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..g_tostring(t))
L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L145 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L152 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L154 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L158 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L321 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s", k, v.index)
L324 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s, max custom_functor reached", k, v.index)
L426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, processing queue")
L429 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, type %s", v.type)
L466 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid, min 1, max 10, your slot: %s", slot)
L481 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid min 1, max 10, your slot: %s", slot)
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[" .. k .. "] => ")

demonized_time_events.script

L37 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L40 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L42 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L47 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L49 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L53 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L55 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L60 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L62 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)

perk_based_artefacts.script

L2415 🟢 repeated_obj_section()
obj:section() called 6x in <global>
Impact: low
Show code
Cache obj:section() result
L3194 🟢 repeated_get_console
get_console called 6x in <global>
Impact: low
Show code
local console = get_console()
L3790 🟢 repeated_obj_2_section()
obj_2:section() called 5x in <global>
Impact: low
Show code
Cache obj_2:section() result
L4424 🟢 repeated_monster_section()
monster:section() called 2x in monster_on_before_hit
Impact: low
Show code
Cache monster:section() result
L4446 🟢 repeated_monster_section()
monster:section() called 2x in monster_on_hit_callback
Impact: low
Show code
Cache monster:section() result
L4474 🟢 repeated_obj_1_section()
obj_1:section() called 3x in on_item_drag_dropped
Impact: low
Show code
Cache obj_1:section() result
L4474 🟢 repeated_obj_2_section()
obj_2:section() called 3x in on_item_drag_dropped
Impact: low
Show code
Cache obj_2:section() result
L184 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L187 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L189 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L194 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L196 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L200 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L202 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L207 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L209 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L218 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Perk Based Artefacts: " .. str, ...)
L232 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Perk Based Artefacts: Table Print")
L319 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("snd is nil")
L444 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("lucifer exists, %s, %s", af_lucifer:id(), af_lucifer:name())
L480 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("refresh artefacts triggered")
L483 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("artefacts are different, refreshing")
L488 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("artefacts are same")
L513 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("registering callback %s, key %s", callback, key)
L524 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("unregistering callback %s, %s", key, callbacks[key].callback)
L553 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("added cooldown, name %s, time %s, current_time %s", name, time_elapsed + (cooldown or 0), time_elapsed)
L563 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("cooldown not expired yet, name %s, time %s, current_time %s", name, cooldowns[name], time_elapsed)
L585 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("can't add effect, already existing with timer")
L586 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("effect %s, timer %s, remaining_time %s, new timer %s", key, status_effects[key].timer, remaining_time, timer)
L589 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("can't add effect, already existing with bigger timer")
L590 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("effect %s, timer %s, remaining_time %s, new timer %s", key, status_effects[key].timer, remaining_time, timer)
L605 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("added status_effect, key %s, time %s, current_time %s", key, time_elapsed + (timer or 0), time_elapsed)
L618 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("status_effect active, key %s, time %s, current_time %s", key, status_effects[key].timer, time_elapsed)
L634 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("removing status effect, key %s, time %s, current_time %s", key, status_effects[key].timer, time_elapsed)
L654 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("current_time %s, adding effect %s", time_elapsed, time_elapsed + (timer or 0))
L663 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
effect_function = effect_function and dump(effect_function),
L668 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
on_end_function = on_end_function and dump(on_end_function),
L682 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("current_time %s, adding effect %s", time_elapsed, time_elapsed + (timer or 0))
L691 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("effect has on end function %s", effect.on_end)
L703 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("removing effect, key %s", key)
L705 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("removing effect, firing on end, key %s", key)
L718 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("effect %s, timer %s, current_time %s", key, props.timer, time_elapsed)
L720 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("removing effect, effect timer %s, current_time %s", props.timer, time_elapsed)
L785 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, former companions are dead")
L793 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, Registering former companions callbacks")
L819 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Teleporting actor")
L913 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Monster %s near Tapeworm, stun", obj:name())
L970 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("time %s, hit %s, last_hit %s", time, s_hit.power, last_hit.power)
L992 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("time %s, hit %s", time, s_hit.power)
L1077 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Claw, not a valid hit type %s", s_hit.type)
L1109 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Overpowered Claw, dice_roll %s, chance %s", self.dice_roll, lucifer_bonus)
L1119 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("gibs not found")
L1127 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Claw not triggered")
L1181 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Lamp, adding stash %s", id)
L1184 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Lamp, no active stashes on a level")
L1197 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Lamp, adding target %s", id)
L1205 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Lamp, no active targets on level")
L1218 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Lamp, creating light")
L1303 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Phantom Star, weapon hidden, hidden_num %s", self.hidden_num)
L1309 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Phantom Star, weapon restroed, hidden_num %s", self.hidden_num)
L1313 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Phantom Star, resetting num, hidden_num %s", self.hidden_num)
L1338 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Dragon's Eye, no current_weapon")
L1344 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Dragon's Eye, no casted weapon")
L1349 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("ammo type %s", ammo_type)
L1353 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Dragon's Eye, no valid ammo type")
L1361 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Dragon Eye not triggered, dice roll %s, chance %s", self.dice_roll, chance)
L1369 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Dragon Eye not triggered, dice roll %s, chance %s", self.dice_roll, chance)
L1374 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Victim's id: %s", npc_id)
L1384 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("explode_obj spawned")
L1388 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("explode obj exploded")
L1396 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("gibs not found")
L1400 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("explode_obj not spawned yet")
L1489 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Spike, Final Damage %s, bonus %s", s_hit.power, self.damage_multiplier)
L1562 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, no active item")
L1568 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, weapon %s not infused", actor_weapon)
L1579 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, effect power %s, hit_type %s", elemental_hit.power, elemental_hit.type)
L1600 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Thistle, npc health %s", npc.health)
L1637 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Cocoon: stack reset")
L1643 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Cocoon, stacks %s, reduction %s", self.protection_stacks, self.protection_bonus[self.protection_stacks])
L1664 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("af_moh remove speed")
L1671 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("af_moh remove effect")
L1678 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("af_moh unregister callback")
L1682 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("af_moh reset")
L1733 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("pseudodog hit %s", hit.telepatic)
L1824 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("snork meat active")
L1876 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Moss, Eating food %s", food_section)
L1882 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor satiety %s", satiety)
L2356 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Bat, too many tries to find random artefact, returning same section %s", sec)
L2371 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Bat, upgrade artefact table not found for %s", sec)
L2384 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Bat, upgrade artefact not found for %s", sec)
L2418 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Bat, transforming perk artefact %s", sec)
L2423 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Bat, transforming artefact %s to different kind", sec)
L2426 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Bat, upgrading artefact %s", sec)
L2430 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Bat, resulting artefact %s", new_sec)
L2540 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("lucifer id %s", id)
L2541 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("condition %s", self.condition)
L2547 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("new condition %s", af_lucifer:condition())
L2603 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_G.printf("p %s, t %s, i %s, d %s, dm %s", s_hit.power, s_hit.type, s_hit.impulse, s_hit.direction, s_hit.draftsman)
L2643 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Dark time penalty, time %s, level %s, health %s, power %s", hours, actor_level, actor.health, actor.power)
L2647 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sun: Weather not defined")
L2654 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Clear boost, time %s, current_weather %s, health %s, power %s", hours, current_weather, actor.health, actor.power)
L2657 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Partly boost, time %s, current_weather %s, health %s, power %s", hours, current_weather, actor.health, actor.power)
L2660 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Not clear penalty, time %s, current_weather %s, health %s, power %s", hours, current_weather, actor.health, actor.power)
L2670 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Tapeworm not triggered, cooldown active")
L2689 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("firing Will to Live, health %s", health)
L2725 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("firing Signet, health %s", actor.health)
L2764 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("before bleeding %s", actor.bleeding)
L2767 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("after bleeding %s", actor.bleeding)
L2774 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Chain, actor community %s", actor_community)
L2788 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Chain, no companions alive")
L2800 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("found companion %s, community %s, health %s", id, obj_community, heal_companion_min_health)
L2805 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Chain, no companions need healing")
L2809 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Chain, healing companion %s", heal_companion:id())
L2842 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Scar, action not triggered, dice roll %s, chance %s", dice_roll, chance)
L2914 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("sky color %s, %s, %s", mod_R, mod_G, mod_B)
L3031 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Lucifer, time %s, last time %s, degradation %s, cond %s, new_cond %s", time_elapsed, saved_time_elapsed, round_idp(adjust_condition, 8), round_idp(condition, 4), round_idp(_self.condition, 4))
L3093 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Spike, on_weapon_fired weapon_shot %s", af_spaika.weapon_shot)
L3102 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Spike, Creating time event")
L3112 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, weapon %s not infused", actor_weapon)
L3128 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Food object not found")
L3139 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_G.printf("health increased by %s", satiety_increase)
L3147 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Food object not found")
L3236 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("ironman is active, death count %s, new_count %s, limit %s", ironman.death_count, new_ironman_death_count, ironman.death_limit)
L3247 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("unregistering callback")
L3276 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Black Angel, not a valid hit type %s", s_hit.type)
L3290 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, not a valid hit type %s", s_hit.type)
L3296 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, perk not triggered, dice_roll %s, chance %s", dice_roll, af_medallion.reflect_chance[artefact_count])
L3304 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, has non_task_companions")
L3307 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, has companion_squads")
L3322 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, doesn't have both companion_squads, non_task_companions")
L3327 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, no companion found")
L3331 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, current companion %s", companion.id)
L3338 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, hitting companion %s, power %s", member:name(), redirect_hit.power)
L3342 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, squad %s became enemy", squad_id)
L3348 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, squad companion %s became enemy", k)
L3356 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, companion became enemy")
L3360 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, member %s became enemy", member:id())
L3376 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Electron, hit draftsman is actor")
L3381 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Electron, not a valid hit type %s", s_hit.type)
L3415 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Cell, not a valid hit type %s", s_hit.type)
L3424 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Cell: resulted radiation %s", rad_amount)
L3442 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Cocoon, not a valid hit type %s", s_hit.type)
L3453 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Scar, not a valid hit type %s", s_hit.type)
L3463 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sun, not under Lucifer effect")
L3469 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sun, not a valid hit type %s", s_hit.type)
L3479 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sun, Lucifer effect active, hitting with fire coeff %s, damage %s", fire_damage, fire_hit.power)
L3500 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Black Angel not triggered, dice roll %s, chance %s", af_black_angel.dice_roll, af_black_angel.reflect_chance[artefact_count])
L3509 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Black Angel not triggered, not valid hit")
L3518 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("hit %s, last_hit %s", s_hit.power, last_hit.power)
L3525 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Tapeworm not triggered, cooldown active")
L3536 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Tapeworm not triggered, not valid hit")
L3547 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, not valid hit type")
L3552 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, not Anomaly %s", who:section())
L3558 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, no active actor_weapon")
L3617 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Miser's Skull not triggered, bone index %s", last_npc_hit_bone_index)
L3631 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("money spawned")
L3639 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("money not spawned yet")
L3741 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Fountain not fired, selling item")
L3750 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Fountain fired")
L3754 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Actor last money %s, actor current money %s", actor_last_money, money)
L3757 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Fountain not fired, not enough money")
L3762 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Fountain, Money given %s", cashback)
L3790 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, target is not weapon, %s", obj_2:section())
L3796 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, target is knife or binocs, %s", obj_2:section())
L3802 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, target is throwable, %s", obj_2:section())
L3864 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("ironman is active, saving death count %s, death limit %s", ironman.death_count, ironman.death_limit)
L3878 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("stash id %s, freq %s, coords %s %s %s", k, v, pos.x, pos.y, pos.z)
L3996 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("monster dead, physics shell works")
L4030 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("monster not dead yet")
L4073 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("restoring item")
L4083 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("hiding item")
L4225 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("artefact %s", artefact)
L4251 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_item_use, item %s", obj:section())
L4286 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("%s is valid for degradation, cond %s, new_cond %s", sec, cond * 100, new_cond * 100)
L4289 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("%s is critical, releasing, cond %s", sec, obj:condition() * 100)
L4327 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("weapon fired %s", wpn:section())
L4334 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_before hit, draftsman not defined")
L4338 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_before_hit damage type %s", s_hit.type)
L4346 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_hit_callback not triggered, who not defined")
L4350 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_hit_callback, %s, %s, %s", obj:section(), amount, who:section())
L4356 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_before_death triggered")
L4362 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_item_buy triggered")
L4368 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_item_sell triggered")
L4375 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("npc_on_before hit, draftsman not defined")
L4380 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("npc_on_before_hit not triggered %s, %s", npc:section(), s_hit.draftsman:section())
L4391 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("on_hit_callback not triggered, who not defined")
L4396 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("npc_on_hit_callback not triggered %s, %s, %s", npc:section(), amount, who:section())
L4405 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("on_death_callback not triggered, who not defined")
L4410 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("npc_on_death_callback not triggered %s, %s", npc:section(), who:section())
L4419 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("monster_on_before hit, draftsman not defined")
L4424 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("monster_on_before_hit not triggered %s, %s", monster:section(), s_hit.draftsman:section())
L4429 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("monster_on_before_hit not triggered, monster %s not alive anymore", monster:section())
L4441 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("on_hit_callback not triggered, who not defined")
L4446 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("monster_on_hit_callback not triggered %s, %s, %s", monster:section(), amount, who:section())
L4451 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("monster_on_hit not triggered, monster %s not alive anymore", monster:section())
L4460 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("on_death_callback not triggered, who not defined")
L4465 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("monster_on_death_callback not triggered %s, %s", monster:section(), who:section())
L4474 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("No obj_1 or obj_2 found, o1 %s, o2 %s", obj_1 and obj_1:section(), obj_2 and obj_2:section())
L4492 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("tg_now %s, tg_add %s", tg_now, tg_add)
L4607 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Registering")
L4609 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("tg_on_game_start %s", tg_lag)
L133 🔴 global_write
Global write: hud_state
Impact: low
Show code
hud_state = 1
L383 🔴 global_write
Global write: virtual_artefacts
Impact: low
Show code
virtual_artefacts = {}
L437 🔴 global_write
Global write: iterate_belt
Impact: low
Show code
iterate_belt = function(actor)
L479 🔴 global_write
Global write: refresh_artefacts
Impact: low
Show code
refresh_artefacts = function(force)
L493 🔴 global_write
Global write: refresh_artefacts_time_event_func
Impact: low
Show code
refresh_artefacts_time_event_func = function(force)
L499 🔴 global_write
Global write: callbacks
Impact: low
Show code
callbacks = {}
L551 🔴 global_write
Global write: cooldowns
Impact: low
Show code
cooldowns = {} -- Table of cooldowns of artefacts (["artefact"] = time_elapsed + cooldown)
L571 🔴 global_write
Global write: status_effects
Impact: low
Show code
status_effects = {} -- Table of status effects of artefacts (["artefact"] = time_elapsed + cooldown)
L652 🔴 global_write
Global write: timed_effects
Impact: low
Show code
timed_effects = {}
L729 🔴 global_write
Global write: speed_boosts
Impact: low
Show code
speed_boosts = { -- Table of speed boosts for different artefacts
L756 🔴 global_write
Global write: artefact_props
Impact: low
Show code
artefact_props = { -- Special props of artefacts that are used in processing
L2629 🔴 global_write
Global write: artefact_on_update_functions
Impact: low
Show code
artefact_on_update_functions = {
L3038 🔴 global_write
Global write: artefact_on_weapon_fired_functions
Impact: low
Show code
artefact_on_weapon_fired_functions = {
L3123 🔴 global_write
Global write: artefact_on_item_use_functions
Impact: low
Show code
artefact_on_item_use_functions = {
L3177 🔴 global_write
Global write: artefact_on_before_death_functions
Impact: low
Show code
artefact_on_before_death_functions = {
L3194 🔴 global_write
Global write: hud_state
Impact: low
Show code
hud_state = get_console():get_bool("hud_draw") and 1 or 0
L3270 🔴 global_write
Global write: artefact_on_before_hit_functions
Impact: low
Show code
artefact_on_before_hit_functions = {
L3494 🔴 global_write
Global write: artefact_on_hit_functions
Impact: low
Show code
artefact_on_hit_functions = {
L3571 🔴 global_write
Global write: artefact_on_npc_before_hit_functions
Impact: low
Show code
artefact_on_npc_before_hit_functions = {
L3601 🔴 global_write
Global write: artefact_on_npc_hit_functions
Impact: low
Show code
artefact_on_npc_hit_functions = {
L3611 🔴 global_write
Global write: artefact_on_npc_death_functions
Impact: low
Show code
artefact_on_npc_death_functions = {
L3675 🔴 global_write
Global write: artefact_on_monster_before_hit_functions
Impact: low
Show code
artefact_on_monster_before_hit_functions = {
L3705 🔴 global_write
Global write: artefact_on_monster_hit_functions
Impact: low
Show code
artefact_on_monster_hit_functions = {
L3715 🔴 global_write
Global write: artefact_on_monster_death_functions
Impact: low
Show code
artefact_on_monster_death_functions = {
L3735 🔴 global_write
Global write: artefact_on_trade_functions
Impact: low
Show code
artefact_on_trade_functions = {
L3786 🔴 global_write
Global write: artefact_on_item_drag_dropped_functions
Impact: low
Show code
artefact_on_item_drag_dropped_functions = {
L3831 🔴 global_write
Global write: artefact_on_equip_functions
Impact: low
Show code
artefact_on_equip_functions = {
L3920 🔴 global_write
Global write: bat_transmutate_func
Impact: low
Show code
bat_transmutate_func = {
L3940 🔴 global_write
Global write: lucifer_sacrifice_func
Impact: low
Show code
lucifer_sacrifice_func = {
L4222 🔴 global_write
Global write: process_artefacts
Impact: low
Show code
process_artefacts = function(artefacts_table, ...)
L4269 🔴 global_write
Global write: degradation_valid_artys
Impact: low
Show code
degradation_valid_artys = (function()
L4589 🔴 global_write
Global write: timed_effects
Impact: low
Show code
timed_effects = t
L4590 🔴 global_write
Global write: cooldowns
Impact: low
Show code
cooldowns = m_data.perk_based_artefacts_cooldowns or {}
L4591 🔴 global_write
Global write: status_effects
Impact: low
Show code
status_effects = m_data.perk_based_artefacts_status_effects or {}
L4593 🔴 global_write
Global write: virtual_artefacts
Impact: low
Show code
virtual_artefacts = m_data.perk_based_artefacts_virtual_artefacts or {}

perk_based_artefacts_item_properties.script

L8 🔴 global_write
Global write: sec
Impact: low
Show code
sec = get_artefact_from_container(sec)

perk_based_artefacts_mcm.script

L1 🔴 global_write
Global write: op
Impact: low
Show code
op = {

zz_item_artefact.script

L52 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("loaded condition for %s "..tonumber(m_data.offline_condition), se_obj:section_name())
L131 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("saved condition for %s "..tonumber(m_data.offline_condition), se_obj:section_name())
L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("adding %s, %s to se_obj state", self.id, self:name())
L151 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("clearing object %s, %s from m_data", self.id, self:name())
L195 🔴 global_write
Global write: base_add_bar
Impact: low
Show code
base_add_bar = utils_ui.UICellItem.Add_ProgressBar

zz_item_artefact_mcm.script

L1 🔴 global_write
Global write: op
Impact: low
Show code
op = {

zz_treasure_manager_pba_less_artys.script

L64 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Perk Based Artefacts, removing item %s, section %s", k, v.section)

53- Companions carry weight tweak - sneaky

1 file (🟢0 🟡0 🔴13 🔵0)

dynamic_companion_carryweight.script

L8 🔴 global_write
Global write: axrbase
Impact: low
Show code
axrbase = axr_companions.is_overweight
L9 🔴 global_write
Global write: ini_death
Impact: low
Show code
ini_death = ini_file_ex("items\\settings\\death_outfits.ltx")
L10 🔴 global_write
Global write: ini_override
Impact: low
Show code
ini_override = ini_file_ex("misc\\story_npc_carryweights.ltx")
L15 🔴 global_write
Global write: flag
Impact: low
Show code
flag, copy_curr_weight, copy_max_weight = axrbase(npc, npc_id, comp_weight)
L15 🔴 global_write
Global write: copy_curr_weight
Impact: low
Show code
flag, copy_curr_weight, copy_max_weight = axrbase(npc, npc_id, comp_weight)
L15 🔴 global_write
Global write: copy_max_weight
Impact: low
Show code
flag, copy_curr_weight, copy_max_weight = axrbase(npc, npc_id, comp_weight)
L57 🔴 global_write
Global write: vis_path_list
Impact: low
Show code
vis_path_list = str_explode(vis, "\\")
L58 🔴 global_write
Global write: vis_name_list
Impact: low
Show code
vis_name_list = vis_path_list and str_explode(vis_path_list[#vis_path_list], "%.")
L93 🔴 global_write
Global write: temp
Impact: low
Show code
temp = ui_inventory.UIInventory.UpdateWeight
L96 🔴 global_write
Global write: npc
Impact: low
Show code
npc = self:GetPartner()
L98 🔴 global_write
Global write: over
Impact: low
Show code
over,cur,snkweight = axr_companions.is_overweight(npc)
L98 🔴 global_write
Global write: cur
Impact: low
Show code
over,cur,snkweight = axr_companions.is_overweight(npc)
L98 🔴 global_write
Global write: snkweight
Impact: low
Show code
over,cur,snkweight = axr_companions.is_overweight(npc)

54- Lsz AI tweak - IgorNitch

2 files (🟢0 🟡0 🔴3 🔵0)

grok_gotta_go_fast.script

L10 🔴 global_write
Global write: run_coeff
Impact: low
Show code
run_coeff = grok_gotta_go_fast_mcm.get_config("gotta_go_fast_run")
L11 🔴 global_write
Global write: sprint_coeff
Impact: low
Show code
sprint_coeff = grok_gotta_go_fast_mcm.get_config("gotta_go_fast_sprint")

grok_gotta_go_fast_mcm.script

L12 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "gggf",sh=true ,gr={

55- Mutants Bleeding - Arszi

1 file (🟢0 🟡0 🔴3 🔵0)

arszi_mutant_bleeding.script

L534 🔴 global_write
Global write: ShowMessage
Impact: low
Show code
ShowMessage = true
L535 🔴 global_write
Global write: ShowMessageInit
Impact: low
Show code
ShowMessageInit = game.get_game_time()
L536 🔴 global_write
Global write: ShowMessageTime
Impact: low
Show code
ShowMessageTime = time

56- Phantoms at low psy health - xcvb

1 file (🟢0 🟡0 🔴0 🔵3)

xcv_phantoms.script

L24 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L277 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("squad_id: [ %s ] sec: [ %s ] || member_id: [ %s ] sec: [ %s ]", squad_id, squad:section_name(), se_member.id, member_sec or "nil")
L280 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ test, squad_id: [ %s ]", squad_id)

58- New Stashes Location - Tweaki_Breeki

1 file (🟢0 🟡0 🔴2 🔵1)

tb_new_stashes.script

L553 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("\n\n----- [%s] New Stashes Created! -----\n\n",#NewStashes)
L14 🔴 global_write
Global write: tb_copy_of_init_settings
Impact: low
Show code
tb_copy_of_init_settings = treasure_manager.init_settings
L32 🔴 global_write
Global write: NewStashes
Impact: low
Show code
NewStashes = {

59- Fixes bugged stashes - Tweaki_Breeki

1 file (🟢0 🟡0 🔴0 🔵7)

TB_Remove_Bugged_Stashes.script

L25 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- TB_Remove_Bugged_Stashes script has already been run in this game.")
L28 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("\n")
L29 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Running TB_Remove_Bugged_Stashes script ...")
L37 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Bugged or inaccessible stash name is %s",a_stash:name())
L40 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Giving player: %s",item)
L46 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# This stash is empty")
L52 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("\n")

6- EFT Aim Rattle - Qudix

1 file (🟢0 🟡0 🔴1 🔵0)

eft_rattle_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op = {

60- Stash Overhaul - Grokitach

1 file (🟢0 🟡1 🔴16 🔵8)

treasure_manager.script

L564 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. " - " .. itm
L295 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!WARNING treasure_manager.init_settings | item [%s] is missing info | kind: %s - tier: %s", section, kind, tier)
L338 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR create_random_stash | no server object for id (%s)", id)
L567 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(str)
L708 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--------- Create Stash: ")
L710 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("----------------------------------------------------------")
L714 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--------- Items count: ")
L716 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(k .. " := " .. v)
L836 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Treasure manager | name (%s) saved for rare stash", (str .. name))
L96 🔴 global_write
Global write: ini_treasure
Impact: low
Show code
ini_treasure = ini_file("items\\settings\\grok_treasure_manager.ltx")
L97 🔴 global_write
Global write: ini_treasure_vanilla
Impact: low
Show code
ini_treasure_vanilla = ini_file_ex("items\\settings\\treasure_manager.ltx",true)
L98 🔴 global_write
Global write: ini_tiers
Impact: low
Show code
ini_tiers = ini_file("items\\settings\\grok_items_tier.ltx")
L102 🔴 global_write
Global write: caches
Impact: low
Show code
caches = {}
L131 🔴 global_write
Global write: stash_bonus
Impact: low
Show code
stash_bonus = {}
L240 🔴 global_write
Global write: section
Impact: low
Show code
junk, section, value = "", "", ""
L242 🔴 global_write
Global write: section
Impact: low
Show code
junk, section, value = ini_treasure:r_line("possible_items" , i , "", "")
L303 🔴 global_write
Global write: section
Impact: low
Show code
junk, section, value = "", "", ""
L305 🔴 global_write
Global write: section
Impact: low
Show code
junk, section, value = ini_treasure:r_line("stash_bonus" , i , "", "")
L322 🔴 global_write
Global write: last_secret
Impact: low
Show code
last_secret = nil
L344 🔴 global_write
Global write: last_secret
Impact: low
Show code
last_secret = nil
L350 🔴 global_write
Global write: last_secret
Impact: low
Show code
last_secret = true
L519 🔴 global_write
Global write: map_tier_vector
Impact: low
Show code
map_tier_vector = map_tiers[lvl] -- Grok's Stash Overhaul
L520 🔴 global_write
Global write: random_tier_from_vector
Impact: low
Show code
random_tier_from_vector = random_key_table(map_tier_vector) -- Grok's Stash Overhaul
L521 🔴 global_write
Global write: lvl_tier
Impact: low
Show code
lvl_tier = map_tier_vector[random_tier_from_vector] -- Grok's Stash Overhaul
L800 🔴 global_write
Global write: caches
Impact: low
Show code
caches = data.treasure_manager.caches or caches

61- Stash Overhaul TBFix - Grokitach

1 file (🟢0 🟡0 🔴0 🔵6)

TB_Remove_Bugged_Stashes.script

L25 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- TB_Remove_Bugged_Stashes script has already been run in this game.")
L28 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("\n")
L29 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Running TB_Remove_Bugged_Stashes script ...")
L37 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Bugged or inaccessible stash name is %s",a_stash:name())
L46 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# This stash is empty")
L52 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("\n")

62- Stash Overhaul No Loot - Grokitach

1 file (🟢0 🟡1 🔴16 🔵8)

treasure_manager.script

L564 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. " - " .. itm
L295 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!WARNING treasure_manager.init_settings | item [%s] is missing info | kind: %s - tier: %s", section, kind, tier)
L338 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR create_random_stash | no server object for id (%s)", id)
L567 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(str)
L708 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--------- Create Stash: ")
L710 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("----------------------------------------------------------")
L714 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--------- Items count: ")
L716 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(k .. " := " .. v)
L836 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Treasure manager | name (%s) saved for rare stash", (str .. name))
L96 🔴 global_write
Global write: ini_treasure
Impact: low
Show code
ini_treasure = ini_file("items\\settings\\grok_treasure_manager.ltx")
L97 🔴 global_write
Global write: ini_treasure_vanilla
Impact: low
Show code
ini_treasure_vanilla = ini_file_ex("items\\settings\\treasure_manager.ltx",true)
L98 🔴 global_write
Global write: ini_tiers
Impact: low
Show code
ini_tiers = ini_file("items\\settings\\grok_items_tier.ltx")
L102 🔴 global_write
Global write: caches
Impact: low
Show code
caches = {}
L131 🔴 global_write
Global write: stash_bonus
Impact: low
Show code
stash_bonus = {}
L240 🔴 global_write
Global write: section
Impact: low
Show code
junk, section, value = "", "", ""
L242 🔴 global_write
Global write: section
Impact: low
Show code
junk, section, value = ini_treasure:r_line("possible_items" , i , "", "")
L303 🔴 global_write
Global write: section
Impact: low
Show code
junk, section, value = "", "", ""
L305 🔴 global_write
Global write: section
Impact: low
Show code
junk, section, value = ini_treasure:r_line("stash_bonus" , i , "", "")
L322 🔴 global_write
Global write: last_secret
Impact: low
Show code
last_secret = nil
L344 🔴 global_write
Global write: last_secret
Impact: low
Show code
last_secret = nil
L350 🔴 global_write
Global write: last_secret
Impact: low
Show code
last_secret = true
L519 🔴 global_write
Global write: map_tier_vector
Impact: low
Show code
map_tier_vector = map_tiers[lvl] -- Grok's Stash Overhaul
L520 🔴 global_write
Global write: random_tier_from_vector
Impact: low
Show code
random_tier_from_vector = random_key_table(map_tier_vector) -- Grok's Stash Overhaul
L521 🔴 global_write
Global write: lvl_tier
Impact: low
Show code
lvl_tier = map_tier_vector[random_tier_from_vector] -- Grok's Stash Overhaul
L800 🔴 global_write
Global write: caches
Impact: low
Show code
caches = data.treasure_manager.caches or caches

65- Fluid Aim - Skieppy

1 file (🟢1 🟡0 🔴0 🔵0)

fluid_aim.script

L50 🟢 repeated_wpn_section()
wpn:section() called 4x in actor_on_update
Impact: low
Show code
Cache wpn:section() result

7- EFT Jump and Land SFX - HarukaSai

2 files (🟢0 🟡0 🔴5 🔵0)

eft_jump_sounds.script

L1 🔴 global_write
Global write: available_materials
Impact: low
Show code
available_materials = {"wood", "earth", "dirt", "metal", "water", "tin", "grass", "gravel", "asphalt", "tile", "concrete", "shifer",}
L3 🔴 global_write
Global write: current_available
Impact: low
Show code
current_available = "default"
L12 🔴 global_write
Global write: current_available
Impact: low
Show code
current_available = val -- we do :)
L15 🔴 global_write
Global write: current_available
Impact: low
Show code
current_available = "default" -- darn, we don't :(

eft_jump_sounds_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op ={ id= "eft_jump_sounds",sh=true ,gr =

71- Weapons Reanimation and Rebalance - Blindside

2 files (🟢0 🟡0 🔴2 🔵0)

scope_fov_mcm.script

L13 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "scop",sh=true ,gr={

scoping_hud_fov.script

L6 🔴 global_write
Global write: ini_fov
Impact: low
Show code
ini_fov = ini_file_ex("items\\weapon_fov_values.ltx")

72- Adjustable Scope View - sneaky

1 file (🟢4 🟡0 🔴2 🔵0)

scope_fov_mcm.script

L63 🟢 repeated_weapon_section()
weapon:section() called 6x in zoom_in
Impact: low
Show code
Cache weapon:section() result
L118 🟢 repeated_weapon_section()
weapon:section() called 2x in on_key_release
Impact: low
Show code
Cache weapon:section() result
L136 🟢 repeated_weapon_section()
weapon:section() called 3x in increase_hud_fov
Impact: low
Show code
Cache weapon:section() result
L151 🟢 repeated_weapon_section()
weapon:section() called 3x in decrease_hud_fov
Impact: low
Show code
Cache weapon:section() result
L17 🔴 global_write
Global write: ini_fov
Impact: low
Show code
ini_fov = ini_file_ex("items\\weapon_fov_values.ltx")
L223 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = "scop",sh = true ,gr = {

76- BAS patch 28-12-21 (2nd 76) - Mich

3 files (🟢0 🟡0 🔴3 🔵2)

bas_trade_inject.script

L76 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("NPC %s has no trade information", npc_name)
L84 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! Trader has no supplies [%s] - [%s]", npc_name, supply_level)
L98 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

despawn_guns.script

L107 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

zzz_bas_laser_control.script

L15 🔴 global_write
Global write: CloneWep
Impact: low
Show code
CloneWep = _G.alife_clone_weapon

76- Boomsticks and Sharpsticks - Mich

3 files (🟢2 🟡0 🔴3 🔵1)

bas_nvg_scopes.script

L11 🟢 repeated_weapon_section()
weapon:section() called 3x in zoom_in
Impact: low
Show code
Cache weapon:section() result

bas_trade_inject.script

L81 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! Trader has no supplies [%s] - [%s]", npc_name, supply_level)
L95 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

trader_autoinject.script

L151 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

86- G36Pack - Strogglet15

2 files (🟢2 🟡0 🔴3 🔵0)

g36pack_traderinject.script

L65 🟢 repeated_npc_section()
npc:section() called 8x in spawn_g36pack
Impact: low
Show code
Cache npc:section() result
L104 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

trader_autoinject.script

L150 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

87- G36Pack patch - Strogglet15

2 files (🟢2 🟡0 🔴3 🔵0)

g36pack_traderinject.script

L65 🟢 repeated_npc_section()
npc:section() called 8x in spawn_g36pack
Impact: low
Show code
Cache npc:section() result
L104 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

trader_autoinject.script

L150 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

9- Exo Servomotor Sounds - HarukaSai

3 files (🟢0 🟡0 🔴3 🔵1)

exo_servo_sounds.script

L2 🔴 global_write
Global write: exo_flag
Impact: low
Show code
exo_flag = false
L24 🔴 global_write
Global write: exo_flag
Impact: low
Show code
exo_flag = outfit and SYS_GetParam(0, outfit:section(), "repair_type") == "outfit_exo" -- and item_exo_device.is_psu(backpack)

exo_servo_sounds_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op ={ id= "exo_servo_sounds", sh=true ,gr =

z_npc_footsteps.script

L60 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("npc %s has invalid spawning vertex, correcting",se_obj:name())

92- Vityaz Replacer - Blackgrowl

7 files (🟢1 🟡2 🔴27 🔵7)

aaa_rax_icon_override_mcm.script

L22 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "RAX: | %s | "..text ,time_global(), ...)
L367 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | XML_box or XML_temp doesn't exist")
L375 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | section [%s] doesn't exist in system ini", sec)
L18 🔴 global_write
Global write: icon_override
Impact: low
Show code
icon_override = ini_file_ex("icon_override\\icon_override.ltx")
L540 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(a_sec,1)
L555 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(b_sec,1)

animation_common.script

L86 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

uni_anim_detectors.script

L5 🔴 global_write
Global write: playing_fdda_anim
Impact: low
Show code
playing_fdda_anim = false
L7 🔴 global_write
Global write: fdda_anim_prepare
Impact: low
Show code
fdda_anim_prepare = enhanced_animations.anim_prepare
L9 🔴 global_write
Global write: playing_fdda_anim
Impact: low
Show code
playing_fdda_anim = true
L13 🔴 global_write
Global write: fdda_call_my_slot_back
Impact: low
Show code
fdda_call_my_slot_back = enhanced_animations.call_my_slot_back
L17 🔴 global_write
Global write: playing_fdda_anim
Impact: low
Show code
playing_fdda_anim = false
L22 🔴 global_write
Global write: fdda_bp_call_my_slot_back
Impact: low
Show code
fdda_bp_call_my_slot_back = zzz_ea_addon_backpack.call_my_slot_back
L26 🔴 global_write
Global write: playing_fdda_anim
Impact: low
Show code
playing_fdda_anim = false

utjan_mag_check.script

L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Old mag check script (ammo_check_mcm) detected. Remove it to get full features of mag checks")
L107 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Old mag check script (ammo_check_mcm) detected. Remove it to get full features of mag checks")
L3 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = nil
L4 🔴 global_write
Global write: wpn_checking
Impact: low
Show code
wpn_checking, det_active = nil
L4 🔴 global_write
Global write: det_active
Impact: low
Show code
wpn_checking, det_active = nil
L7 🔴 global_write
Global write: base_check_Ammo
Impact: low
Show code
base_check_Ammo = ammo_check_mcm.check_Ammo
L63 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = 1
L65 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = db.actor:active_detector() or nil
L80 🔴 global_write
Global write: wpn_checking
Impact: low
Show code
wpn_checking = nil
L81 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = nil
L86 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = nil
L90 🔴 global_write
Global write: wpn_checking
Impact: low
Show code
wpn_checking = obj
L102 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = 2

92- Vityaz Replacer Remake - Blackgrowl

6 files (🟢1 🟡2 🔴31 🔵4)

animation_common.script

L88 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

uni_anim_detectors.script

L14 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L18 🔴 global_write
Global write: fdda_anim_prepare
Impact: low
Show code
fdda_anim_prepare = enhanced_animations.anim_prepare
L20 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L24 🔴 global_write
Global write: fdda_call_my_slot_back
Impact: low
Show code
fdda_call_my_slot_back = enhanced_animations.call_my_slot_back
L28 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L33 🔴 global_write
Global write: fdda_bp_call_my_slot_back
Impact: low
Show code
fdda_bp_call_my_slot_back = zzz_ea_addon_backpack.call_my_slot_back
L37 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L50 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L63 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L71 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L85 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L98 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L113 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L167 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false

utjan_mag_check.script

L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Old mag check script (ammo_check_mcm) detected. Remove it to get full features of mag checks")
L107 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Old mag check script (ammo_check_mcm) detected. Remove it to get full features of mag checks")
L3 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = nil
L4 🔴 global_write
Global write: wpn_checking
Impact: low
Show code
wpn_checking, det_active = nil
L4 🔴 global_write
Global write: det_active
Impact: low
Show code
wpn_checking, det_active = nil
L7 🔴 global_write
Global write: base_check_Ammo
Impact: low
Show code
base_check_Ammo = ammo_check_mcm.check_Ammo
L63 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = 1
L65 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = db.actor:active_detector() or nil
L80 🔴 global_write
Global write: wpn_checking
Impact: low
Show code
wpn_checking = nil
L81 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = nil
L86 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = nil
L90 🔴 global_write
Global write: wpn_checking
Impact: low
Show code
wpn_checking = obj
L102 🔴 global_write
Global write: do_ammo_check_anim
Impact: low
Show code
do_ammo_check_anim = 2

93- Fire Mode Switcher - TheVoidPancake

2 files (🟢0 🟡0 🔴2 🔵0)

void_fmode_sound.script

L109 🔴 global_write
Global write: section
Impact: low
Show code
section = wpn:section()

void_fmode_sound_mcm.script

L3 🔴 global_write
Global write: op
Impact: low
Show code
op = {

94- Tacticool scopes - jaymorrow

8 files (🟢2 🟡0 🔴7 🔵6)

ATS_illum_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = "ATS_illum", sh = true, gr =

bas_nvg_scopes.script

L11 🟢 repeated_weapon_section()
weapon:section() called 3x in zoom_in
Impact: low
Show code
Cache weapon:section() result

bas_trade_inject.script

L76 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("NPC %s has no trade information", npc_name)
L84 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! Trader has no supplies [%s] - [%s]", npc_name, supply_level)
L98 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

modxml_ats.script

L9 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("DXML is patching scopes in %s", xml_file_name)
L20 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("DXML is patching scopes in %s", xml_file_name)
L31 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("DXML is patching scopes in %s", xml_file_name)
L41 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("DXML is patching scopes in %s", xml_file_name)

scopeRadii.script

L4 🔴 global_write
Global write: scopeRadii
Impact: low
Show code
scopeRadii = {

toggle_scope_texture.script

L3 🔴 global_write
Global write: scope_texture_table
Impact: low
Show code
scope_texture_table = {}

trader_autoinject.script

L151 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

zzz_bas_laser_control.script

L15 🔴 global_write
Global write: CloneWep
Impact: low
Show code
CloneWep = _G.alife_clone_weapon

95- Doom-like weapon inspection - Grokitach

1 file (🟢0 🟡0 🔴23 🔵0)

grok_doom_weapons_inspect.script

L2 🔴 global_write
Global write: inspected_weapons
Impact: low
Show code
inspected_weapons = {}
L3 🔴 global_write
Global write: music
Impact: low
Show code
music = sound_object('grok\\grok_doom_inspect')
L13 🔴 global_write
Global write: flag_weapon_id
Impact: low
Show code
flag_weapon_id = obj:id()
L15 🔴 global_write
Global write: launch_timer
Impact: low
Show code
launch_timer = 1
L22 🔴 global_write
Global write: current_wpn
Impact: low
Show code
current_wpn = db.actor:active_item()
L24 🔴 global_write
Global write: current_wpn_id
Impact: low
Show code
current_wpn_id = current_wpn:id()
L25 🔴 global_write
Global write: current_wpn_sec
Impact: low
Show code
current_wpn_sec = current_wpn:section()
L28 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L29 🔴 global_write
Global write: delay
Impact: low
Show code
delay = tg + 800
L30 🔴 global_write
Global write: launch_timer
Impact: low
Show code
launch_timer = 0
L36 🔴 global_write
Global write: lang
Impact: low
Show code
lang = "_eng"
L38 🔴 global_write
Global write: lang
Impact: low
Show code
lang = ""
L48 🔴 global_write
Global write: block_repeat
Impact: low
Show code
block_repeat = false
L50 🔴 global_write
Global write: flag_weapon_id
Impact: low
Show code
flag_weapon_id = nil
L63 🔴 global_write
Global write: inspected_weapons
Impact: low
Show code
inspected_weapons = m_data.inspected_weapons
L66 🔴 global_write
Global write: inspected_weapons
Impact: low
Show code
inspected_weapons = {}
L69 🔴 global_write
Global write: nrows
Impact: low
Show code
nrows = 0
L71 🔴 global_write
Global write: nrows
Impact: low
Show code
nrows = nrows + 1
L74 🔴 global_write
Global write: inspected_weapons
Impact: low
Show code
inspected_weapons = {}
L81 🔴 global_write
Global write: block_repeat
Impact: low
Show code
block_repeat = true
L84 🔴 global_write
Global write: snd
Impact: low
Show code
snd = sound_object(sound)
L86 🔴 global_write
Global write: voice
Impact: low
Show code
voice = sound_object("grok\\actor_" .. math.random(1,11) .. "" .. lang)
L94 🔴 global_write
Global write: block_repeat
Impact: low
Show code
block_repeat = false

ATHI's Mags Redux Mod Madness 19.1.2025+

3 files (🟢1 🟡3 🔴63 🔵1)

actor_stash_patch.script

L6 🟢 repeated_item_section()
item:section() called 4x in <global>
Impact: low
Show code
Cache item:section() result

magazines_loot.script

L175 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!!! FRAUD DETECTED !!! Item %s should not have mag data!", sec)
L4 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L5 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = magazine_binder.get_data
L6 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = magazine_binder.set_data
L7 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = magazine_binder.get_mag_loaded
L8 🔴 global_write
Global write: prep_weapon
Impact: low
Show code
prep_weapon = magazines.prep_weapon
L9 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = magazine_binder.is_supported_weapon
L10 🔴 global_write
Global write: get_magazine_caliber
Impact: low
Show code
get_magazine_caliber = magazine_binder.get_magazine_caliber
L11 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L12 🔴 global_write
Global write: weapon_default_magazine
Impact: low
Show code
weapon_default_magazine = magazine_binder.weapon_default_magazine
L13 🔴 global_write
Global write: weapon_improved_magazine
Impact: low
Show code
weapon_improved_magazine = magazine_binder.weapon_improved_magazine
L14 🔴 global_write
Global write: create_mag_data
Impact: low
Show code
create_mag_data = magazine_binder.create_mag_data
L15 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L16 🔴 global_write
Global write: get_weapon_base_type
Impact: low
Show code
get_weapon_base_type = magazine_binder.get_weapon_base_type
L17 🔴 global_write
Global write: get_mags_for_basetype
Impact: low
Show code
get_mags_for_basetype = magazine_binder.get_mags_for_basetype
L18 🔴 global_write
Global write: valid_mag_data
Impact: low
Show code
valid_mag_data = magazine_binder.valid_mag_data
L19 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = magazines_mcm.get_config
L20 🔴 global_write
Global write: validate_mag
Impact: low
Show code
validate_mag = magazine_binder.validate_mag
L21 🔴 global_write
Global write: validate_wep
Impact: low
Show code
validate_wep = magazine_binder.validate_wep
L112 🔴 global_write
Global write: SetWepCondition
Impact: low
Show code
SetWepCondition = death_manager.set_weapon_drop_condition

mags_patches.script

L227 🟡 string_concat_in_loop
String concat in loop: _str = _str .. x
Impact: critical
Show code
_str = _str .. clr_p .. gc("st_dot") .. " ".. clr_1 .. gc("st_mag_"..k) .. " " .. utils_xml.get_color_con(color_ratio) .. v .. "/" .. total ..(total > outfit_slots[k] and string.format(gc("st_mag_bonus"),outfit_slots[k],total - outfit_slots[k] ) or "") .. "\\n"
L233 🟡 string_concat_in_loop
String concat in loop: _str = _str .. x
Impact: critical
Show code
_str = _str .. clr_p .. gc("st_dot") .. " ".. clr_1 .. gc("st_mag_"..k)..slots.. "\\n"
L299 🟡 string_concat_in_loop
String concat in loop: _str = _str .. x
Impact: critical
Show code
_str = _str .. "\\n " .. gc("st_dot").." ".. collected[#collected - i + 1]
L3 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L4 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = magazine_binder.get_data
L5 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = magazine_binder.set_data
L6 🔴 global_write
Global write: dump_data
Impact: low
Show code
dump_data = magazine_binder.dump_data
L7 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = magazine_binder.is_supported_weapon
L8 🔴 global_write
Global write: get_magazine_caliber
Impact: low
Show code
get_magazine_caliber = magazine_binder.get_magazine_caliber
L9 🔴 global_write
Global write: is_compatible
Impact: low
Show code
is_compatible = magazine_binder.is_compatible
L10 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L11 🔴 global_write
Global write: get_weapon_base_type
Impact: low
Show code
get_weapon_base_type = magazine_binder.get_weapon_base_type
L12 🔴 global_write
Global write: is_carried_mag
Impact: low
Show code
is_carried_mag = magazine_binder.is_carried_mag
L13 🔴 global_write
Global write: toggle_carried_mag
Impact: low
Show code
toggle_carried_mag = magazine_binder.toggle_carried_mag
L14 🔴 global_write
Global write: room_in_pouch
Impact: low
Show code
room_in_pouch = magazine_binder.room_in_pouch
L15 🔴 global_write
Global write: eject
Impact: low
Show code
eject = magazines.eject_magazine
L16 🔴 global_write
Global write: get_total_carried
Impact: low
Show code
get_total_carried = magazine_binder.get_total_carried
L17 🔴 global_write
Global write: get_loadout_size
Impact: low
Show code
get_loadout_size = magazine_binder.get_loadout_size
L18 🔴 global_write
Global write: weapon_default_magazine
Impact: low
Show code
weapon_default_magazine = magazine_binder.weapon_default_magazine
L19 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = magazine_binder.get_mag_loaded
L20 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L21 🔴 global_write
Global write: has_loadout_slots
Impact: low
Show code
has_loadout_slots = magazine_binder.has_loadout_slots
L22 🔴 global_write
Global write: get_loadout_slots
Impact: low
Show code
get_loadout_slots = magazine_binder.get_loadout_slots
L23 🔴 global_write
Global write: create_mag_data
Impact: low
Show code
create_mag_data = magazine_binder.create_mag_data
L24 🔴 global_write
Global write: validate_mag
Impact: low
Show code
validate_mag = magazine_binder.validate_mag
L25 🔴 global_write
Global write: validate_wep
Impact: low
Show code
validate_wep = magazine_binder.validate_wep
L26 🔴 global_write
Global write: create_time_event
Impact: low
Show code
create_time_event = magazines.create_time_event
L27 🔴 global_write
Global write: get_sec_chambered
Impact: low
Show code
get_sec_chambered = magazines.get_sec_chambered
L28 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = magazines_mcm.get_config
L42 🔴 global_write
Global write: mousebase
Impact: low
Show code
mousebase = utils_ui.UICellContainer.On_Mouse1
L84 🔴 global_write
Global write: DisassemblyWeapon
Impact: low
Show code
DisassemblyWeapon = item_parts.disassembly_weapon
L100 🔴 global_write
Global write: WorkshopUpgrade
Impact: low
Show code
WorkshopUpgrade = ui_workshop.UIWorkshopUpgrade.Upgrade
L122 🔴 global_write
Global write: WorkshopRepair
Impact: low
Show code
WorkshopRepair = ui_workshop.UIWorkshopRepair.Repair
L143 🔴 global_write
Global write: CanRepair
Impact: low
Show code
CanRepair = inventory_upgrades.can_repair_item
L149 🔴 global_write
Global write: TechUpgrade
Impact: low
Show code
TechUpgrade = ui_inventory.UIInventory.RMode_UpgradeYes
L165 🔴 global_write
Global write: UnloadAll
Impact: low
Show code
UnloadAll = item_weapon.unload_all_weapons
L200 🔴 global_write
Global write: original_build_desc_header
Impact: low
Show code
original_build_desc_header = ui_item.build_desc_header
L274 🔴 global_write
Global write: original_build_desc_footer
Impact: low
Show code
original_build_desc_footer = ui_item.build_desc_footer
L297 🔴 global_write
Global write: collected
Impact: low
Show code
collected = collect_mag_data(mag_data, true)
L320 🔴 global_write
Global write: CloneWep
Impact: low
Show code
CloneWep = _G.alife_clone_weapon
L394 🔴 global_write
Global write: id_1
Impact: low
Show code
id_1 = alife_create_item(default_mag, db.actor)
L395 🔴 global_write
Global write: id_2
Impact: low
Show code
id_2 = alife_create_item(default_mag, db.actor)
L404 🔴 global_write
Global write: NewGameEquipment
Impact: low
Show code
NewGameEquipment = itms_manager.new_game_equippment
L410 🔴 global_write
Global write: AzazelDeath
Impact: low
Show code
AzazelDeath = gamemode_azazel.actor_on_before_death
L473 🔴 global_write
Global write: BarTele
Impact: low
Show code
BarTele = xr_effects.bar_arena_teleport
L864 🔴 global_write
Global write: DetachScope
Impact: low
Show code
DetachScope = item_weapon.detach_scope
L866 🔴 global_write
Global write: AttachScope
Impact: low
Show code
AttachScope = item_weapon.attach_scope

AllC_AI_NPCs_Die_In_Anomalies

4 files (🟢0 🟡0 🔴6 🔵3)

zz_allc0r3_mai_anomalies_settings.script

L9 🔴 global_write
Global write: mai_always_ignore_anom
Impact: low
Show code
mai_always_ignore_anom = {

zz_allc0r3_mai_location_settings.script

L10 🔴 global_write
Global write: mai_always_ignore_levels
Impact: low
Show code
mai_always_ignore_levels = {

zz_allc0r3_mai_main.script

L99 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[%s][MAI][%s] %s", time_global(), category, msg)
L106 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[%s][MAI][%s] %s", time_global(), category, msg)
L1488 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[MAI][DEATH] %s (%s %s) killed by %s (%s) while %s",

zz_allc0r3_mai_npc_settings.script

L12 🔴 global_write
Global write: demonized_ignore_npc
Impact: low
Show code
demonized_ignore_npc = {
L730 🔴 global_write
Global write: mai_always_full_ignore_community
Impact: low
Show code
mai_always_full_ignore_community = {
L735 🔴 global_write
Global write: mai_no_evade_community
Impact: low
Show code
mai_no_evade_community = {
L740 🔴 global_write
Global write: mai_no_damage_community
Impact: low
Show code
mai_no_damage_community = {

Ammo Check - Priler

3 files (🟢0 🟡0 🔴29 🔵14)

ammo_check_mcm.script

L251 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AC] " .. msg, ...)
L257 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
if dbg_log then dbg_log:log(msg, ...) end
L1073 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[AmmoCheck DEBUG] Weapon: %s | HUD: %s", sec, hud_section)
L1075 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(" [+] %s", anm)
L1105 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[AmmoCheck DEBUG] %s %s delay set to %.1fs", sec, weapon_type, new_delay)
L1142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[AmmoCheck DEBUG] %s: %s", msg, tostring(err))
L1148 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[AmmoCheck DEBUG] %s", msg)
L287 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = null_function
L288 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = null_function
L289 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = null_function
L290 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = null_function
L291 🔴 global_write
Global write: is_jammed_weapon
Impact: low
Show code
is_jammed_weapon = null_function
L292 🔴 global_write
Global write: get_sec_chambered
Impact: low
Show code
get_sec_chambered = nil_function -- must return nil, not false
L983 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = magazine_binder.get_data
L984 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = magazine_binder.set_data
L985 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = magazine_binder.get_mag_loaded or get_mag_loaded_shim
L986 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = magazine_binder.is_supported_weapon
L987 🔴 global_write
Global write: is_jammed_weapon
Impact: low
Show code
is_jammed_weapon = magazines.is_jammed_weapon
L988 🔴 global_write
Global write: get_sec_chambered
Impact: low
Show code
get_sec_chambered = magazines.get_sec_chambered
L991 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = null_function
L992 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = null_function
L993 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = null_function
L994 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = null_function
L995 🔴 global_write
Global write: is_jammed_weapon
Impact: low
Show code
is_jammed_weapon = null_function
L996 🔴 global_write
Global write: get_sec_chambered
Impact: low
Show code
get_sec_chambered = nil_function -- must return nil, not false

ammo_check_weapons.script

L28 🔴 global_write
Global write: config_cache
Impact: low
Show code
config_cache = {}
L34 🔴 global_write
Global write: break_action_shotguns
Impact: low
Show code
break_action_shotguns = {
L44 🔴 global_write
Global write: bolt_action_rifles
Impact: low
Show code
bolt_action_rifles = {
L69 🔴 global_write
Global write: pump_action_shotguns
Impact: low
Show code
pump_action_shotguns = {
L98 🔴 global_write
Global write: pistol_smg_animations
Impact: low
Show code
pistol_smg_animations = {
L119 🔴 global_write
Global write: rifle_animations
Impact: low
Show code
rifle_animations = {
L134 🔴 global_write
Global write: sniper_animations
Impact: low
Show code
sniper_animations = {
L152 🔴 global_write
Global write: ignore_fake_animations
Impact: low
Show code
ignore_fake_animations = {
L179 🔴 global_write
Global write: eject_shell_exclude
Impact: low
Show code
eject_shell_exclude = {
L198 🔴 global_write
Global write: config_cache
Impact: low
Show code
config_cache = {}
L406 🔴 global_write
Global write: config_cache
Impact: low
Show code
config_cache = {}

animation_common.script

L70 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AnimCommon] ERROR: add_anim_mutator called with nil functor")
L75 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AnimCommon] ERROR: add_anim_mutator functor must be a function, got %s", g_type(functor))
L84 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AnimCommon] WARNING: condition must be a function, ignoring")
L201 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AnimCommon] ERROR: get_safe_sound_object - path is nil")
L205 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AnimCommon] ERROR: get_safe_sound_object - section is nil")
L333 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AnimCommon] ERROR in mutator condition '%s': %s",
L345 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AnimCommon] ERROR in mutator '%s': %s",

Animated_Campfire_Ignition

1 file (🟢0 🟡0 🔴15 🔵0)

zzz_matches_anim.script

L1 🔴 global_write
Global write: anim_item
Impact: low
Show code
anim_item = nil
L2 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = nil
L3 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = nil
L4 🔴 global_write
Global write: camp_obj
Impact: low
Show code
camp_obj = nil
L5 🔴 global_write
Global write: cur_fov
Impact: low
Show code
cur_fov = nil
L50 🔴 global_write
Global write: camp_obj
Impact: low
Show code
camp_obj = obj
L116 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = zzz_ea_addon_backpack.active_slot
L118 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = db.actor:active_slot()
L121 🔴 global_write
Global write: cur_fov
Impact: low
Show code
cur_fov = get_console():get_float("hud_fov")
L122 🔴 global_write
Global write: anim_item
Impact: low
Show code
anim_item = "tch_matches_fire_start_hud_anm"
L126 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = db.actor:active_detector() or nil
L145 🔴 global_write
Global write: anim_item
Impact: low
Show code
anim_item = nil
L146 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = nil
L147 🔴 global_write
Global write: camp_obj
Impact: low
Show code
camp_obj = nil
L148 🔴 global_write
Global write: cur_fov
Impact: low
Show code
cur_fov = nil

Animated_NPC_Healing

1 file (🟢0 🟡0 🔴11 🔵0)

zzz_wounded_heal_anim.script

L1 🔴 global_write
Global write: anim_item
Impact: low
Show code
anim_item = nil
L2 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = nil
L3 🔴 global_write
Global write: cur_fov
Impact: low
Show code
cur_fov = nil
L27 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = db.actor:active_slot()
L28 🔴 global_write
Global write: cur_fov
Impact: low
Show code
cur_fov = get_console():get_float("hud_fov")
L31 🔴 global_write
Global write: anim_item
Impact: low
Show code
anim_item = "tch_help_wounded_hud_anm"
L34 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = db.actor:active_detector() or nil
L56 🔴 global_write
Global write: anim_item
Impact: low
Show code
anim_item = nil
L57 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = nil
L58 🔴 global_write
Global write: camp_obj
Impact: low
Show code
camp_obj = nil
L59 🔴 global_write
Global write: cur_fov
Impact: low
Show code
cur_fov = nil

Anomaly Magazines Redux (need to disable GAMMA unjam reload same key)

15 files (🟢5 🟡3 🔴153 🔵32)

a_magazine.script

L1 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L2 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L4 🔴 global_write
Global write: GetCost
Impact: low
Show code
GetCost = utils_item.get_item_cost

actor_stash_patch.script

L6 🟢 repeated_item_section()
item:section() called 3x in <global>
Impact: low
Show code
Cache item:section() result

custom_functor_autoinject.script

L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."*"..g_tostring(t))
L114 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(t).." {")
L116 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..string.rep(" ",#pos+6).."}")
L118 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(val))
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..g_tostring(t))
L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L145 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L152 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L154 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L158 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L321 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s", k, v.index)
L324 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s, max custom_functor reached", k, v.index)
L426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, processing queue")
L429 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, type %s", v.type)
L466 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid, min 1, max 10, your slot: %s", slot)
L481 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid min 1, max 10, your slot: %s", slot)
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[" .. k .. "] => ")

mag_hud.script

L368 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sacle %s", scale)
L187 🔴 global_write
Global write: id
Impact: low
Show code
id = item:id()
L300 🔴 global_write
Global write: count
Impact: low
Show code
count = self.count
L402 🔴 global_write
Global write: p_width
Impact: low
Show code
p_width = parent_width or 1024
L403 🔴 global_write
Global write: p_center
Impact: low
Show code
p_center = p_width/2
L404 🔴 global_write
Global write: width
Impact: low
Show code
width = ele:GetWidth()
L405 🔴 global_write
Global write: pos
Impact: low
Show code
pos = ele:GetWndPos()
L406 🔴 global_write
Global write: anchorpos
Impact: low
Show code
anchorpos = {}
L410 🔴 global_write
Global write: ratio
Impact: low
Show code
ratio = (device().height / device().width) / (768 / 1024)
L411 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = anchorpos.left
L414 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = p_width - (p_width - (anchor and anchorpos[anchor] or anchorpos.left))*ratio
L416 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = p_center - (p_center - (anchor and anchorpos[anchor] or anchorpos.left))*ratio
L418 🔴 global_write
Global write: xadjust
Impact: low
Show code
xadjust = ratio * (anchor and anchorpos[anchor] or anchorpos.left)

magazine_binder.script

L63 🔴 global_write
Global write: tbl
Impact: low
Show code
tbl = {}
L312 🔴 global_write
Global write: carried
Impact: low
Show code
carried = get_total_carried()
L659 🔴 global_write
Global write: ready_color
Impact: low
Show code
ready_color = GetARGB(100, 255, 159, 82)

magazines.script

L209 🟢 repeated_item_section()
item:section() called 3x in on_item_drag_dropped
Impact: low
Show code
Cache item:section() result
L209 🟢 repeated_weapon_section()
weapon:section() called 3x in on_item_drag_dropped
Impact: low
Show code
Cache weapon:section() result
L375 🟢 repeated_ammo_section()
ammo:section() called 3x in chamber_single_round
Impact: low
Show code
Cache ammo:section() result
L36 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
dbg_log:log( text , ...)
L38 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "RAX: | %s | "..text ,time_global(), ...)
L50 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
err_log:log( text , ...)
L52 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe( "ERR: | %s | "..text ,time_global(), ...)
L6 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L7 🔴 global_write
Global write: get_mag_data
Impact: low
Show code
get_mag_data = magazine_binder.get_data
L8 🔴 global_write
Global write: set_mag_data
Impact: low
Show code
set_mag_data = magazine_binder.set_data
L9 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = magazine_binder.is_supported_weapon
L10 🔴 global_write
Global write: get_magazine_caliber
Impact: low
Show code
get_magazine_caliber = magazine_binder.get_magazine_caliber
L11 🔴 global_write
Global write: weapon_default_magazine
Impact: low
Show code
weapon_default_magazine = magazine_binder.weapon_default_magazine
L12 🔴 global_write
Global write: is_compatible
Impact: low
Show code
is_compatible = magazine_binder.is_compatible
L13 🔴 global_write
Global write: isMagazine
Impact: low
Show code
isMagazine = magazine_binder.is_magazine
L14 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L15 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = magazine_binder.get_mag_loaded
L16 🔴 global_write
Global write: is_carried_mag
Impact: low
Show code
is_carried_mag = magazine_binder.is_carried_mag
L17 🔴 global_write
Global write: toggle_carried_mag
Impact: low
Show code
toggle_carried_mag = magazine_binder.toggle_carried_mag
L18 🔴 global_write
Global write: get_carried_mags
Impact: low
Show code
get_carried_mags = magazine_binder.get_carried_mags
L19 🔴 global_write
Global write: room_in_pouch
Impact: low
Show code
room_in_pouch = magazine_binder.room_in_pouch
L20 🔴 global_write
Global write: get_retool_section
Impact: low
Show code
get_retool_section = magazine_binder.get_retool_section
L21 🔴 global_write
Global write: get_weapon_base_type
Impact: low
Show code
get_weapon_base_type = magazine_binder.get_weapon_base_type
L22 🔴 global_write
Global write: get_magazine_base_type
Impact: low
Show code
get_magazine_base_type = magazine_binder.get_magazine_base_type
L23 🔴 global_write
Global write: get_mags_for_basetype
Impact: low
Show code
get_mags_for_basetype = magazine_binder.get_mags_for_basetype
L24 🔴 global_write
Global write: dump_data
Impact: low
Show code
dump_data = magazine_binder.dump_data
L25 🔴 global_write
Global write: get_mags_by_ammo_type
Impact: low
Show code
get_mags_by_ammo_type = magazine_binder.get_mags_by_ammo_type
L26 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = magazines_mcm.get_config
L135 🔴 global_write
Global write: cache_mag_time
Impact: low
Show code
cache_mag_time = {}
L317 🔴 global_write
Global write: weapon
Impact: low
Show code
weapon = get_object_by_id(id)
L495 🔴 global_write
Global write: se_mag
Impact: low
Show code
se_mag = alife_create_item(mag_data.section, weapon:parent())
L620 🔴 global_write
Global write: FADArun
Impact: low
Show code
FADArun = enhanced_animations and enhanced_animations.used_item and true or false
L715 🔴 global_write
Global write: ext_ammo_obj
Impact: low
Show code
ext_ammo_obj = get_object_by_id(ext_ammo_box)
L720 🔴 global_write
Global write: new_ammo_box
Impact: low
Show code
new_ammo_box = find_next_box(ammo_section, ext_ammo_box)
L932 🔴 global_write
Global write: new_obj
Impact: low
Show code
new_obj = alife_create_item(retool_section, obj:parent())
L1058 🔴 global_write
Global write: args
Impact: low
Show code
args = str_explode(k, ",")

magazines_keybinds.script

L2 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L5 🔴 global_write
Global write: InventoryClick
Impact: low
Show code
InventoryClick = ui_inventory.UIInventory.On_CC_Mouse1

magazines_loot.script

L225 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!!! FRAUD DETECTED !!! Item %s should not have mag data!", sec)
L4 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L5 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = magazine_binder.get_data
L6 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = magazine_binder.set_data
L7 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = magazine_binder.get_mag_loaded
L8 🔴 global_write
Global write: prep_weapon
Impact: low
Show code
prep_weapon = magazines.prep_weapon
L9 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = magazine_binder.is_supported_weapon
L10 🔴 global_write
Global write: get_magazine_caliber
Impact: low
Show code
get_magazine_caliber = magazine_binder.get_magazine_caliber
L11 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L12 🔴 global_write
Global write: weapon_default_magazine
Impact: low
Show code
weapon_default_magazine = magazine_binder.weapon_default_magazine
L13 🔴 global_write
Global write: weapon_improved_magazine
Impact: low
Show code
weapon_improved_magazine = magazine_binder.weapon_improved_magazine
L14 🔴 global_write
Global write: create_mag_data
Impact: low
Show code
create_mag_data = magazine_binder.create_mag_data
L15 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L16 🔴 global_write
Global write: get_weapon_base_type
Impact: low
Show code
get_weapon_base_type = magazine_binder.get_weapon_base_type
L17 🔴 global_write
Global write: get_mags_for_basetype
Impact: low
Show code
get_mags_for_basetype = magazine_binder.get_mags_for_basetype
L18 🔴 global_write
Global write: valid_mag_data
Impact: low
Show code
valid_mag_data = magazine_binder.valid_mag_data
L19 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = magazines_mcm.get_config
L20 🔴 global_write
Global write: validate_mag
Impact: low
Show code
validate_mag = magazine_binder.validate_mag
L21 🔴 global_write
Global write: validate_wep
Impact: low
Show code
validate_wep = magazine_binder.validate_wep
L33 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update
L162 🔴 global_write
Global write: SetWepCondition
Impact: low
Show code
SetWepCondition = death_manager.set_weapon_drop_condition

magazines_mcm.script

L78 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "magazines",gr={

mags_patches.script

L227 🟡 string_concat_in_loop
String concat in loop: _str = _str .. x
Impact: critical
Show code
_str = _str .. clr_p .. gc("st_dot") .. " ".. clr_1 .. gc("st_mag_"..k) .. " " .. utils_xml.get_color_con(color_ratio) .. v .. "/" .. total ..(total > outfit_slots[k] and string.format(gc("st_mag_bonus"),outfit_slots[k],total - outfit_slots[k] ) or "") .. "\\n"
L233 🟡 string_concat_in_loop
String concat in loop: _str = _str .. x
Impact: critical
Show code
_str = _str .. clr_p .. gc("st_dot") .. " ".. clr_1 .. gc("st_mag_"..k)..slots.. "\\n"
L299 🟡 string_concat_in_loop
String concat in loop: _str = _str .. x
Impact: critical
Show code
_str = _str .. "\\n " .. gc("st_dot").." ".. collected[#collected - i + 1]
L3 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L4 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = magazine_binder.get_data
L5 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = magazine_binder.set_data
L6 🔴 global_write
Global write: dump_data
Impact: low
Show code
dump_data = magazine_binder.dump_data
L7 🔴 global_write
Global write: is_supported_weapon
Impact: low
Show code
is_supported_weapon = magazine_binder.is_supported_weapon
L8 🔴 global_write
Global write: get_magazine_caliber
Impact: low
Show code
get_magazine_caliber = magazine_binder.get_magazine_caliber
L9 🔴 global_write
Global write: is_compatible
Impact: low
Show code
is_compatible = magazine_binder.is_compatible
L10 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L11 🔴 global_write
Global write: get_weapon_base_type
Impact: low
Show code
get_weapon_base_type = magazine_binder.get_weapon_base_type
L12 🔴 global_write
Global write: is_carried_mag
Impact: low
Show code
is_carried_mag = magazine_binder.is_carried_mag
L13 🔴 global_write
Global write: toggle_carried_mag
Impact: low
Show code
toggle_carried_mag = magazine_binder.toggle_carried_mag
L14 🔴 global_write
Global write: room_in_pouch
Impact: low
Show code
room_in_pouch = magazine_binder.room_in_pouch
L15 🔴 global_write
Global write: eject
Impact: low
Show code
eject = magazines.eject_magazine
L16 🔴 global_write
Global write: get_total_carried
Impact: low
Show code
get_total_carried = magazine_binder.get_total_carried
L17 🔴 global_write
Global write: get_loadout_size
Impact: low
Show code
get_loadout_size = magazine_binder.get_loadout_size
L18 🔴 global_write
Global write: weapon_default_magazine
Impact: low
Show code
weapon_default_magazine = magazine_binder.weapon_default_magazine
L19 🔴 global_write
Global write: get_mag_loaded
Impact: low
Show code
get_mag_loaded = magazine_binder.get_mag_loaded
L20 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L21 🔴 global_write
Global write: has_loadout_slots
Impact: low
Show code
has_loadout_slots = magazine_binder.has_loadout_slots
L22 🔴 global_write
Global write: get_loadout_slots
Impact: low
Show code
get_loadout_slots = magazine_binder.get_loadout_slots
L23 🔴 global_write
Global write: create_mag_data
Impact: low
Show code
create_mag_data = magazine_binder.create_mag_data
L24 🔴 global_write
Global write: validate_mag
Impact: low
Show code
validate_mag = magazine_binder.validate_mag
L25 🔴 global_write
Global write: validate_wep
Impact: low
Show code
validate_wep = magazine_binder.validate_wep
L26 🔴 global_write
Global write: create_time_event
Impact: low
Show code
create_time_event = magazines.create_time_event
L27 🔴 global_write
Global write: get_sec_chambered
Impact: low
Show code
get_sec_chambered = magazines.get_sec_chambered
L28 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = magazines_mcm.get_config
L42 🔴 global_write
Global write: mousebase
Impact: low
Show code
mousebase = utils_ui.UICellContainer.On_Mouse1
L84 🔴 global_write
Global write: DisassemblyWeapon
Impact: low
Show code
DisassemblyWeapon = item_parts.disassembly_weapon
L100 🔴 global_write
Global write: WorkshopUpgrade
Impact: low
Show code
WorkshopUpgrade = ui_workshop.UIWorkshopUpgrade.Upgrade
L122 🔴 global_write
Global write: WorkshopRepair
Impact: low
Show code
WorkshopRepair = ui_workshop.UIWorkshopRepair.Repair
L143 🔴 global_write
Global write: CanRepair
Impact: low
Show code
CanRepair = inventory_upgrades.can_repair_item
L149 🔴 global_write
Global write: TechUpgrade
Impact: low
Show code
TechUpgrade = ui_inventory.UIInventory.RMode_UpgradeYes
L165 🔴 global_write
Global write: UnloadAll
Impact: low
Show code
UnloadAll = item_weapon.unload_all_weapons
L200 🔴 global_write
Global write: original_build_desc_header
Impact: low
Show code
original_build_desc_header = ui_item.build_desc_header
L274 🔴 global_write
Global write: original_build_desc_footer
Impact: low
Show code
original_build_desc_footer = ui_item.build_desc_footer
L297 🔴 global_write
Global write: collected
Impact: low
Show code
collected = collect_mag_data(mag_data, true)
L320 🔴 global_write
Global write: CloneWep
Impact: low
Show code
CloneWep = _G.alife_clone_weapon
L394 🔴 global_write
Global write: id_1
Impact: low
Show code
id_1 = alife_create_item(default_mag, db.actor)
L395 🔴 global_write
Global write: id_2
Impact: low
Show code
id_2 = alife_create_item(default_mag, db.actor)
L404 🔴 global_write
Global write: NewGameEquipment
Impact: low
Show code
NewGameEquipment = itms_manager.new_game_equippment
L410 🔴 global_write
Global write: AzazelDeath
Impact: low
Show code
AzazelDeath = gamemode_azazel.actor_on_before_death
L471 🔴 global_write
Global write: BarTele
Impact: low
Show code
BarTele = xr_effects.bar_arena_teleport
L862 🔴 global_write
Global write: DetachScope
Impact: low
Show code
DetachScope = item_weapon.detach_scope
L864 🔴 global_write
Global write: AttachScope
Impact: low
Show code
AttachScope = item_weapon.attach_scope

rax_persistent_highlight.script

L44 🔴 global_write
Global write: persistant_highlight
Impact: low
Show code
persistant_highlight = self:GetPersistantHighlight()
L47 🔴 global_write
Global write: color
Impact: low
Show code
color = main_clr and change_alpha(persistant_highlight, 255) or persistant_highlight -- if main_clr set the alpha to max for reasons.
L55 🔴 global_write
Global write: clr_cache
Impact: low
Show code
clr_cache = {}
L62 🔴 global_write
Global write: b
Impact: low
Show code
b = bit_band(clr, 255)
L63 🔴 global_write
Global write: g
Impact: low
Show code
g = bit_band(bit.rshift(clr, 8), 255)
L64 🔴 global_write
Global write: r
Impact: low
Show code
r = bit_band(bit.rshift(clr, 16), 255)

rax_stacking_control.script

L54 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UICellContainer:ValidateSimilar | no data recieved!")
L86 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UICellContainer:FindSimilar | no data recieved!")

trader_autoinject.script

L184 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

ui_encyclopedia_autoinject.script

L16 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("category: processing %s", section)
L22 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("article: processing %s", section)
L59 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("there are %s new categories", #new_cat)
L33 🔴 global_write
Global write: InitArticles
Impact: low
Show code
InitArticles = ui_pda_encyclopedia_tab.pda_encyclopedia_tab.InitArticles
L56 🔴 global_write
Global write: InitCategories
Impact: low
Show code
InitCategories = ui_pda_encyclopedia_tab.pda_encyclopedia_tab.InitCategories
L62 🔴 global_write
Global write: item
Impact: low
Show code
item = ui_pda_encyclopedia_tab.pda_encyclopedia_entry(v, k, clr)

yyy_mag_sorting.script

L6 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder.is_magazine
L7 🔴 global_write
Global write: is_carried_mag
Impact: low
Show code
is_carried_mag = magazine_binder.is_carried_mag
L8 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = magazines.print_dbg
L11 🔴 global_write
Global write: ini
Impact: low
Show code
ini = ini_sys
L14 🔴 global_write
Global write: ui_catagories
Impact: low
Show code
ui_catagories = {}
L15 🔴 global_write
Global write: item_order
Impact: low
Show code
item_order = {}
L17 🔴 global_write
Global write: ab_w
Impact: low
Show code
ab_w, ab_h, ab_k = {}, {}, {}
L17 🔴 global_write
Global write: ab_h
Impact: low
Show code
ab_w, ab_h, ab_k = {}, {}, {}
L17 🔴 global_write
Global write: ab_k
Impact: low
Show code
ab_w, ab_h, ab_k = {}, {}, {}
L18 🔴 global_write
Global write: a_sec
Impact: low
Show code
a_sec, a_w, a_h, a_k = nil, nil, nil, nil
L18 🔴 global_write
Global write: a_w
Impact: low
Show code
a_sec, a_w, a_h, a_k = nil, nil, nil, nil
L18 🔴 global_write
Global write: a_h
Impact: low
Show code
a_sec, a_w, a_h, a_k = nil, nil, nil, nil
L18 🔴 global_write
Global write: a_k
Impact: low
Show code
a_sec, a_w, a_h, a_k = nil, nil, nil, nil
L19 🔴 global_write
Global write: b_sec
Impact: low
Show code
b_sec, b_w, b_h, b_k = nil, nil, nil, nil
L19 🔴 global_write
Global write: b_w
Impact: low
Show code
b_sec, b_w, b_h, b_k = nil, nil, nil, nil
L19 🔴 global_write
Global write: b_h
Impact: low
Show code
b_sec, b_w, b_h, b_k = nil, nil, nil, nil
L19 🔴 global_write
Global write: b_k
Impact: low
Show code
b_sec, b_w, b_h, b_k = nil, nil, nil, nil
L42 🔴 global_write
Global write: a_sec
Impact: low
Show code
a_sec = asec
L43 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(a_sec,1)
L52 🔴 global_write
Global write: a_w
Impact: low
Show code
a_w = ab_w[a_sec]
L53 🔴 global_write
Global write: a_h
Impact: low
Show code
a_h = ab_h[a_sec]
L54 🔴 global_write
Global write: a_k
Impact: low
Show code
a_k = item_order[ab_k[a_sec]]
L57 🔴 global_write
Global write: b_sec
Impact: low
Show code
b_sec = bsec
L58 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(b_sec,1)
L67 🔴 global_write
Global write: b_w
Impact: low
Show code
b_w = ab_w[b_sec]
L68 🔴 global_write
Global write: b_h
Impact: low
Show code
b_h = ab_h[b_sec]
L69 🔴 global_write
Global write: b_k
Impact: low
Show code
b_k = item_order[ab_k[b_sec]]
L192 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(sec,1)

Anomaly Radio Revamp

1 file (🟢0 🟡0 🔴1 🔵0)

ui_pda_radio_tab.script

L179 🔴 global_write
Global write: wthr
Impact: low
Show code
wthr = gini:r_string_ex(levels[i],"weathers")

Anomaly_Popup_Messages

4 files (🟢1 🟡0 🔴4 🔵0)

apm_aa_ui_popup_messages_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op = {

apm_killfeed_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op = {

popup_pickup.script

L76 🟢 repeated_item_section()
item:section() called 2x in actor_on_item_take
Impact: low
Show code
Cache item:section() result

ui_popup_messages.script

L11 🔴 global_write
Global write: validGUI
Impact: low
Show code
validGUI = {
L115 🔴 global_write
Global write: ScalingPresets
Impact: low
Show code
ScalingPresets = {

Arrival

10 files (🟢3 🟡0 🔴73 🔵127)

arrival_environmental_particles.script

L43 🔴 global_write
Global write: dont_play_inside_particles
Impact: low
Show code
dont_play_inside_particles = {
L50 🔴 global_write
Global write: weather_to_particles
Impact: low
Show code
weather_to_particles = {

demonized_concurrent_queues.script

L50 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s is not table, abort", queue_table)
L55 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("queue %s is already active, abort", queue_name)
L46 🔴 global_write
Global write: active_queues
Impact: low
Show code
active_queues = {}

demonized_time_events.script

L37 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L40 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L42 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L47 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L49 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L53 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L55 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L60 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L62 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)

drx_da_main.script

L2045 🟢 repeated_device
device called 7x in <global>
Impact: low
Show code
local dev = device()
L2135 🟢 repeated_obj_section()
obj:section() called 4x in <global>
Impact: low
Show code
Cache obj:section() result
L85 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."*"..g_tostring(t))
L91 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(t).." {")
L93 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..string.rep(" ",#pos+6).."}")
L95 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(val))
L99 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..g_tostring(t))
L112 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(error_or_result)
L166 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("snd is nil")
L199 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("current_time %s, adding effect %s", time_elapsed, time_elapsed + (timer or 0))
L213 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
effect_function = effect_function and dump(effect_function),
L218 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
on_end_function = on_end_function and dump(on_end_function),
L269 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("removing effect, key %s", key)
L271 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("removing effect, firing on end, key %s", key)
L288 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("removing effect, effect timer %s, current_time %s", props.timer, time_elapsed)
L312 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("registering callback %s, key %s", callback, key)
L319 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("unregistering callback %s, %s", key, callbacks[key].callback)
L591 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("removed restriction %s for level %s", se_obj:name(), se_obj_level)
L657 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("adding anomaly %s to smart %s", se_obj:section_name(), smart_name)
L688 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("disabling anomaly %s, %s, level %s", g_obj:section(), g_obj:id(), level_name)
L706 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("enabling anomaly %s, %s, level %s", g_obj:section(), g_obj:id(), level_name)
L723 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, object is not an anomaly, %s, %s, on level %s", obj:section_name(), obj.id, level_name)
L727 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("removing anomaly object %s, %s, on level %s", obj:section_name(), obj.id, level_name)
L796 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, can't remove old anomaly %s, level %s, in restriction", anom_id, level_name)
L805 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("old anomalies already cleaned on level %s", level_name)
L813 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, updated_anomaly_levels table not found for %s", level_name)
L835 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, can't remove anomaly %s, level %s, in restriction", t[i], level_name)
L840 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Anomalies cleaned on level %s", level_name)
L889 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Deleting anomaly %s, %s globally, level %s", se_obj:section_name(), v1, k)
L893 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, object is not an anomaly, %s, %s, on level %s", se_obj:section_name(), v1, k)
L910 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("can't delete anomaly %s globally, level %s, in restriction", v1, k)
L931 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, can't remove old anomaly %s, level %s, in restriction", anom_id, k)
L940 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("old anomalies already cleaned on level %s", k)
L944 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Cleaned dynamic anomalies globally")
L957 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Unable to create dynamic anomaly field for %s, the specified smart location does not exist", smart_name)
L973 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Dynamic anomaly field %s spawned at %s, level %s", anomaly_type, smart_name, level_name)
L977 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: failed to generate position")
L985 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("ltx file not found: %s", level_file_name)
L992 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Dynamic anomalies not spawned, spawn chance is 0")
L999 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Dynamic anomalies not spawned, max anomaly count is 0")
L1006 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Dynamic anomalies not spawned, max active count is 0")
L1029 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, unable to get data for %s", level_name)
L1078 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("disable all new anomalies, found section %s", v)
L1089 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("anomaly %s is not enabled", v)
L1129 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("picked anomaly type %s", anomaly_type)
L1164 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No dynamic anomaly types specified for level %s", level_name)
L1167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("no anomalies spawn on smart %s, level %s in restriction", smart_name, level_name)
L1212 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, anomaly %s failed to spawn correctly, releasing", anom_type)
L1226 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Unable to spawn dynamic anomaly")
L1233 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Unable to set dynamic anomaly properties")
L1340 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Unable to generate positional data, specified smart location does not exist")
L1400 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Anomaly type %s, Position data valid, distance %s, saving %s, %s, %s", anomaly_type, distance, pos_x, pos_y, pos_z)
L1404 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Anomaly type %s, Position data invalid, too close, distance %s, %s, %s, %s", anomaly_type, distance, pos_x, pos_y, pos_z)
L1408 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Anomaly type %s, Can't check position data %s, %s, %s", anomaly_type, pos_x, pos_y, pos_z)
L1414 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Anomaly type %s, Position data provided, saving %s, %s, %s", anomaly_type, pos_x, pos_y, pos_z)
L1426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Unable to generate valid lvid pos, aborting")
L1444 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("releasing artefact %s, sec %s, level_name %s", k, v, level_name)
L1455 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Unable to create artefact %s, is nil", picked_artefact)
L1462 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Unable to create artefact for %s, the specified smart location does not exist", smart_name)
L1481 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Artefact %s, id %s spawned at %s, level %s", picked_artefact, artefact.id, smart_name, level_name)
L1485 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: failed to generate position")
L1495 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, unable to get data for %s", level_name)
L1522 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s has smarts with anomalies, try to spawn artefacts", level_name)
L1526 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("checking smart %s for spawning artefacts", smart_name)
L1528 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("try to spawn artefacts on smart %s", smart_name)
L1534 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("artefacts dice roll %s, chance %s, spawn %s", dice_roll, chance, dice_roll <= chance)
L1552 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("picking artefact by level %s, anomaly zone %s has defined arty list", level_name, anomaly_type)
L1555 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("picking artefact by level %s", level_name)
L1560 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("artefact is not allowed to spawn, repicking")
L1566 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("picking random artefacts")
L1571 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("failed to pick artefact by level, pick random from allowed, level_name %s, anomaly_type %s, has artefacts_map_tiers %s, has anomaly_type_to_artefacts %s", level_name, anomaly_type, artefacts_map_tiers ~= nil, anomaly_type_to_artefacts[anomaly_type] ~= nil)
L1589 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("picked artefact to spawn %s, anomaly_type %s, smart %s level %s", picked_artefact, anomaly_type, smart_name, level_name)
L1594 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("error, unabled to spawn artefact %s, anomaly_type %s, smart %s level %s", picked_artefact, anomaly_type, smart_name, level_name)
L1602 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s has no smarts with anomalies, dont spawn artefacts", level_name)
L1611 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Cannot update anomalies, db.actor not available")
L1618 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error: Cannot update anomalies, surge manager not available")
L1631 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, failed to spawn anomalies")
L1636 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("updated anomalies on level %s", level_name)
L1645 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("anomalies not updated on level %s, no emission happened, last_surge_time %s, level update time %s", level_name, last_surge_time, updated_anomaly_levels[level_name].time)
L1665 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("saved level %s, current level %s", alife_storage_manager.get_state().drx_da_previous_level, level.name())
L1675 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("on the same level, only register behaviour")
L1701 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("anomalies updated, unregistering")
L1717 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("anomalies behaviour, anomalies not found for level %s", level_name)
L1729 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("anomalies behaviour, turning on behaviour for level %s", level_name)
L1983 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("trying to spawn poltergeist")
L2008 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("trying to multiply seed anomaly")
L2087 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("trying to spawn phantom")
L3261 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("surge happened globally at %s", last_surge_time)
L3262 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("update on level %s after emission", level.name())
L3269 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("surge happened globally at %s", get_time_elapsed())
L3270 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("update artefacts on level %s after emission", level.name())
L3282 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("taken created artefact %s, id %s, level_name %s", updated_anomaly_levels[level_name].artefacts[id], id, level_name)
L3296 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("change_time")
L3374 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("flash got hit %s", monster:section())
L3493 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("saving previous_level")
L3567 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("article not found for %s", section)
L3573 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("article already opened for %s", section)
L3579 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("youre too stupid for article boy")
L3634 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("time resetted for %s", k)
L3636 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("last_surge_time is 0")
L3654 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, unable to get data for %s", level_name)
L3675 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Error, unable to get data for %s", level_name)
L3705 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("picked anomaly type %s", anomaly_type)
L3721 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No dynamic anomaly types specified for level %s", level_name)
L3724 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("no anomalies spawn on smart %s, level %s in restriction", smart_name, level_name)
L3751 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("anomalies updated after surge on level %s", level_name)
L197 🔴 global_write
Global write: timed_effects
Impact: low
Show code
timed_effects = {}
L298 🔴 global_write
Global write: callbacks
Impact: low
Show code
callbacks = {}
L361 🔴 global_write
Global write: reduced_chance_levels
Impact: low
Show code
reduced_chance_levels = {
L375 🔴 global_write
Global write: anomaly_radii
Impact: low
Show code
anomaly_radii = {
L419 🔴 global_write
Global write: updated_anomaly_levels
Impact: low
Show code
updated_anomaly_levels = {}
L420 🔴 global_write
Global write: last_surge_time
Impact: low
Show code
last_surge_time = 0
L1289 🔴 global_write
Global write: small_levels
Impact: low
Show code
small_levels = {
L1295 🔴 global_write
Global write: anomalies_distance_check_ignore
Impact: low
Show code
anomalies_distance_check_ignore = {
L1315 🔴 global_write
Global write: anomalies_radiation_fields
Impact: low
Show code
anomalies_radiation_fields = {
L1710 🔴 global_write
Global write: anomalies_do_not_register_behaviour
Impact: low
Show code
anomalies_do_not_register_behaviour = {
L1770 🔴 global_write
Global write: anomalies_pos_tree
Impact: low
Show code
anomalies_pos_tree = nil
L1771 🔴 global_write
Global write: detectable_anomalies_pos_tree
Impact: low
Show code
detectable_anomalies_pos_tree = nil
L1772 🔴 global_write
Global write: detectable_anomalies_ids
Impact: low
Show code
detectable_anomalies_ids = {}
L1773 🔴 global_write
Global write: anomalies_obj_to_pos
Impact: low
Show code
anomalies_obj_to_pos = {}
L1774 🔴 global_write
Global write: anomalies_sec_to_obj
Impact: low
Show code
anomalies_sec_to_obj = {}
L1776 🔴 global_write
Global write: common_sec
Impact: low
Show code
common_sec = {
L1854 🔴 global_write
Global write: detectable_anomalies_pos_tree
Impact: low
Show code
detectable_anomalies_pos_tree = kd_tree.buildTreeSeObjectIds(t)
L1876 🔴 global_write
Global write: anomalies_vars
Impact: low
Show code
anomalies_vars = {
L1913 🔴 global_write
Global write: condition
Impact: low
Show code
condition = function() return true end
L1915 🔴 global_write
Global write: condition
Impact: low
Show code
condition = function() return false end
L1932 🔴 global_write
Global write: condition
Impact: low
Show code
condition = function() return true end
L1934 🔴 global_write
Global write: condition
Impact: low
Show code
condition = function() return false end
L1957 🔴 global_write
Global write: anomalies_near_actor_radii
Impact: low
Show code
anomalies_near_actor_radii = {
L1969 🔴 global_write
Global write: anomalies_near_actor_functions
Impact: low
Show code
anomalies_near_actor_functions = {
L2376 🔴 global_write
Global write: pda_glitch_value
Impact: low
Show code
pda_glitch_value = clamp(mine_factor ^ 0.5, 0, 1)
L2378 🔴 global_write
Global write: pda_glitch_value
Impact: low
Show code
pda_glitch_value = nil
L2443 🔴 global_write
Global write: pda_glitch_value
Impact: low
Show code
pda_glitch_value = clamp(mine_factor ^ 0.5, 0, 1)
L2445 🔴 global_write
Global write: pda_glitch_value
Impact: low
Show code
pda_glitch_value = nil
L2465 🔴 global_write
Global write: anomalies_spawn_functions
Impact: low
Show code
anomalies_spawn_functions = {
L2816 🔴 global_write
Global write: anomalies_destroy_functions
Impact: low
Show code
anomalies_destroy_functions = {
L2841 🔴 global_write
Global write: anomaly_detector_ignore
Impact: low
Show code
anomaly_detector_ignore = {
L2959 🔴 global_write
Global write: detector_functions
Impact: low
Show code
detector_functions = {
L3043 🔴 global_write
Global write: bind_anomaly_field_spawn
Impact: low
Show code
bind_anomaly_field_spawn = bind_anomaly_field.anomaly_field_binder.net_spawn
L3130 🔴 global_write
Global write: bind_anomaly_field_destroy
Impact: low
Show code
bind_anomaly_field_destroy = bind_anomaly_field.anomaly_field_binder.net_destroy
L3160 🔴 global_write
Global write: bind_anomaly_field_update
Impact: low
Show code
bind_anomaly_field_update = bind_anomaly_field.anomaly_field_binder.update
L3210 🔴 global_write
Global write: pda_glitch_value
Impact: low
Show code
pda_glitch_value = nil
L3211 🔴 global_write
Global write: process_glitch
Impact: low
Show code
process_glitch = item_device.device_binder.process_glitch
L3219 🔴 global_write
Global write: process_flicker
Impact: low
Show code
process_flicker = item_device.device_binder.process_flicker
L3224 🔴 global_write
Global write: process_torch
Impact: low
Show code
process_torch = item_device.device_binder.process_torch
L3259 🔴 global_write
Global write: last_surge_time
Impact: low
Show code
last_surge_time = get_time_elapsed()
L3292 🔴 global_write
Global write: anomalies_hit_functions
Impact: low
Show code
anomalies_hit_functions = {
L3370 🔴 global_write
Global write: anomalies_monster_hit_functions
Impact: low
Show code
anomalies_monster_hit_functions = {
L3396 🔴 global_write
Global write: npc_on_near_anomalies_functions
Impact: low
Show code
npc_on_near_anomalies_functions = {
L3459 🔴 global_write
Global write: timed_effects
Impact: low
Show code
timed_effects = t
L3461 🔴 global_write
Global write: last_surge_time
Impact: low
Show code
last_surge_time = m_data.drx_da_last_surge_time or 0
L3462 🔴 global_write
Global write: updated_anomaly_levels
Impact: low
Show code
updated_anomaly_levels = m_data.drx_da_updated_anomaly_levels or {}
L3463 🔴 global_write
Global write: opened_articles
Impact: low
Show code
if m_data.drx_da_opened_articles then opened_articles = m_data.drx_da_opened_articles end
L3540 🔴 global_write
Global write: additional_articles_to_category
Impact: low
Show code
additional_articles_to_category = {
L3559 🔴 global_write
Global write: opened_articles
Impact: low
Show code
opened_articles = {
L3613 🔴 global_write
Global write: InitArticles
Impact: low
Show code
InitArticles = ui_pda_encyclopedia_tab.pda_encyclopedia_tab.InitArticles
L3631 🔴 global_write
Global write: last_surge_time
Impact: low
Show code
last_surge_time = 0

drx_da_main_artefacts.script

L11 🔴 global_write
Global write: allowed_artefacts
Impact: low
Show code
allowed_artefacts = (function() -- Allowed artefacts to spawn
L120 🔴 global_write
Global write: artefacts_map_chances
Impact: low
Show code
artefacts_map_chances = {
L138 🔴 global_write
Global write: artefacts_map_tiers
Impact: low
Show code
artefacts_map_tiers = {
L1877 🔴 global_write
Global write: anomaly_type_to_artefacts
Impact: low
Show code
anomaly_type_to_artefacts = {

drx_da_main_mcm.script

L143 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("DRX DA preset %s not found", p)
L2 🔴 global_write
Global write: new_anomalies_sections
Impact: low
Show code
new_anomalies_sections = {
L19 🔴 global_write
Global write: variations_anomalies_sections
Impact: low
Show code
variations_anomalies_sections = {
L30 🔴 global_write
Global write: presets
Impact: low
Show code
presets = {
L69 🔴 global_write
Global write: op_id
Impact: low
Show code
op_id = "drx_da"
L70 🔴 global_write
Global write: op_preset_id
Impact: low
Show code
op_preset_id = "presets"
L72 🔴 global_write
Global write: op
Impact: low
Show code
op = {
L193 🔴 global_write
Global write: MCM_Callback_List
Impact: low
Show code
MCM_Callback_List = ui_mcm.UIMCM.Callback_List

drx_da_main_traders.script

L1 🔴 global_write
Global write: get_param
Impact: low
Show code
get_param = utils_item.SYS_GetParam
L11 🔴 global_write
Global write: trade_table
Impact: low
Show code
trade_table = {
L40 🔴 global_write
Global write: spawn_chance
Impact: low
Show code
spawn_chance = 1
L73 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

new_game_loadout_injector_mcm.script

L78 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loadout Injector: " .. str, ...)
L82 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Loadout Injector: ERROR, " .. str, ...)
L109 🔴 global_write
Global write: loadout_items
Impact: low
Show code
loadout_items = {}
L112 🔴 global_write
Global write: loadout_removed_items
Impact: low
Show code
loadout_removed_items = {}

thirst_sleep_changer.script

L4 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(str, ...)
L38 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("thirst not enabled, nothing changed")
L57 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("thirst changed by %s%", perc)
L62 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("sleep not enabled, nothing changed")
L81 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("sleep changed by %s%", perc)
L86 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("thirst not enabled, nothing changed")
L105 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("thirst changed by %s%", perc * 0.1)
L110 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("sleep not enabled, nothing changed")
L129 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("sleep changed by %s%", perc * 0.1)

trader_autoinject.script

L184 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

ArszisControllerOverhaul

2 files (🟢0 🟡0 🔴5 🔵0)

arszi_controller.script

L1361 🔴 global_write
Global write: ShowMessage
Impact: low
Show code
ShowMessage = true
L1362 🔴 global_write
Global write: ShowMessageInit
Impact: low
Show code
ShowMessageInit = game.get_game_time()
L1363 🔴 global_write
Global write: ShowMessageTime
Impact: low
Show code
ShowMessageTime = time

xr_controllable_stalker.script

L6 🔴 global_write
Global write: controllable_stalker_evid
Impact: low
Show code
controllable_stalker_evid = 19999
L7 🔴 global_write
Global write: controllable_stalker_actid
Impact: low
Show code
controllable_stalker_actid = 19999

ArtifactsInspectionv

1 file (🟢1 🟡0 🔴25 🔵0)

af_inspect.script

L30 🟢 repeated_itm_section()
itm:section() called 4x in inspect
Impact: low
Show code
Cache itm:section() result
L1 🔴 global_write
Global write: af_anim_item
Impact: low
Show code
af_anim_item = nil
L2 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = nil
L3 🔴 global_write
Global write: particle
Impact: low
Show code
particle = nil
L4 🔴 global_write
Global write: pos
Impact: low
Show code
pos = nil
L5 🔴 global_write
Global write: fov
Impact: low
Show code
fov = nil
L6 🔴 global_write
Global write: ini
Impact: low
Show code
ini = ini_file("mod_system_af_inspect_anim.ltx")
L7 🔴 global_write
Global write: particle
Impact: low
Show code
particle = particles_object("artefact\\effects\\af_idle_dist")
L9 🔴 global_write
Global write: containers
Impact: low
Show code
containers = {
L33 🔴 global_write
Global write: af_anim_item
Impact: low
Show code
af_anim_item = art .. "_hud"
L36 🔴 global_write
Global write: af_anim_item
Impact: low
Show code
af_anim_item = itm:section() .. "_hud"
L40 🔴 global_write
Global write: af_anim_item
Impact: low
Show code
af_anim_item = nil
L41 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = nil
L49 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = zzz_ea_addon_backpack.active_slot
L51 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = db.actor:active_slot()
L57 🔴 global_write
Global write: fov
Impact: low
Show code
fov = get_console():get_float("hud_fov")
L87 🔴 global_write
Global write: pos
Impact: low
Show code
pos = db.actor:bone_position("jaw_1"):add(device().cam_dir:mul(0.3))
L98 🔴 global_write
Global write: af_anim_item
Impact: low
Show code
af_anim_item = nil
L99 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = nil
L108 🔴 global_write
Global write: light
Impact: low
Show code
light = script_light()
L111 🔴 global_write
Global write: light_bright
Impact: low
Show code
light_bright = bright
L112 🔴 global_write
Global write: light_range
Impact: low
Show code
light_range = range
L128 🔴 global_write
Global write: light_flag
Impact: low
Show code
light_flag = true
L133 🔴 global_write
Global write: light_bright
Impact: low
Show code
light_bright = light_bright
L134 🔴 global_write
Global write: light_range
Impact: low
Show code
light_range = light_range
L156 🔴 global_write
Global write: light_flag
Impact: low
Show code
light_flag = false

Asnen's and Grok's Better Cigarettes Animations

2 files (🟢0 🟡0 🔴29 🔵7)

enhanced_animations.script

L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if ea_debug then printf("speed is = "..speed) end
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if ea_debug then printf("update = "..failure_timer) end
L172 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("hide weapons for anim failed")
L173 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(used_item or (used_monster and used_monster:section()) or "anim find ERROR")
L174 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(anim_section or "NO ANIM SECTION FOUND")
L30 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = true
L31 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = true
L35 🔴 global_write
Global write: used_item
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: ea_flag
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: fake_monster
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: det_active
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: anim_section
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active,anim_section = nil
L53 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = not enable_animations
L59 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_mcm.get("EA_settings/enable_animations")
L60 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = false -- ui_mcm.get("EA_settings/mutant_loot")
L63 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = false
L67 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = ini_eff:r_bool_ex("anim_settings", "mutant_loot_mod")
L68 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_options.get("video/player/animations")
L93 🔴 global_write
Global write: used_item
Impact: low
Show code
used_item = item
L95 🔴 global_write
Global write: anim_section
Impact: low
Show code
anim_section = ini_eff:r_string_ex(item, "anm")
L135 🔴 global_write
Global write: tmr
Impact: low
Show code
tmr = ini_eff:r_float_ex(used_item, "tm")
L153 🔴 global_write
Global write: tmr
Impact: low
Show code
tmr = ini_eff:r_float_ex("item_ea_harv_wpn_knife", "anim_length")
L189 🔴 global_write
Global write: anim_section
Impact: low
Show code
anim_section = nil
L289 🔴 global_write
Global write: used_item
Impact: low
Show code
used_item = nil
L300 🔴 global_write
Global write: fake_monster
Impact: low
Show code
fake_monster = used_monster
L302 🔴 global_write
Global write: ea_flag
Impact: low
Show code
ea_flag = true
L304 🔴 global_write
Global write: ea_flag
Impact: low
Show code
ea_flag = nil
L306 🔴 global_write
Global write: fake_monster
Impact: low
Show code
fake_monster = nil
L333 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = db.actor:active_detector() or nil

take_item_anim.script

L58 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(obj_o:section() .. " taken with id " .. obj_o:id())
L70 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(obj:section() .. " taken with id " .. obj:id())
L21 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_mcm.get("EA_settings/enable_animations")
L24 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_options.get("video/player/animations")
L27 🔴 global_write
Global write: enable_multipickup
Impact: low
Show code
enable_multipickup = ui_options.get("control/general/pickup_mode")
L77 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = db.actor:active_slot()
L129 🔴 global_write
Global write: slot
Impact: low
Show code
slot = nil

Audio Expansion

11 files (🟢0 🟡0 🔴32 🔵7)

Footstep_script.script

L1 🔴 global_write
Global write: available_materials
Impact: low
Show code
available_materials = {"wood", "default", "earth", "dirt", "metal", "water", "tin", "grass", "gravel", "asphalt", "tile", "concrete", "shifer", "setka", "soft"}

ambience_exp_mcm.script

L114 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("ze table\n%s", utils_data.print_table(a, false, true))
L116 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(a)

eft_jump_sounds.script

L49 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!jump")
L60 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!land")
L93 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Fake material!")
L7 🔴 global_write
Global write: available_materials
Impact: low
Show code
available_materials = {
L40 🔴 global_write
Global write: fake_materials
Impact: low
Show code
fake_materials = {
L50 🔴 global_write
Global write: material
Impact: low
Show code
material = ray_cast()
L52 🔴 global_write
Global write: jump_sound
Impact: low
Show code
jump_sound = sound_object("jump\\jump_" .. material .. "_" .. random_number(1, 5))
L62 🔴 global_write
Global write: material
Impact: low
Show code
material = ray_cast()
L64 🔴 global_write
Global write: land_sound
Impact: low
Show code
land_sound = sound_object("jump\\land_" .. material .. "_" .. random_number(1, 5))
L78 🔴 global_write
Global write: actor_position
Impact: low
Show code
actor_position = vector():set(db.actor:position())
L79 🔴 global_write
Global write: position
Impact: low
Show code
position = vector():set(actor_position.x, actor_position.y + 1, actor_position.z)
L80 🔴 global_write
Global write: direction
Impact: low
Show code
direction = vector():set(0, -1, 0)
L81 🔴 global_write
Global write: range
Impact: low
Show code
range = 1.1
L82 🔴 global_write
Global write: flags
Impact: low
Show code
flags = 1 + 2 + 4 + 8
L83 🔴 global_write
Global write: ray
Impact: low
Show code
ray = demonized_geometry_ray.geometry_ray({
L88 🔴 global_write
Global write: material
Impact: low
Show code
material = ray:get(position ,direction).result.material_name
L91 🔴 global_write
Global write: material
Impact: low
Show code
material = string.gsub(material, "materials\\" , "")
L94 🔴 global_write
Global write: position
Impact: low
Show code
position = vector():set(actor_position.x, actor_position.y - 0.2, actor_position.z)
L95 🔴 global_write
Global write: direction
Impact: low
Show code
direction = vector():set(0, 1, 0)
L96 🔴 global_write
Global write: range
Impact: low
Show code
range = 1
L97 🔴 global_write
Global write: ray
Impact: low
Show code
ray = demonized_geometry_ray.geometry_ray({
L102 🔴 global_write
Global write: material
Impact: low
Show code
material = ray:get(position ,direction).result.material_name
L104 🔴 global_write
Global write: material
Impact: low
Show code
material = string.gsub(material, "materials\\" , "")

eft_jump_sounds_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op ={ id= "eft_jump_sounds",sh=true ,gr =

exo_servo_sounds.script

L2 🔴 global_write
Global write: exo_flag
Impact: low
Show code
exo_flag = false
L24 🔴 global_write
Global write: exo_flag
Impact: low
Show code
exo_flag = outfit and SYS_GetParam(0, outfit:section(), "repair_type") == "outfit_exo" -- and item_exo_device.is_psu(backpack)

exo_servo_sounds_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op ={ id= "exo_servo_sounds", sh=true ,gr =

freelook_state.script

L1 🔴 global_write
Global write: FreelookActive
Impact: low
Show code
FreelookActive = false
L7 🔴 global_write
Global write: FreelookActive
Impact: low
Show code
FreelookActive = true
L14 🔴 global_write
Global write: FreelookActive
Impact: low
Show code
FreelookActive = false

item_sounds.script

L7 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR itms_manager | play_item_sound | no object recieved!")

itemsounds.script

L16 🔴 global_write
Global write: bolt_switch
Impact: low
Show code
bolt_switch = bolt_deployed
L46 🔴 global_write
Global write: grenade_switch
Impact: low
Show code
grenade_switch = grenade_deployed

psi_storm_manager.script

L19 🔴 global_write
Global write: PsiStormManager
Impact: low
Show code
PsiStormManager = nil
L21 🔴 global_write
Global write: PsiStormManager
Impact: low
Show code
PsiStormManager = PsiStormManager or CPsiStormManager()

z_npc_footsteps.script

L60 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("npc %s has invalid spawning vertex, correcting",se_obj:name())

Autocomplete Tasks

3 files (🟢0 🟡0 🔴3 🔵12)

autocomplete_tasks_mcm.script

L1 🔴 global_write
Global write: defaults
Impact: low
Show code
defaults = {

autocomplete_tasks_utils.script

L7 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)

z_autocomplete_tasks_core.script

L28 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[AT] Autocompleting task: %s", tid)
L103 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AT] Couldn't send confirmation message: task giver is nil")
L112 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AT] Couldn't send confirmation message: task giver is an invalid squad")
L121 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AT] Couldn't send confirmation message: task giver is invalid with clsid %s", sender_obj.clsid and sender_obj:clsid())
L147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AT] An error occurred during post completion cleanup for %s: var is nil", task_id)
L153 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AT] An error occurred during post completion cleanup for %s: spy_obj is nil", task_id)
L159 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AT] An error occurred during post completion cleanup for %s: se_squad is nil", task_id)
L258 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[AT] Unable to autocomplete task: %s", tid)
L268 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[AT] Unable to get task info for task: %s", tid)
L347 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AT] No compensation for task %s: on_complete attribute is non-existent or invalid", tsk_id)
L355 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![AT] No compensation for task %s: no compensation prices found", tsk_id)
L313 🔴 global_write
Global write: task_manager_task_callback
Impact: low
Show code
task_manager_task_callback = task_manager.task_callback
L372 🔴 global_write
Global write: sim_board_simulation_board_remove_squad
Impact: low
Show code
sim_board_simulation_board_remove_squad = sim_board.simulation_board.remove_squad

Barnacle's Double Click to Use Tools

1 file (🟢2 🟡0 🔴0 🔵0)

workshop_tool.script

L99 🟢 repeated_obj_section()
obj:section() called 6x in tool_workshop
Impact: low
Show code
Cache obj:section() result
L129 🟢 repeated_obj_section()
obj:section() called 6x in tool_artefact_craft
Impact: low
Show code
Cache obj:section() result

Beef's NVG Mod Fix

1 file (🟢0 🟡0 🔴3 🔵1)

z_beefs_nvgs.script

L645 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("beef_nvg: NVG state restored after level transition")
L165 🔴 global_write
Global write: play_animation
Impact: low
Show code
play_animation = false
L168 🔴 global_write
Global write: play_animation
Impact: low
Show code
play_animation = false
L543 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()

Blood_Pools

2 files (🟢0 🟡0 🔴16 🔵10)

blood_pool.script

L35 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_G.printf(...)
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("removing pool %s, %s", npc_id, p)
L170 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("found vec to remove %s, %s", npc_id, p)
L183 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("body %s settled", npc_id)
L188 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("body %s still moving", npc_id)
L201 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("body %s is moved", npc_id)
L246 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("actor died, spawn pool")
L268 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s near blood pool", obj:name())
L297 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("heading %s", heading)
L325 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("placing bloodstep for %s", obj:name())
L13 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()
L16 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()
L39 🔴 global_write
Global write: pool_starts_in
Impact: low
Show code
pool_starts_in = 5
L40 🔴 global_write
Global write: blood_textures_amount
Impact: low
Show code
blood_textures_amount = 24
L41 🔴 global_write
Global write: pool_size_mult
Impact: low
Show code
pool_size_mult = {
L89 🔴 global_write
Global write: boneList
Impact: low
Show code
boneList = {
L108 🔴 global_write
Global write: saved_pool
Impact: low
Show code
saved_pool = {}
L109 🔴 global_write
Global write: alreadyLeakedPools
Impact: low
Show code
alreadyLeakedPools = {}
L257 🔴 global_write
Global write: stepMaxCount
Impact: low
Show code
stepMaxCount = 10
L258 🔴 global_write
Global write: size
Impact: low
Show code
size = 0.17
L259 🔴 global_write
Global write: triggerDistance
Impact: low
Show code
triggerDistance = 0.7^2
L260 🔴 global_write
Global write: texture
Impact: low
Show code
texture = "blood_step_"
L351 🔴 global_write
Global write: og_npc_on_foot_step
Impact: low
Show code
og_npc_on_foot_step = z_npc_footsteps.npc_on_foot_step
L357 🔴 global_write
Global write: net_spawn
Impact: low
Show code
net_spawn = xr_motivator.motivator_binder.net_spawn
L379 🔴 global_write
Global write: net_destroy
Impact: low
Show code
net_destroy = xr_motivator.motivator_binder.net_destroy

blood_pool_mcm.script

L1 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "blood_pool",sh=true ,gr={

Character Transfer

1 file (🟢0 🟡1 🔴5 🔵42)

character_transfer_mcm.script

L2218 🟡 string_concat_in_loop
String concat in loop: name = name .. x
Impact: critical
Show code
name = name .. string.char(tonumber(b) or 32)
L173 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Starting export...")
L223 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Export complete!")
L344 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | WARNING: Magazine " .. sec .. " has no mag_data")
L388 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Exported " .. g_tostring(idx) .. " items (" .. g_tostring(unique_count) .. " unique types)")
L389 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | " .. g_tostring(low_cond_items) .. " items with condition < 50%%")
L391 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | " .. g_tostring(mags_with_ammo) .. " magazines -> " .. g_tostring(total_mag_rounds) .. " rounds as loose ammo")
L502 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Encyclopedia: no m_data found")
L510 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Encyclopedia: no game_statistics found")
L525 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Exported %d encyclopedia articles", idx)
L539 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Exported %d encyclopedia notes/recipes", idx)
L595 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Anomalous Stash: no hidden stash")
L601 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Anomalous Stash: hidden stash object not found")
L620 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Anomalous Stash: no items found")
L624 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Anomalous Stash: moved %d items to inventory for export", item_count)
L742 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Anomalous Stash: exported " .. tostring(idx) .. " items")
L771 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Quick Action Wheel exported (" .. tostring(#qaw.tabs) .. " tabs)")
L861 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Exported %d technician tool unlocks", idx)
L1071 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Prepared stash export: " .. g_tostring(items_moved) .. " items from " .. g_tostring(stashes_found) .. " stashes")
L1113 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Distant stash compensation: %d stashes x %d = %d RU", distant_stashes, backpack_price, compensation)
L1141 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | No nearby stashes found within " .. tostring(radius) .. " meters")
L1171 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | No items found in nearby stashes")
L1175 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Moved %d items from stashes to inventory for export", item_count)
L1327 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Exported " .. g_tostring(idx) .. " items from nearby stashes")
L1342 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Starting import...")
L1374 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Import complete!")
L1462 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Skipping invalid section: " .. g_tostring(sec))
L1505 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Added missing part %s:%s for %s", part, target_cond, sec)
L1688 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Gear import: " .. g_tostring(imported) .. " items imported, " .. g_tostring(skipped) .. " skipped")
L1736 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Spawned " .. tostring(total_rounds) .. " rounds from magazines as loose ammo")
L1938 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Imported %d articles, %d notes/recipes", articles_count, notes_count)
L2048 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Imported %d technician tool unlocks", count)
L2247 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Companion squad section not found: " .. tostring(sec))
L2615 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Imported " .. tostring(count) .. " items from nearby stashes")
L2660 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Haruka Skills imported")
L2662 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Haruka Skills data saved but mod not installed")
L2689 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Anomalous Stash mod not installed, skipping")
L2703 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Anomalous Stash - gave " .. tostring(total_backpacks) .. " backpacks")
L2753 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Anomalous Stash: importing " .. g_tostring(item_count) .. " items")
L2757 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Anomalous Stash: se_obj not found")
L2888 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Anomalous Stash: imported " .. g_tostring(imported) .. " items")
L2912 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Quick Action Wheel mod not installed, skipping")
L2971 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Character Transfer | Quick Action Wheel imported (" .. tostring(tab_count) .. " tabs)")
L14 🔴 global_write
Global write: defaults
Impact: low
Show code
defaults = {
L1408 🔴 global_write
Global write: evaluate_parts
Impact: low
Show code
evaluate_parts = function(obj) return nil end
L1684 🔴 global_write
Global write: evaluate_parts
Impact: low
Show code
evaluate_parts = original_global_evaluate_parts
L2362 🔴 global_write
Global write: evaluate_parts
Impact: low
Show code
evaluate_parts = function(obj) return nil end
L2612 🔴 global_write
Global write: evaluate_parts
Impact: low
Show code
evaluate_parts = original_global_evaluate_parts

CorpseTwitching

1 file (🟢0 🟡0 🔴9 🔵0)

impulse.script

L1 🔴 global_write
Global write: bones_list
Impact: low
Show code
bones_list = {
L8 🔴 global_write
Global write: timer_twitch
Impact: low
Show code
timer_twitch = 0
L9 🔴 global_write
Global write: corpses_to_update
Impact: low
Show code
corpses_to_update = {}
L10 🔴 global_write
Global write: time_factor
Impact: low
Show code
time_factor = 6
L11 🔴 global_write
Global write: basic_duration
Impact: low
Show code
basic_duration = 10
L13 🔴 global_write
Global write: time_factor
Impact: low
Show code
time_factor = SYS_GetParam(2,"alife","time_factor")
L55 🔴 global_write
Global write: timer_twitch
Impact: low
Show code
timer_twitch = tg + 50
L81 🔴 global_write
Global write: mul_h
Impact: low
Show code
mul_h = 1
L83 🔴 global_write
Global write: mul_h
Impact: low
Show code
mul_h = 3

Corpse_Fauna

2 files (🟢0 🟡0 🔴1 🔵1)

corpse_fauna.script

L150 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)

corpse_fauna_mcm.script

L13 🔴 global_write
Global write: op
Impact: low
Show code
op = {id= "corpse_fauna", sh=true , gr={

Critical_Hit Sound (s2 headshot)

3 files (🟢0 🟡0 🔴13 🔵2)

bones_lookup.script

L1897 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L14 🔴 global_write
Global write: n
Impact: low
Show code
n = floor(max(n or 1, 1))
L19 🔴 global_write
Global write: n
Impact: low
Show code
n = n - 1
L25 🔴 global_write
Global write: death_log
Impact: low
Show code
death_log = {}
L1749 🔴 global_write
Global write: wpn
Impact: low
Show code
wpn = level.object_by_id(s_hit.weapon_id)
L1750 🔴 global_write
Global write: sec
Impact: low
Show code
sec = wpn:section()
L1767 🔴 global_write
Global write: silencer_boost
Impact: low
Show code
silencer_boost = 1.07
L1769 🔴 global_write
Global write: silencer_boost
Impact: low
Show code
silencer_boost = 1
L1773 🔴 global_write
Global write: silencer_boost
Impact: low
Show code
silencer_boost = 1.07
L1796 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.00
L1799 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.75

sound_feedback.script

L88 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! [sound_feedback] bones_lookup not found!")
L3 🔴 global_write
Global write: use_enable_human
Impact: low
Show code
use_enable_human = true
L4 🔴 global_write
Global write: use_enable_mutant
Impact: low
Show code
use_enable_mutant = true

sound_feedback_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op = {

DX9 Compatibility Patch

3 files (🟢0 🟡0 🔴19 🔵3)

fakelens.script

L1 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("DX9 mode")

item_device.script

L140 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR item_device | reading from items\\settings\\devices.ltx | section [%s] or power consumption values don't exist", sec)
L155 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("item_device | %s | " .. txt, time_global(), ...)
L18 🔴 global_write
Global write: dev_consumption
Impact: low
Show code
dev_consumption = {} -- [sec] = {...} | Power consumption of device per stage
L19 🔴 global_write
Global write: dev_consumption_act
Impact: low
Show code
dev_consumption_act = {} -- [sec] = {...} | Power consumption of device per action (stage 2)
L20 🔴 global_write
Global write: dev_consumption_tot
Impact: low
Show code
dev_consumption_tot = {} -- [sec] = num | Total power consumption of a device
L21 🔴 global_write
Global write: dev_critical
Impact: low
Show code
dev_critical = {} -- [sec] = num | Power limit, devices go off when their power go below this value
L40 🔴 global_write
Global write: devices
Impact: low
Show code
devices = {}
L41 🔴 global_write
Global write: device_battery
Impact: low
Show code
device_battery = nil
L42 🔴 global_write
Global write: device_geiger
Impact: low
Show code
device_geiger = nil
L43 🔴 global_write
Global write: device_npc_pda
Impact: low
Show code
device_npc_pda = {}
L61 🔴 global_write
Global write: nv_state
Impact: low
Show code
nv_state = false
L79 🔴 global_write
Global write: dosimeter_env_rads_mode
Impact: low
Show code
dosimeter_env_rads_mode = false
L94 🔴 global_write
Global write: device_battery
Impact: low
Show code
device_battery = ini_device:r_sec_ex("settings","battery","batteries_dead")
L95 🔴 global_write
Global write: device_geiger
Impact: low
Show code
device_geiger = ini_device:r_sec_ex("settings","geiger","detector_geiger")
L243 🔴 global_write
Global write: dosimeter_env_rads_mode
Impact: low
Show code
dosimeter_env_rads_mode = not dosimeter_env_rads_mode
L244 🔴 global_write
Global write: dosimeter_mode_string
Impact: low
Show code
dosimeter_mode_string = dosimeter_env_rads_mode and game.translate_string("st_environment_rads") or game.translate_string("st_actor_rads")
L595 🔴 global_write
Global write: nv_state
Impact: low
Show code
nv_state = true
L601 🔴 global_write
Global write: nv_state
Impact: low
Show code
nv_state = false

z_vanilla_nvgs.script

L1 🔴 global_write
Global write: play_animation
Impact: low
Show code
play_animation = false
L24 🔴 global_write
Global write: play_animation
Impact: low
Show code
play_animation = false
L188 🔴 global_write
Global write: torch_anm_state
Impact: low
Show code
torch_anm_state = 0

Dark Valley Lamp Remover (better FPS at Bandit Base)

1 file (🟢0 🟡0 🔴1 🔵3)

dark_valley_lamp_remover.script

L6 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[dark_valley_lamp_remover] Initialization...")
L11 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[dark_valley_lamp_remover] Skipped placeable object: %s %s %s %s", id, obj:name(), obj:position().x, obj:position().z)
L13 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[dark_valley_lamp_remover] Object released: %s %s %s %s", id, obj:name(), obj:position().x, obj:position().z)
L8 🔴 global_write
Global write: obj
Impact: low
Show code
obj = db.storage[id] and db.storage[id].object or level.object_by_id(id)

Darkasleif's Nimble Upgrades Guns

1 file (🟢0 🟡0 🔴246 🔵0)

NimbleTrade.script

L8 🔴 global_write
Global write: CoonanCost
Impact: low
Show code
CoonanCost = 50000
L9 🔴 global_write
Global write: StrayerVoigtCost
Impact: low
Show code
StrayerVoigtCost = 75000
L10 🔴 global_write
Global write: DeagleCost
Impact: low
Show code
DeagleCost = 50000
L11 🔴 global_write
Global write: USPCost
Impact: low
Show code
USPCost = 30000
L12 🔴 global_write
Global write: ProtectaCost
Impact: low
Show code
ProtectaCost = 30000
L13 🔴 global_write
Global write: SPAS12Cost
Impact: low
Show code
SPAS12Cost = 30000
L14 🔴 global_write
Global write: TOZ34Cost
Impact: low
Show code
TOZ34Cost = 45000
L15 🔴 global_write
Global write: MP5Cost
Impact: low
Show code
MP5Cost = 65000
L16 🔴 global_write
Global write: G36Cost
Impact: low
Show code
G36Cost = 45000
L17 🔴 global_write
Global write: GrozaCost
Impact: low
Show code
GrozaCost = 45000
L18 🔴 global_write
Global write: PKMCost
Impact: low
Show code
PKMCost = 100000
L19 🔴 global_write
Global write: UrbanaCost
Impact: low
Show code
UrbanaCost = 45000
L20 🔴 global_write
Global write: SaboteurCost
Impact: low
Show code
SaboteurCost = 45000
L21 🔴 global_write
Global write: SVUCost
Impact: low
Show code
SVUCost = 45000
L30 🔴 global_write
Global write: obj
Impact: low
Show code
obj = item
L137 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911"
L147 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_alt"
L157 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_duty"
L167 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_merc"
L177 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_modern"
L187 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_n"
L197 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_new"
L207 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_kimber"
L224 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911"
L234 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_alt"
L244 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_duty"
L254 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_merc"
L264 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_modern"
L274 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_n"
L284 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_new"
L294 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_kimber"
L312 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_desert_eagle"
L322 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_desert_eagle_custom"
L332 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_desert_eagle_modern"
L349 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_usp"
L359 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_usp_custom"
L369 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_usp_match"
L386 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta"
L396 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta_aim"
L406 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta_camo"
L416 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta_custom"
L433 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_spas12"
L443 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_spas12_custom"
L460 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34"
L470 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34_custom"
L480 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34_decor"
L490 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34_mark4"
L507 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_mp5"
L517 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_mp5_alt"
L527 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_mp5_custom"
L544 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36"
L554 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36_camo"
L565 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36k"
L576 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36ka4_rwap"
L587 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36v_rwap"
L605 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_groza"
L623 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_pkm_siber"
L625 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_pkm"
L645 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_dvl10"
L663 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_dvl10_m1"
L681 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_svu"
L692 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_svu_alt"
L710 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911"
L720 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_alt"
L730 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_duty"
L740 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_merc"
L750 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_modern"
L760 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_n"
L770 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_new"
L780 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_kimber"
L797 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911"
L807 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_alt"
L817 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_duty"
L827 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_merc"
L837 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_modern"
L847 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_n"
L857 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_new"
L867 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_kimber"
L885 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_desert_eagle"
L895 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_desert_eagle_custom"
L905 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_desert_eagle_modern"
L922 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_usp"
L932 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_usp_custom"
L942 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_usp_match"
L959 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta"
L969 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta_aim"
L979 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta_camo"
L989 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta_custom"
L1006 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_spas12"
L1016 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_spas12_custom"
L1033 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34"
L1043 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34_custom"
L1053 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34_decor"
L1063 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34_mark4"
L1080 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_mp5"
L1090 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_mp5_alt"
L1100 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_mp5_custom"
L1117 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36"
L1127 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36_camo"
L1138 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36k"
L1149 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36ka4_rwap"
L1160 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36v_rwap"
L1178 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_groza"
L1196 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_pkm_siber"
L1214 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_dvl10"
L1232 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_dvl10_m1"
L1250 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_svu"
L1261 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_svu_alt"
L1279 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911"
L1289 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_alt"
L1299 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_duty"
L1309 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_merc"
L1319 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_modern"
L1329 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_n"
L1339 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_new"
L1349 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_kimber"
L1364 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911"
L1374 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_alt"
L1384 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_duty"
L1394 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_merc"
L1404 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_modern"
L1414 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_n"
L1424 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_new"
L1434 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_kimber"
L1450 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_desert_eagle"
L1460 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_desert_eagle_custom"
L1470 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_desert_eagle_modern"
L1485 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_usp"
L1495 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_usp_custom"
L1505 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_usp_match"
L1520 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta"
L1530 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta_aim"
L1540 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta_camo"
L1550 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta_custom"
L1565 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_spas12"
L1575 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_spas12_custom"
L1590 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34"
L1600 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34_custom"
L1610 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34_decor"
L1620 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34_mark4"
L1635 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_mp5"
L1645 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_mp5_alt"
L1655 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_mp5_custom"
L1670 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36"
L1680 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36_camo"
L1691 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36k"
L1702 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36ka4_rwap"
L1713 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36v_rwap"
L1729 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_groza"
L1745 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_pkm_siber"
L1761 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_dvl10"
L1777 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_dvl10_m1"
L1793 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_svu"
L1804 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_svu_alt"
L1820 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911"
L1830 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_alt"
L1840 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_duty"
L1850 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_merc"
L1860 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_modern"
L1870 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_n"
L1880 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_new"
L1890 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_kimber"
L1905 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911"
L1915 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_alt"
L1925 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_duty"
L1935 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_merc"
L1945 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_modern"
L1955 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_n"
L1965 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_new"
L1975 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_kimber"
L1991 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_desert_eagle"
L2001 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_desert_eagle_custom"
L2011 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_desert_eagle_modern"
L2026 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_usp"
L2036 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_usp_custom"
L2046 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_usp_match"
L2061 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta"
L2071 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta_aim"
L2081 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta_camo"
L2091 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta_custom"
L2106 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_spas12"
L2116 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_spas12_custom"
L2131 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34"
L2141 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34_custom"
L2151 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34_decor"
L2161 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34_mark4"
L2176 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_mp5"
L2186 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_mp5_alt"
L2196 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_mp5_custom"
L2211 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36"
L2221 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36_camo"
L2232 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36k"
L2243 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36ka4_rwap"
L2254 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36v_rwap"
L2270 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_groza"
L2286 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_pkm_siber"
L2302 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_dvl10"
L2318 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_dvl10_m1"
L2334 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_svu"
L2345 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_svu_alt"
L2363 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911"
L2375 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_alt"
L2387 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_duty"
L2399 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_merc"
L2411 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_modern"
L2423 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_n"
L2435 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_new"
L2447 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_kimber"
L2464 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911"
L2476 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_alt"
L2488 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_duty"
L2500 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_merc"
L2512 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_modern"
L2524 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_n"
L2536 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_new"
L2548 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_colt1911_kimber"
L2566 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_desert_eagle"
L2578 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_desert_eagle_custom"
L2590 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_desert_eagle_modern"
L2607 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_usp"
L2619 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_usp_custom"
L2631 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_usp_match"
L2648 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta"
L2660 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta_aim"
L2672 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta_camo"
L2684 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_protecta_custom"
L2701 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_spas12"
L2713 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_spas12_custom"
L2730 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34"
L2742 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34_custom"
L2754 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34_decor"
L2766 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_toz34_mark4"
L2783 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_mp5"
L2795 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_mp5_alt"
L2807 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_mp5_custom"
L2824 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36"
L2836 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36_camo"
L2849 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36k"
L2862 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36ka4_rwap"
L2875 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_g36v_rwap"
L2893 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_groza"
L2911 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_pkm_siber"
L2929 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_dvl10"
L2947 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_dvl10_m1"
L2965 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_svu"
L2978 🔴 global_write
Global write: wpn_name
Impact: low
Show code
wpn_name = "wpn_svu_alt"

Darkasleif's Parts Condition Color Thresholds Changes

1 file (🟢0 🟡0 🔴1 🔵6)

utils_xml.script

L342 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | XML_box or XML_temp doesn't exist")
L350 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | section [%s] doesn't exist in system ini", sec)
L660 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("XmlParser: nothing to close with "..label)
L663 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("XmlParser: trying to close "..toclose.Name.." with "..label)
L674 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("XmlParser: unclosed "..stack[stack.n].Name)
L685 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(err)
L603 🔴 global_write
Global write: XmlParser
Impact: low
Show code
XmlParser = {}

Darkasleif's Stop Selling Documents

1 file (🟢0 🟡1 🔴11 🔵17)

dialogs.script

L1000 🟡 string_concat_in_loop
String concat in loop: npc_text = npc_text .. x
Impact: critical
Show code
npc_text = npc_text .. " " .. game.translate_string("st_drx_questlines_and_this_one") .. " "
L439 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL storyline task started: " .. last_task_id) )
L449 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L468 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL change factions task started: " .. last_task_id) )
L476 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L494 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL mechanic task started: " .. last_task_id) )
L500 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L516 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL dynamic task started: " .. last_task_id) )
L522 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L540 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL simulation task started: " .. last_task_id) )
L549 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L555 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_hostage_giver_" .. giver_id .. " registered") )
L571 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL dynamic task started: " .. task_id) )
L576 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L590 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL simulation task started: " .. task_id) )
L595 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " registered (" .. giver_task_count .. " outstanding)") )
L1365 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Couldn't relocate money to NULL")
L1835 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Couldn't relocate money to NULL")
L80 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil
L176 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = task_section
L193 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = task_section
L210 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = task_section
L318 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = task_section
L328 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = task_section
L452 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil
L478 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil
L501 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil
L523 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil
L544 🔴 global_write
Global write: last_task_id
Impact: low
Show code
last_task_id = nil

Darkasleif's and iTheon's Parts Condition Color Thresholds Changes

1 file (🟢0 🟡0 🔴1 🔵6)

utils_xml.script

L357 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | XML_box or XML_temp doesn't exist")
L365 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | section [%s] doesn't exist in system ini", sec)
L675 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("XmlParser: nothing to close with "..label)
L678 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("XmlParser: trying to close "..toclose.Name.." with "..label)
L689 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("XmlParser: unclosed "..stack[stack.n].Name)
L700 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(err)
L618 🔴 global_write
Global write: XmlParser
Impact: low
Show code
XmlParser = {}

Demonized More Dangerous Phantoms

1 file (🟢0 🟡0 🔴3 🔵0)

more_dangerous_phantoms.script

L1 🔴 global_write
Global write: damage_radius
Impact: low
Show code
damage_radius = 3
L33 🔴 global_write
Global write: phantom_death
Impact: low
Show code
phantom_death = phantom_manager.Phantom.net_destroy
L39 🔴 global_write
Global write: DynamicPhantom_death
Impact: low
Show code
DynamicPhantom_death = phantom_manager.DynamicPhantom.net_destroy

Dialog_Dynamic_UI

2 files (🟢0 🟡0 🔴6 🔵1)

dialog_fov.script

L50 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('bisect, lo must be non-negative')
L128 🔴 global_write
Global write: special_characters
Impact: low
Show code
special_characters = {
L334 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()
L337 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()

dialog_fov_mcm.script

L1 🔴 global_write
Global write: op_id
Impact: low
Show code
op_id = "demonized_dialog_fov"
L2 🔴 global_write
Global write: op_preset_id
Impact: low
Show code
op_preset_id = "presets"
L4 🔴 global_write
Global write: op
Impact: low
Show code
op = {

Draggable_Hud_Editor

2 files (🟢0 🟡1 🔴3 🔵14)

ui_debug_wpn_hud.script

L1535 🟡 string_concat_in_loop
String concat in loop: p2 = p2 .. x
Impact: critical
Show code
p2 = p2 .. "_16x9"
L128 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L176 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! Ok... Something is fucked...")
L758 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR no returned value for %s!", parent)
L806 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! MISSING VALUE: WpnHudEditor:ApplyParameterValue(%s, %s)", typ ,parent)
L819 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! MISSING VALUE: WpnHudEditor:ApplyParameterValue(%s, %s)", typ ,parent)
L834 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! MISSING VALUE: WpnHudEditor:ApplyParameterValue(%s, %s)", typ ,parent)
L868 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! MISSING VALUE: third_person_value(%s,%s)", typ ,parent)
L881 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! MISSING VALUE: third_person_value(%s, %s)", typ ,parent)
L918 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(text, ...)
L1550 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% WpnHudEditor | saving [%s]->[%s]->[%s]",sec, p[i], val)
L1559 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% WpnHudEditor | saved changes for {%s}", fullpath)
L1666 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! group doesn't exist for selected_group: %s", self.data[v].selected_group)
L1854 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- main_menu off")
L2133 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("axr_panic: no action id p[%s]",i)
L1993 🔴 global_write
Global write: actid
Impact: low
Show code
actid = 198122
L1994 🔴 global_write
Global write: evaid
Impact: low
Show code
evaid = 198122

ui_debug_wpn_hud_cancel_anims.script

L1 🔴 global_write
Global write: cancel_anims
Impact: low
Show code
cancel_anims = {

Drop_Disassemble_on_press_v

1 file (🟢0 🟡0 🔴9 🔵0)

z_drop_and_disassemble_item_mcm.script

L138 🔴 global_write
Global write: obj_tool
Impact: low
Show code
obj_tool = nil
L166 🔴 global_write
Global write: inventory_flag
Impact: low
Show code
inventory_flag = false
L167 🔴 global_write
Global write: gui_loot
Impact: low
Show code
gui_loot = false
L176 🔴 global_write
Global write: inventory_flag
Impact: low
Show code
inventory_flag = true
L177 🔴 global_write
Global write: gui_loot
Impact: low
Show code
gui_loot = false
L182 🔴 global_write
Global write: inventory_flag
Impact: low
Show code
inventory_flag = true
L183 🔴 global_write
Global write: gui_loot
Impact: low
Show code
gui_loot = true
L187 🔴 global_write
Global write: inventory_flag
Impact: low
Show code
inventory_flag = false
L188 🔴 global_write
Global write: gui_loot
Impact: low
Show code
gui_loot = false

Drunks Enhanced Toxic Air

8 files (🟢2 🟡6 🔴16 🔵23)

custom_functor_autoinject.script

L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."*"..g_tostring(t))
L114 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(t).." {")
L116 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..string.rep(" ",#pos+6).."}")
L118 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(val))
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..g_tostring(t))
L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L145 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L152 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L154 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L158 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L321 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s", k, v.index)
L324 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s, max custom_functor reached", k, v.index)
L426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, processing queue")
L429 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, type %s", v.type)
L466 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid, min 1, max 10, your slot: %s", slot)
L481 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid min 1, max 10, your slot: %s", slot)
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[" .. k .. "] => ")

demonized_crafter.script

L277 🟡 string_concat_in_loop
String concat in loop: s = s .. x
Impact: critical
Show code
s = s .. item_name
L402 🟡 string_concat_in_loop
String concat in loop: s = s .. x
Impact: critical
Show code
s = s .. item_name .. ":" .. amount .. sep
L499 🟡 string_concat_in_loop
String concat in loop: tip_string = tip_string .. x
Impact: critical
Show code
tip_string = tip_string .. " \\n" .. ui_item.get_sec_name(recipe_item) .. ": " .. (craft_item_modes[recipe_item] and colorize("1") or (is_degradable(recipe_item) and colorize(round(recipe_amount * 100) .. "%") or colorize(recipe_amount)))
L519 🟡 string_concat_in_loop
String concat in loop: tip_string = tip_string .. x
Impact: critical
Show code
tip_string = tip_string .. " \\n" .. ui_item.get_sec_name(recipe_item) .. ": " .. (craft_item_modes[recipe_item] and colorize("1") or (is_degradable(recipe_item) and colorize(round(recipe_amount * 100) .. "%") or colorize(recipe_amount)))
L532 🟡 string_concat_in_loop
String concat in loop: failed_tip_string = failed_tip_string .. x
Impact: critical
Show code
failed_tip_string = failed_tip_string .. " \\n" .. ui_item.get_sec_name(recipe_item) .. ": " ..
L574 🟡 string_concat_in_loop
String concat in loop: failed_tip_string = failed_tip_string .. x
Impact: critical
Show code
failed_tip_string = failed_tip_string .. " \\n \\n" .. gc(craft_func_key .. "_craft_or") .. " \\n"
L143 🔴 global_write
Global write: craft_recipes
Impact: low
Show code
craft_recipes = {}
L144 🔴 global_write
Global write: craft_item_strings
Impact: low
Show code
craft_item_strings = {}

demonized_crafter_filters.script

L1 🔴 global_write
Global write: craft_recipes
Impact: low
Show code
craft_recipes = {

new_game_loadout_injector_mcm.script

L78 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loadout Injector: " .. str, ...)
L82 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Loadout Injector: ERROR, " .. str, ...)
L109 🔴 global_write
Global write: loadout_items
Impact: low
Show code
loadout_items = {}
L112 🔴 global_write
Global write: loadout_removed_items
Impact: low
Show code
loadout_removed_items = {}

toxic_air.script

L631 🟢 repeated_obj_section()
obj:section() called 3x in get_cond_for_ui
Impact: low
Show code
Cache obj:section() result
L641 🔴 global_write
Global write: BuildHeader
Impact: low
Show code
BuildHeader = ui_item.build_desc_header
L695 🔴 global_write
Global write: NameCustom
Impact: low
Show code
NameCustom = ui_inventory.UIInventory.Name_Custom
L706 🔴 global_write
Global write: ActionCustom
Impact: low
Show code
ActionCustom = ui_inventory.UIInventory.Action_Custom
L1203 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update
L1328 🔴 global_write
Global write: SpawnCosmetics
Impact: low
Show code
SpawnCosmetics = death_manager.spawn_cosmetics
L1336 🔴 global_write
Global write: base_add_bar
Impact: low
Show code
base_add_bar = utils_ui.UICellItem.Add_ProgressBar

toxic_air_mcm.script

L23 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "toxic_air",sh=true ,gr={

trader_autoinject.script

L196 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L28 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L44 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

zzz_cxv_toxic_air_tank_filter_replenish_on_drag.script

L79 🔴 global_write
Global write: original_val
Impact: low
Show code
original_val = obj_2:condition()
L80 🔴 global_write
Global write: regen_val
Impact: low
Show code
regen_val = obj_1:condition()

Drunks Enhanced Toxic Air unofficial update

2 files (🟢0 🟡0 🔴7 🔵0)

toxic_air.script

L779 🔴 global_write
Global write: BuildHeader
Impact: low
Show code
BuildHeader = ui_item.build_desc_header
L829 🔴 global_write
Global write: NameCustom
Impact: low
Show code
NameCustom = ui_inventory.UIInventory.Name_Custom
L840 🔴 global_write
Global write: ActionCustom
Impact: low
Show code
ActionCustom = ui_inventory.UIInventory.Action_Custom
L1436 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update
L1561 🔴 global_write
Global write: SpawnCosmetics
Impact: low
Show code
SpawnCosmetics = death_manager.spawn_cosmetics
L1569 🔴 global_write
Global write: base_add_bar
Impact: low
Show code
base_add_bar = utils_ui.UICellItem.Add_ProgressBar

toxic_air_mcm.script

L34 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "toxic_air",sh=true ,gr={

Drunks_Enhanced_Toxic_Air

8 files (🟢2 🟡6 🔴16 🔵23)

custom_functor_autoinject.script

L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."*"..g_tostring(t))
L114 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(t).." {")
L116 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..string.rep(" ",#pos+6).."}")
L118 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(val))
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..g_tostring(t))
L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L145 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L152 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L154 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L158 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L321 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s", k, v.index)
L324 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s, max custom_functor reached", k, v.index)
L426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, processing queue")
L429 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, type %s", v.type)
L466 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid, min 1, max 10, your slot: %s", slot)
L481 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid min 1, max 10, your slot: %s", slot)
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[" .. k .. "] => ")

demonized_crafter.script

L277 🟡 string_concat_in_loop
String concat in loop: s = s .. x
Impact: critical
Show code
s = s .. item_name
L402 🟡 string_concat_in_loop
String concat in loop: s = s .. x
Impact: critical
Show code
s = s .. item_name .. ":" .. amount .. sep
L499 🟡 string_concat_in_loop
String concat in loop: tip_string = tip_string .. x
Impact: critical
Show code
tip_string = tip_string .. " \\n" .. ui_item.get_sec_name(recipe_item) .. ": " .. (craft_item_modes[recipe_item] and colorize("1") or (is_degradable(recipe_item) and colorize(round(recipe_amount * 100) .. "%") or colorize(recipe_amount)))
L519 🟡 string_concat_in_loop
String concat in loop: tip_string = tip_string .. x
Impact: critical
Show code
tip_string = tip_string .. " \\n" .. ui_item.get_sec_name(recipe_item) .. ": " .. (craft_item_modes[recipe_item] and colorize("1") or (is_degradable(recipe_item) and colorize(round(recipe_amount * 100) .. "%") or colorize(recipe_amount)))
L532 🟡 string_concat_in_loop
String concat in loop: failed_tip_string = failed_tip_string .. x
Impact: critical
Show code
failed_tip_string = failed_tip_string .. " \\n" .. ui_item.get_sec_name(recipe_item) .. ": " ..
L574 🟡 string_concat_in_loop
String concat in loop: failed_tip_string = failed_tip_string .. x
Impact: critical
Show code
failed_tip_string = failed_tip_string .. " \\n \\n" .. gc(craft_func_key .. "_craft_or") .. " \\n"
L143 🔴 global_write
Global write: craft_recipes
Impact: low
Show code
craft_recipes = {}
L144 🔴 global_write
Global write: craft_item_strings
Impact: low
Show code
craft_item_strings = {}

demonized_crafter_filters.script

L1 🔴 global_write
Global write: craft_recipes
Impact: low
Show code
craft_recipes = {

new_game_loadout_injector_mcm.script

L78 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loadout Injector: " .. str, ...)
L82 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Loadout Injector: ERROR, " .. str, ...)
L109 🔴 global_write
Global write: loadout_items
Impact: low
Show code
loadout_items = {}
L112 🔴 global_write
Global write: loadout_removed_items
Impact: low
Show code
loadout_removed_items = {}

toxic_air.script

L630 🟢 repeated_obj_section()
obj:section() called 3x in get_cond_for_ui
Impact: low
Show code
Cache obj:section() result
L640 🔴 global_write
Global write: BuildHeader
Impact: low
Show code
BuildHeader = ui_item.build_desc_header
L694 🔴 global_write
Global write: NameCustom
Impact: low
Show code
NameCustom = ui_inventory.UIInventory.Name_Custom
L705 🔴 global_write
Global write: ActionCustom
Impact: low
Show code
ActionCustom = ui_inventory.UIInventory.Action_Custom
L1185 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update
L1310 🔴 global_write
Global write: SpawnCosmetics
Impact: low
Show code
SpawnCosmetics = death_manager.spawn_cosmetics
L1318 🔴 global_write
Global write: base_add_bar
Impact: low
Show code
base_add_bar = utils_ui.UICellItem.Add_ProgressBar

toxic_air_mcm.script

L23 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "toxic_air",sh=true ,gr={

trader_autoinject.script

L196 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L28 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L44 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

zzz_cxv_toxic_air_tank_filter_replenish_on_drag.script

L79 🔴 global_write
Global write: original_val
Impact: low
Show code
original_val = obj_2:condition()
L80 🔴 global_write
Global write: regen_val
Impact: low
Show code
regen_val = obj_1:condition()

Dynamic_Tonemap_Extended

2 files (🟢0 🟡0 🔴1 🔵9)

demonized_time_events.script

L37 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L40 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L42 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L47 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L49 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L53 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L55 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L60 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L62 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)

dynamic_tonemap_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op = {id = "dynamic_tonemap_extended", sh = true, gr = {

EnVy's Emisson Radio Warning

1 file (🟢0 🟡0 🔴10 🔵8)

surge_manager.script

L103 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Surge manager | " .. fmt,...)
L639 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("played sound at x=%s z=%s", rnd_pos.x, rnd_pos.z)
L709 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Played far crows")
L716 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Played medium crows")
L723 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Played close crows")
L730 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Played medium crows")
L737 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Played far crows")
L837 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("opt_blowout_task",ui_options.get("alife/event/emission_task"))
L24 🔴 global_write
Global write: SurgeManager
Impact: low
Show code
SurgeManager = nil
L26 🔴 global_write
Global write: SurgeManager
Impact: low
Show code
SurgeManager = SurgeManager or CSurgeManager()
L505 🔴 global_write
Global write: temp1
Impact: low
Show code
temp1, id, temp2 = ini:r_line("list", i, "", "")
L505 🔴 global_write
Global write: id
Impact: low
Show code
temp1, id, temp2 = ini:r_line("list", i, "", "")
L505 🔴 global_write
Global write: temp2
Impact: low
Show code
temp1, id, temp2 = ini:r_line("list", i, "", "")
L563 🔴 global_write
Global write: protection
Impact: low
Show code
protection = (suit_protection + helmet_protection + drug_protection)
L565 🔴 global_write
Global write: protection
Impact: low
Show code
protection = 1
L567 🔴 global_write
Global write: hit_power
Impact: low
Show code
hit_power=power*(1-protection)
L1269 🔴 global_write
Global write: currentIndik
Impact: low
Show code
currentIndik=nil
L1284 🔴 global_write
Global write: currentIndik
Impact: low
Show code
currentIndik=indik

Fair Autocomplete

4 files (🟢2 🟡0 🔴11 🔵79)

fair_autocomplete_kill_tracker.script

L307 🟢 repeated_victim_section()
victim:section() called 3x in record_kill
Impact: low
Show code
Cache victim:section() result
L37 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L320 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA-KillTracker] Recorded kill: victim_id=%s, section=%s, monster_type=%s, smart=%s, faction=%s, by_player=%s, by_companion=%s, distance=%.1f, same_level=%s",

fair_autocomplete_utils.script

L11 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L340 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![FA-Utils] Couldn't send confirmation message: task giver is nil")
L347 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![FA-Utils] Couldn't send confirmation message: task giver is an invalid squad")
L354 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![FA-Utils] Couldn't send confirmation message: task giver is invalid")
L411 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![FA-Utils] Error cancelling task %s: %s", task_id, tostring(err))
L432 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![FA-Utils] Error failing task %s: %s", task_id, tostring(err))
L456 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![FA-Utils] Error completing task %s: %s", task_id, tostring(err))

ui_pda_taskboard_tab.script

L209 🔵 debug_statement
Debug call: print()
Impact: medium
Show code
print("Warning: entry_info is nil for row_index:", row_index)
L214 🔵 debug_statement
Debug call: print()
Impact: medium
Show code
print("Warning: prev_task is nil for row_index:", row_index)
L124 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = nil -- required for fetch quest override
L126 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = task_data.npc_id
L141 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = nil
L164 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = task_details.npc_id
L166 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = nil
L312 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = npc:id()
L318 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = nil
L547 🔴 global_write
Global write: normalizer
Impact: low
Show code
normalizer = {
L569 🔴 global_write
Global write: config
Impact: low
Show code
config = load_defaults()
L572 🔴 global_write
Global write: config
Impact: low
Show code
config = load_defaults()

z_fair_autocomplete_core.script

L549 🟢 table_insert_append
table.insert(var_keys, v) -> var_keys[#var_keys+1] = v
Impact: high
Show code
table.insert(var_keys, g_tostring(k) .. "=" .. g_tostring(v))
L4 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Core script loading...")
L277 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Couldn't send completion message: task giver is nil")
L285 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Couldn't send completion message: task giver is an invalid squad")
L293 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Couldn't send completion message: task giver is invalid")
L412 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Cached compensation for task %s: %d-%d RU", task_id,
L430 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Task re-registered (re-taken): %s - updated timestamp", task_id)
L495 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Got mutant section from squad.player_id: " .. g_tostring(squad.player_id))
L513 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Got mutant section from squad member: " .. g_tostring(reg_data.mutant_section))
L551 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] mutant_hunt var dump for " .. task_id .. ": " .. table.concat(var_keys, ", "))
L564 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Registered mutant_hunt task: " .. task_id .. " section=" .. g_tostring(reg_data.mutant_section) .. " smart=" .. g_tostring(reg_data.smart_terrain))
L599 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Fixed invalid registered_time, new value: " .. tostring(reg.registered_time))
L781 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_assault: got position from alife_object")
L793 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_assault: got position from smarts_by_names")
L803 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_assault: got position from smarts iteration")
L816 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_assault: got position from smarts by ID")
L825 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_assault: task=" .. g_tostring(task_id) .. " smart_terrain=" .. g_tostring(smart_name) .. " smart_id=" .. g_tostring(smart_id) .. " has_position=" .. g_tostring(smart_position ~= nil))
L856 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_assault: kill within " .. string.format("%.1f", dist) .. "m of smart terrain")
L858 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_assault: kill too far - " .. string.format("%.1f", dist) .. "m from smart terrain")
L872 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_assault: matched kill - section=" .. g_tostring(kill_data.section) .. " is_monster=" .. g_tostring(kill_data.is_monster) .. " location_match=" .. g_tostring(location_match) .. " nearby_match=" .. g_tostring(nearby_match))
L881 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_assault: player_kills=" .. g_tostring(player_kills) .. " (at_location=" .. g_tostring(player_kills_at_location) .. " nearby=" .. g_tostring(player_kills_nearby) .. ") total=" .. g_tostring(total_kills_at_location) .. " at " .. g_tostring(smart_name))
L887 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_assault: kill_req=" .. g_tostring(kill_req) .. " player_kills=" .. g_tostring(player_kills))
L1054 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Got mutant section from squad.player_id: " .. g_tostring(squad.player_id))
L1070 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Got mutant section from squad member: " .. g_tostring(required_section))
L1105 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_mutant_hunt: task=" .. g_tostring(task_id) .. ", section=" .. g_tostring(required_section) .. ", smart=" .. g_tostring(smart_name) .. ", target_id=" .. g_tostring(target_id) .. ", reg_time=" .. g_tostring(task_registered_time))
L1121 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_mutant_hunt: can't validate - unknown section AND location")
L1130 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_mutant_hunt: using loose matching (old task without section info)")
L1151 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Kill tracker stats: total=" .. total_in_tracker .. " player_monsters=" .. player_monster_kills .. " npc_monsters=" .. npc_monster_kills)
L1160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_mutant_hunt: skipping kill section=" .. g_tostring(kill_data.section) .. " monster_type=" .. g_tostring(kill_data.monster_type) .. " (required=" .. g_tostring(required_section) .. ")")
L1171 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_mutant_hunt: matched kill at location, section=" .. g_tostring(kill_data.section) .. " monster_type=" .. g_tostring(kill_data.monster_type))
L1182 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_mutant_hunt: matched kill at dist=" .. string.format("%.1f", dist) .. " section=" .. g_tostring(kill_data.section))
L1187 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_mutant_hunt: skipping old kill (kill_time=" .. g_tostring(kill_time) .. " < reg_time=" .. g_tostring(task_registered_time) .. ")")
L1194 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_mutant_hunt RESULT: kills_at_location=" .. g_tostring(kills_at_location) .. " -> PASS")
L1199 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_mutant_hunt RESULT: kills_nearby=" .. g_tostring(kills_nearby) .. " -> PASS")
L1220 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_mutant_hunt RESULT: matching_monster_kills=" .. g_tostring(matching_monster_kills) .. " (required=" .. g_tostring(required_section) .. ") -> PASS (fallback)")
L1225 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] validate_mutant_hunt RESULT: no player kills -> FAIL")
L1362 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Using whitelist stage override for %s: %d", task_id, whitelist_stage_override)
L1376 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Task " .. g_tostring(task_id) .. " type=" .. g_tostring(task_type) .. " require_player_kill=true")
L1381 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] bounty validation: valid=" .. g_tostring(valid) .. " reason=" .. g_tostring(reason))
L1385 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] assault validation: valid=" .. g_tostring(valid) .. " reason=" .. g_tostring(reason))
L1389 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] defense validation: valid=" .. g_tostring(valid) .. " reason=" .. g_tostring(reason))
L1393 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] mutant_hunt validation: valid=" .. g_tostring(valid) .. " reason=" .. g_tostring(reason))
L1397 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Task type " .. g_tostring(task_type) .. " not in KILL_VALIDATION_TYPES")
L1400 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Task " .. g_tostring(task_id) .. " - require_player_kill is DISABLED")
L1419 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] post_completion_cleanup: no var for spy task %s", task_id)
L1426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] post_completion_cleanup: spy_obj is nil for task %s", task_id)
L1433 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] post_completion_cleanup: se_squad is nil for task %s", task_id)
L1476 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Spy task cleanup complete for %s", task_id)
L1560 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Task %s: should=%s, reason=%s",
L1576 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Adding to cancel list: " .. g_tostring(task_id) .. " reason=" .. g_tostring(reason))
L1585 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![FA] Error checking task %s: %s", g_tostring(task_id), g_tostring(err))
L1592 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] AUTOCOMPLETING: %s", task_data.id)
L1620 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Tasks to cancel: " .. g_tostring(#tasks_to_cancel) .. ", cancel_if_stolen=" .. g_tostring(cfg.cancel_if_stolen))
L1625 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] CANCELLING (stolen): " .. g_tostring(task_data.id) .. " - " .. g_tostring(task_data.reason))
L1652 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] cancel_if_stolen is disabled, not cancelling tasks")
L1664 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] actor_on_first_update - mod ready!")
L1682 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] on_game_start called")
L1714 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Fixed registered_time for task: " .. tostring(task_id) .. " (was: " .. tostring(rt) .. ")")
L1740 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] load_state complete - mod ready")
L1766 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Monkeypatched sim_board.remove_squad for CTD prevention")
L1779 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] task_callback fired: task=%s stage=%s autocomplete_flag=%s",
L1793 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] task_callback: compensation disabled in MCM")
L1800 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] task_callback: not completed stage")
L1808 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] task_callback: no on_complete data")
L1816 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] task_callback: calculating compensation for %s", tostring(tsk_id))
L1822 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] task_callback: no compensation calculated")
L1827 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Applying item compensation for task %s: " .. tostring(compensation.min or 0) .. "-" .. tostring(compensation.max or 0) .. " RU", tsk_id)
L1835 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Monkeypatched task_manager.task_callback for item compensation")
L1837 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[FA] Core script loaded successfully")
L1775 🔴 global_write
Global write: task_manager_task_callback
Impact: low
Show code
task_manager_task_callback = task_manager.task_callback

Fermuto's Part Disassembly Fix

1 file (🟢0 🟡0 🔴0 🔵9)

item_parts.script

L111 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts timer | no owner found")
L152 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts | no owner found for [%s]", obj:name())
L189 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts timer | no owner found")
L244 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts | no owner found for [%s]", obj:name())
L336 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts timer | no owner found")
L373 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts | no owner found for [%s]", obj:name())
L690 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ item_parts | %s | id: %s - con: %s", str, k, v)
L698 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ parts table for (%s)", id)
L700 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ [%s] - condition: %s", k1, v1)

Flueno's Safer Artifact Melting

1 file (🟢0 🟡0 🔴2 🔵0)

safer_af_crafting_mcm.script

L146 🔴 global_write
Global write: af_update_delegatee
Impact: low
Show code
af_update_delegatee = item_artefact.artefact_binder.update
L151 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = "safe_af_craft",

Fuji's ISG Teleport

1 file (🟢0 🟡0 🔴0 🔵2)

fuji_magician.script

L44 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[Fuji] Teleport: Move NPC")
L102 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("snd is nil")

G.A.M.M.A. 3D PDA and Headlamp Animations

1 file (🟢3 🟡0 🔴3 🔵4)

actor_effects.script

L1536 🟢 table_insert_append
table.insert(anims, v) -> anims[#anims+1] = v
Impact: high
Show code
table.insert(anims,{e = i,d = v[2] or math_random(0,1),c = cnt})
L255 🟢 repeated_itm_section()
itm:section() called 3x in Hit_TorchToggle
Impact: low
Show code
Cache itm:section() result
L404 🟢 repeated_itm_section()
itm:section() called 3x in Hit_MaskCleaning
Impact: low
Show code
Cache itm:section() result
L1373 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~WARNING actor_effects.play_item_fx | item animation [%s] doesn't exist!", name)
L1729 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("PDA Out")
L1733 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(state)
L1737 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("PDA Out")
L1730 🔴 global_write
Global write: wpn
Impact: low
Show code
wpn = db.actor:active_item()
L1732 🔴 global_write
Global write: state
Impact: low
Show code
state = wpn:get_state()
L1857 🔴 global_write
Global write: minimap_enabled
Impact: low
Show code
minimap_enabled = ui_options.get("video/hud/show_minimap")

G.A.M.M.A. AI Rework

3 files (🟢0 🟡0 🔴11 🔵25)

schemes_ai_gamma.script

L61 🔴 global_write
Global write: dumb_table
Impact: low
Show code
dumb_table = m_data.dumb_table
L62 🔴 global_write
Global write: table_npc
Impact: low
Show code
table_npc = m_data.table_npc
L63 🔴 global_write
Global write: swicth_table2
Impact: low
Show code
swicth_table2 = m_data.swicth_table2

xr_conditions.script

L361 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("couldnt find talking npc")
L724 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameter in 'dist_to_actor_le' function!!!")
L732 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameter in 'dist_to_actor_ge' function!!!")
L908 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong number of params in npc_community")
L928 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong number of params in npc_rank")
L939 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong number of params in npc_profile")
L1374 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Not enough arguments in 'is_squad_enemy_to_actor' funciton!")
L1434 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if detector_section == nil then printf("Wrong parameters in function 'actor_active_detector'") end
L1562 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Insufficient params in squad_in_zone function. story_id[%s], zone_name[%s]", tostring(story_id), tostring(zone_name))
L1596 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Insufficient params in squad_has_enemy function. story_id [%s]", tostring(story_id))
L1621 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Insufficient params in squad_in_zone_all function. story_id[%s], zone_name[%s]", tostring(story_id), tostring(zone_name))
L1699 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters")
L1721 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters")
L1731 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("Wrong parameter story_id[%s] in squad_exist function", tostring(story_id))
L1749 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("~ERROR squad_name_exist | section [%s] doesn't exist in system_ini", tostring(story_id))
L1758 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~WARNING squad_name_exist | cant' get smart obeject [%s]", smart_name)
L1790 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameter squad_id[%s] in 'squad_npc_count_ge' function", tostring(squad_id))
L1829 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Signal rocket name is not set!")
L1834 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such signal rocket: [%s] on level", tostring(p[1]))
L1841 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("wrong story id")
L1940 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if (p and p[1]) == nil then printf("Wrong parameters in function 'check_bloodsucker_state'!!!") end
L2185 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("jup_b221_who_will_start: table reachable_theme ------------------------------> [%s]", g_tostring(k))
L2189 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such parameters in function 'jup_b221_who_will_start'")
L2197 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters in function 'jup_b221_who_will_start'")
L1779 🔴 global_write
Global write: npc_id
Impact: low
Show code
npc_id = npc.id
L1781 🔴 global_write
Global write: npc_id
Impact: low
Show code
npc_id = npc:id()

xr_danger.script

L978 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_danger: no action id p[%s]",i)
L8 🔴 global_write
Global write: evaid
Impact: low
Show code
evaid = 188113
L9 🔴 global_write
Global write: actid
Impact: low
Show code
actid = 188113
L17 🔴 global_write
Global write: DangerInertion
Impact: low
Show code
DangerInertion = utils_data.collect_section(ini,"danger_inertion",true)
L18 🔴 global_write
Global write: DangerInertionActor
Impact: low
Show code
DangerInertionActor = utils_data.collect_section(ini,"danger_inertion_actor",true)
L19 🔴 global_write
Global write: DangerIgnore
Impact: low
Show code
DangerIgnore = utils_data.collect_section(ini,"danger_object",true)
L20 🔴 global_write
Global write: DangerIgnoreActor
Impact: low
Show code
DangerIgnoreActor = utils_data.collect_section(ini,"danger_object_actor",true)

G.A.M.M.A. Accurate Defense Values

2 files (🟢2 🟡0 🔴8 🔵5)

ish_item_stats.script

L199 🔴 global_write
Global write: Base_UIInfoItem_Update
Impact: low
Show code
Base_UIInfoItem_Update = nil
L246 🔴 global_write
Global write: Base_UIInfoItem_Update
Impact: low
Show code
Base_UIInfoItem_Update = utils_ui.UIInfoItem.Update

ui_inventory.script

L830 🟢 table_insert_append
table.insert(context_params, v) -> context_params[#context_params+1] = v
Impact: high
Show code
table.insert(context_params, {id, bag, g_unpack(func_action)})
L3382 🟢 repeated_obj_from_section()
obj_from:section() called 3x in On_CC_DragDrop
Impact: low
Show code
Cache obj_from:section() result
L735 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR Can't get item game object!")
L916 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIInventory:Name_Custom | can't find function (%s) for %s in section [%s]", str[1] .. str[2], "use" .. i .. "_functor", sec)
L1294 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIInventory:Action_Custom | can't find function (%s) for %s in section [%s]", str[1] .. str[2], "use" .. i .. "_action_functor", sec)
L1728 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("UIInventory | can't get cast_CustomOutfit of [%s]", outfit:name())
L1761 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("UIInventory | can't get cast_Helmet of [%s]", outfit:name())
L17 🔴 global_write
Global write: display_supply_level
Impact: low
Show code
display_supply_level = true
L66 🔴 global_write
Global write: rounded
Impact: low
Show code
rounded = x + 0.5 - (x + 0.5) % 1
L3404 🔴 global_write
Global write: quick_item
Impact: low
Show code
quick_item = exec_console_cmd("slot_" .. (idx_to - 1) .. " " .. obj_from:section())
L3876 🔴 global_write
Global write: show_full_stats
Impact: low
Show code
show_full_stats = false
L3929 🔴 global_write
Global write: show_full_stats
Impact: low
Show code
show_full_stats = false
L3944 🔴 global_write
Global write: show_full_stats
Impact: low
Show code
show_full_stats = true

G.A.M.M.A. Actor Damage Balancer

4 files (🟢1 🟡0 🔴177 🔵8)

grok_actor_damage_balancer.script

L946 🟢 repeated_shit_draftsman_section()
shit.draftsman:section() called 5x in actor_on_before_hit
Impact: low
Show code
Cache shit.draftsman:section() result
L452 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("ammo didn't penetrate armor, damage reduction applied")
L801 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("cancelling strike damage during climbing")
L813 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("starting radiation protection")
L901 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/// Reducing buckshots damage")
L906 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/// Reducing KS23 damage")
L911 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/// Reducing AP Slugs damage")
L916 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/// Reducing Slugs damage")
L921 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/// Reducing 308 Federal damage")
L176 🔴 global_write
Global write: armor_hit_frac
Impact: low
Show code
armor_hit_frac = ini_sys:r_float_ex(obj:section(), "hit_fraction_actor") or 1
L177 🔴 global_write
Global write: armor_bone_value
Impact: low
Show code
armor_bone_value = (1 - armor_hit_frac) * 0.75 or 0
L181 🔴 global_write
Global write: helmet_hit_frac
Impact: low
Show code
helmet_hit_frac = ini_sys:r_float_ex(obj:section(), "hit_fraction_actor") or 1
L182 🔴 global_write
Global write: armor_bone_value
Impact: low
Show code
armor_bone_value = (1 - helmet_hit_frac) or 0
L192 🔴 global_write
Global write: hit_type
Impact: low
Show code
hit_type = HitTypeID["FireWound"]
L193 🔴 global_write
Global write: immunity
Impact: low
Show code
immunity = "fire_wound_immunity"
L194 🔴 global_write
Global write: protection
Impact: low
Show code
protection = "FireWound"
L195 🔴 global_write
Global write: booster_type_def
Impact: low
Show code
booster_type_def = 15
L196 🔴 global_write
Global write: adjuster
Impact: low
Show code
adjuster = 0.80
L197 🔴 global_write
Global write: arti_adjuster
Impact: low
Show code
arti_adjuster = adjuster
L198 🔴 global_write
Global write: limiter
Impact: low
Show code
limiter = 0.65
L199 🔴 global_write
Global write: cap_stat
Impact: low
Show code
cap_stat = "fire_wound_cap"
L200 🔴 global_write
Global write: defense
Impact: low
Show code
defense = "fire_wound_protection"
L204 🔴 global_write
Global write: hit_type
Impact: low
Show code
hit_type = HitTypeID["Wound"]
L205 🔴 global_write
Global write: immunity
Impact: low
Show code
immunity = "wound_immunity"
L206 🔴 global_write
Global write: protection
Impact: low
Show code
protection = "Wound"
L207 🔴 global_write
Global write: booster_type_def
Impact: low
Show code
booster_type_def = 16
L208 🔴 global_write
Global write: adjuster
Impact: low
Show code
adjuster = 0.58 * 1.20
L209 🔴 global_write
Global write: arti_adjuster
Impact: low
Show code
arti_adjuster = 0.58 * 2
L210 🔴 global_write
Global write: limiter
Impact: low
Show code
limiter = 0.65
L211 🔴 global_write
Global write: cap_stat
Impact: low
Show code
cap_stat = "wound_cap"
L212 🔴 global_write
Global write: defense
Impact: low
Show code
defense = "wound_protection"
L216 🔴 global_write
Global write: hit_type
Impact: low
Show code
hit_type = HitTypeID["Strike"]
L217 🔴 global_write
Global write: immunity
Impact: low
Show code
immunity = "strike_immunity"
L218 🔴 global_write
Global write: protection
Impact: low
Show code
protection = "Strike"
L219 🔴 global_write
Global write: booster_type_def
Impact: low
Show code
booster_type_def = 14
L220 🔴 global_write
Global write: adjuster
Impact: low
Show code
adjuster = 0.55
L221 🔴 global_write
Global write: arti_adjuster
Impact: low
Show code
arti_adjuster = adjuster * 1.3
L222 🔴 global_write
Global write: limiter
Impact: low
Show code
limiter = 0.65
L223 🔴 global_write
Global write: elemental
Impact: low
Show code
elemental = 1
L224 🔴 global_write
Global write: cap_stat
Impact: low
Show code
cap_stat = "strike_cap"
L225 🔴 global_write
Global write: defense
Impact: low
Show code
defense = "strike_protection"
L229 🔴 global_write
Global write: hit_type
Impact: low
Show code
hit_type = HitTypeID["Explosion"]
L230 🔴 global_write
Global write: immunity
Impact: low
Show code
immunity = "explosion_immunity"
L231 🔴 global_write
Global write: protection
Impact: low
Show code
protection = "Explosion"
L232 🔴 global_write
Global write: booster_type_def
Impact: low
Show code
booster_type_def = 13
L233 🔴 global_write
Global write: adjuster
Impact: low
Show code
adjuster = 0.45
L234 🔴 global_write
Global write: arti_adjuster
Impact: low
Show code
arti_adjuster = 0.675
L235 🔴 global_write
Global write: limiter
Impact: low
Show code
limiter = 0.65
L236 🔴 global_write
Global write: elemental
Impact: low
Show code
elemental = 1
L237 🔴 global_write
Global write: cap_stat
Impact: low
Show code
cap_stat = "explosion_cap"
L238 🔴 global_write
Global write: defense
Impact: low
Show code
defense = "explosion_protection"
L242 🔴 global_write
Global write: hit_type
Impact: low
Show code
hit_type = HitTypeID["Burn"]
L243 🔴 global_write
Global write: immunity
Impact: low
Show code
immunity = "burn_immunity"
L244 🔴 global_write
Global write: protection
Impact: low
Show code
protection = "Burn"
L245 🔴 global_write
Global write: booster_type_def
Impact: low
Show code
booster_type_def = 8
L246 🔴 global_write
Global write: adjuster
Impact: low
Show code
adjuster = 1.00
L247 🔴 global_write
Global write: arti_adjuster
Impact: low
Show code
arti_adjuster = adjuster * 2.0
L248 🔴 global_write
Global write: limiter
Impact: low
Show code
limiter = 0.65
L249 🔴 global_write
Global write: elemental
Impact: low
Show code
elemental = 1
L250 🔴 global_write
Global write: cap_stat
Impact: low
Show code
cap_stat = "burn_cap"
L251 🔴 global_write
Global write: defense
Impact: low
Show code
defense = "burn_protection"
L255 🔴 global_write
Global write: hit_type
Impact: low
Show code
hit_type = HitTypeID["LightBurn"]
L256 🔴 global_write
Global write: immunity
Impact: low
Show code
immunity = "burn_immunity"
L257 🔴 global_write
Global write: protection
Impact: low
Show code
protection = "Burn"
L258 🔴 global_write
Global write: booster_type_def
Impact: low
Show code
booster_type_def = 8
L259 🔴 global_write
Global write: adjuster
Impact: low
Show code
adjuster = 1.00
L260 🔴 global_write
Global write: arti_adjuster
Impact: low
Show code
arti_adjuster = adjuster * 2.0
L261 🔴 global_write
Global write: limiter
Impact: low
Show code
limiter = 0.65
L262 🔴 global_write
Global write: elemental
Impact: low
Show code
elemental = 1
L263 🔴 global_write
Global write: cap_stat
Impact: low
Show code
cap_stat = "burn_cap"
L264 🔴 global_write
Global write: defense
Impact: low
Show code
defense = "burn_protection"
L268 🔴 global_write
Global write: hit_type
Impact: low
Show code
hit_type = HitTypeID["Shock"]
L269 🔴 global_write
Global write: immunity
Impact: low
Show code
immunity = "shock_immunity"
L270 🔴 global_write
Global write: protection
Impact: low
Show code
protection = "Shock"
L271 🔴 global_write
Global write: booster_type_def
Impact: low
Show code
booster_type_def = 9
L272 🔴 global_write
Global write: adjuster
Impact: low
Show code
adjuster = 0.102
L273 🔴 global_write
Global write: arti_adjuster
Impact: low
Show code
arti_adjuster = adjuster * 26.5
L274 🔴 global_write
Global write: limiter
Impact: low
Show code
limiter = 0.65
L275 🔴 global_write
Global write: elemental
Impact: low
Show code
elemental = 1
L276 🔴 global_write
Global write: cap_stat
Impact: low
Show code
cap_stat = "shock_cap"
L277 🔴 global_write
Global write: defense
Impact: low
Show code
defense = "shock_protection"
L281 🔴 global_write
Global write: hit_type
Impact: low
Show code
hit_type = HitTypeID["ChemicalBurn"]
L282 🔴 global_write
Global write: immunity
Impact: low
Show code
immunity = "chemical_burn_immunity"
L283 🔴 global_write
Global write: protection
Impact: low
Show code
protection = "ChemicalBurn"
L284 🔴 global_write
Global write: booster_type_def
Impact: low
Show code
booster_type_def = 7
L285 🔴 global_write
Global write: adjuster
Impact: low
Show code
adjuster = 1.32
L286 🔴 global_write
Global write: arti_adjuster
Impact: low
Show code
arti_adjuster = adjuster
L287 🔴 global_write
Global write: limiter
Impact: low
Show code
limiter = 0.65
L288 🔴 global_write
Global write: elemental
Impact: low
Show code
elemental = 1
L289 🔴 global_write
Global write: cap_stat
Impact: low
Show code
cap_stat = "chemical_burn_cap"
L290 🔴 global_write
Global write: defense
Impact: low
Show code
defense = "chemical_burn_protection"
L303 🔴 global_write
Global write: hit_type
Impact: low
Show code
hit_type = HitTypeID["Telepatic"]
L304 🔴 global_write
Global write: immunity
Impact: low
Show code
immunity = "telepatic_immunity"
L305 🔴 global_write
Global write: protection
Impact: low
Show code
protection = "telepatic"
L306 🔴 global_write
Global write: booster_type_def
Impact: low
Show code
booster_type_def = 6
L307 🔴 global_write
Global write: adjuster
Impact: low
Show code
adjuster = 1.70
L308 🔴 global_write
Global write: arti_adjuster
Impact: low
Show code
arti_adjuster = 1.50
L309 🔴 global_write
Global write: limiter
Impact: low
Show code
limiter = 0.65
L310 🔴 global_write
Global write: elemental
Impact: low
Show code
elemental = 1
L311 🔴 global_write
Global write: psy
Impact: low
Show code
psy = 1
L312 🔴 global_write
Global write: cap_stat
Impact: low
Show code
cap_stat = "telepatic_cap"
L313 🔴 global_write
Global write: defense
Impact: low
Show code
defense = "telepatic_protection"
L321 🔴 global_write
Global write: total_prot
Impact: low
Show code
total_prot = 0
L322 🔴 global_write
Global write: headshot
Impact: low
Show code
headshot = 0
L323 🔴 global_write
Global write: elemental
Impact: low
Show code
elemental = 0
L324 🔴 global_write
Global write: psy
Impact: low
Show code
psy = 0
L325 🔴 global_write
Global write: adjuster
Impact: low
Show code
adjuster = 1.00
L333 🔴 global_write
Global write: headshot
Impact: low
Show code
headshot = 1
L349 🔴 global_write
Global write: armor_hit_frac
Impact: low
Show code
armor_hit_frac = ini_sys:r_float_ex(outfit:section(), "hit_fraction_actor") or 1
L367 🔴 global_write
Global write: helmet_hit_frac
Impact: low
Show code
helmet_hit_frac = ini_sys:r_float_ex(helmet:section(), "hit_fraction_actor") or 1
L379 🔴 global_write
Global write: af_bone_value
Impact: low
Show code
af_bone_value = 0
L380 🔴 global_write
Global write: prot
Impact: low
Show code
prot = 0
L383 🔴 global_write
Global write: af_bone_value
Impact: low
Show code
af_bone_value = 0.01
L386 🔴 global_write
Global write: af_bone_value
Impact: low
Show code
af_bone_value = 0.03
L389 🔴 global_write
Global write: af_bone_value
Impact: low
Show code
af_bone_value = 0.04
L392 🔴 global_write
Global write: af_bone_value
Impact: low
Show code
af_bone_value = 0.06
L402 🔴 global_write
Global write: af_bone_value
Impact: low
Show code
af_bone_value = 0
L410 🔴 global_write
Global write: limiter
Impact: low
Show code
limiter = limiter + af_limit
L412 🔴 global_write
Global write: limiter
Impact: low
Show code
limiter = 0.95
L445 🔴 global_write
Global write: no_pen
Impact: low
Show code
no_pen = 0
L453 🔴 global_write
Global write: no_pen
Impact: low
Show code
no_pen = 1
L464 🔴 global_write
Global write: no_pen
Impact: low
Show code
no_pen = 1
L469 🔴 global_write
Global write: total_prot
Impact: low
Show code
total_prot = math_ceil((helmet_protection + armor_protection + artefacts_protection + booster_protection) * 100)/100
L472 🔴 global_write
Global write: total_prot
Impact: low
Show code
total_prot = limiter
L478 🔴 global_write
Global write: protection_to_hit_type
Impact: low
Show code
protection_to_hit_type = {
L490 🔴 global_write
Global write: total_prot
Impact: low
Show code
total_prot = 0
L491 🔴 global_write
Global write: headshot
Impact: low
Show code
headshot = 0
L492 🔴 global_write
Global write: elemental
Impact: low
Show code
elemental = 0
L493 🔴 global_write
Global write: psy
Impact: low
Show code
psy = 0
L494 🔴 global_write
Global write: adjuster
Impact: low
Show code
adjuster = 1.00
L503 🔴 global_write
Global write: af_bone_value
Impact: low
Show code
af_bone_value = 0
L504 🔴 global_write
Global write: prot
Impact: low
Show code
prot = 0
L509 🔴 global_write
Global write: af_prot
Impact: low
Show code
af_prot = math.ceil(prot * 0.6 * arti_adjuster *100)/100
L514 🔴 global_write
Global write: af_bone_value
Impact: low
Show code
af_bone_value = 0
L520 🔴 global_write
Global write: af_prot
Impact: low
Show code
af_prot = math.ceil(prot * 0.6 * arti_adjuster *100)/100
L532 🔴 global_write
Global write: total_prot
Impact: low
Show code
total_prot = 0
L533 🔴 global_write
Global write: headshot
Impact: low
Show code
headshot = 0
L534 🔴 global_write
Global write: elemental
Impact: low
Show code
elemental = 0
L535 🔴 global_write
Global write: psy
Impact: low
Show code
psy = 0
L536 🔴 global_write
Global write: adjuster
Impact: low
Show code
adjuster = 1.00
L575 🔴 global_write
Global write: section_protection
Impact: low
Show code
section_protection = math_ceil(SYS_GetParam(0,sec,"hit_fraction_actor") * adjuster *100) or 0
L577 🔴 global_write
Global write: section_protection
Impact: low
Show code
section_protection = math_ceil(SYS_GetParam(0,sec, defense) * adjuster *100) or 0
L614 🔴 global_write
Global write: rand
Impact: low
Show code
rand = math.random(1,100)
L624 🔴 global_write
Global write: player_protection
Impact: low
Show code
player_protection = get_protection(shit,bone_id,k_ap)
L627 🔴 global_write
Global write: game_num
Impact: low
Show code
game_num = gameplay["type"] or game_num
L628 🔴 global_write
Global write: damage
Impact: low
Show code
damage = shit.power * ( 1 - player_protection ) * difficulty_multiplier[game_num] * 0.90
L654 🔴 global_write
Global write: damage
Impact: low
Show code
damage = shit.power * ( 1 - player_protection )
L659 🔴 global_write
Global write: damage
Impact: low
Show code
damage = damage * body_part_mult
L664 🔴 global_write
Global write: damage
Impact: low
Show code
damage = db.actor.health - 0.25
L703 🔴 global_write
Global write: previous_hitbox
Impact: low
Show code
previous_hitbox = bone_id
L706 🔴 global_write
Global write: helmet
Impact: low
Show code
helmet = db.actor:item_in_slot(12)
L708 🔴 global_write
Global write: cond
Impact: low
Show code
cond = helmet:condition()
L713 🔴 global_write
Global write: armor
Impact: low
Show code
armor = db.actor:item_in_slot(7)
L715 🔴 global_write
Global write: cond
Impact: low
Show code
cond = armor:condition()
L723 🔴 global_write
Global write: helmet
Impact: low
Show code
helmet = db.actor:item_in_slot(12)
L725 🔴 global_write
Global write: cond
Impact: low
Show code
cond = helmet:condition()
L730 🔴 global_write
Global write: armor
Impact: low
Show code
armor = db.actor:item_in_slot(7)
L732 🔴 global_write
Global write: cond
Impact: low
Show code
cond = armor:condition()
L749 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L752 🔴 global_write
Global write: grok_delay_field
Impact: low
Show code
grok_delay_field = tg + delay
L762 🔴 global_write
Global write: grok_delay_mine
Impact: low
Show code
grok_delay_mine = tg + delay_mine
L798 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L810 🔴 global_write
Global write: rad_grace_delay
Impact: low
Show code
rad_grace_delay = tg + rad_grace
L811 🔴 global_write
Global write: rad_grace_cancel
Impact: low
Show code
rad_grace_cancel = tg + rad_damage
L827 🔴 global_write
Global write: game_num
Impact: low
Show code
game_num = gameplay["type"] or game_num
L839 🔴 global_write
Global write: grok_delay2
Impact: low
Show code
grok_delay2 = tg + delay2
L841 🔴 global_write
Global write: first_hit
Impact: low
Show code
first_hit = 1
L850 🔴 global_write
Global write: first_hit
Impact: low
Show code
first_hit = 0
L873 🔴 global_write
Global write: gameplay
Impact: low
Show code
gameplay = alife_storage_manager.get_state().diff_game
L877 🔴 global_write
Global write: gameplay
Impact: low
Show code
gameplay = alife_storage_manager.get_state().diff_game
L879 🔴 global_write
Global write: game_num
Impact: low
Show code
game_num = gameplay["type"] or game_num
L887 🔴 global_write
Global write: wpn
Impact: low
Show code
wpn = level.object_by_id(shit.weapon_id)
L925 🔴 global_write
Global write: k_ap
Impact: low
Show code
k_ap = ini_sys:r_float_ex(ammo_section, "k_ap") * 10 or 0
L974 🔴 global_write
Global write: gameplay
Impact: low
Show code
gameplay = alife_storage_manager.get_state().diff_game
L978 🔴 global_write
Global write: gameplay
Impact: low
Show code
gameplay = alife_storage_manager.get_state().diff_game
L980 🔴 global_write
Global write: game_num
Impact: low
Show code
game_num = gameplay["type"] or game_num
L983 🔴 global_write
Global write: climbing
Impact: low
Show code
climbing = 0
L986 🔴 global_write
Global write: climbing
Impact: low
Show code
climbing = 1
L990 🔴 global_write
Global write: climbing
Impact: low
Show code
climbing = 0

grok_bleed_icon.script

L10 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L13 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + delay

ish_item_stats.script

L130 🔴 global_write
Global write: Base_UIInfoItem_Update
Impact: low
Show code
Base_UIInfoItem_Update = nil
L177 🔴 global_write
Global write: Base_UIInfoItem_Update
Impact: low
Show code
Base_UIInfoItem_Update = utils_ui.UIInfoItem.Update

momopate_pba_tweaks.script

L4 🔴 global_write
Global write: s_event
Impact: low
Show code
s_event = perk_based_artefacts.add_simple_timed_effect
L5 🔴 global_write
Global write: n_event
Impact: low
Show code
n_event = perk_based_artefacts.add_timed_effect
L441 🔴 global_write
Global write: wpn
Impact: low
Show code
wpn = level.object_by_id(s_hit.weapon_id)

G.A.M.M.A. Additional Storylines fixes

2 files (🟢0 🟡0 🔴1 🔵6)

ah_dialogs.script

L136 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("_"..ah_level_counter)
L139 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(" ")
L199 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("_")
L327 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(" ")
L330 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(" ")
L333 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(" ")

grok_additional_storyline_npc_invincible.script

L1 🔴 global_write
Global write: ads_npcs
Impact: low
Show code
ads_npcs = {

G.A.M.M.A. Agroprom Underground Remake

1 file (🟢0 🟡0 🔴0 🔵1)

agroprom_drugkit_spawner_gamma.script

L4 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[agroprom_drugkit_spawner_gamma] Initialization...")

G.A.M.M.A. Alife fixes

1 file (🟢0 🟡0 🔴0 🔵9)

alife_storage_manager.script

L78 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Marshal Library | Old save detected, switching data from (%s) to (%s) - BEFORE load", prev_version, new_version)
L83 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Marshal Library | companion_assigned_items is adjusted")
L94 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Marshal Library | Old save detected, switching data from (%s) to (%s) - AFTER load", prev_version, new_version)
L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Marshal Library | NPC PDA [%s] is shifted to new object [%s]", id, se_pda_new.id)
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Marshal Library | Item [%s] has parts", se_item:name())
L133 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Marshal Library | Outfit [%s] has no patch", se_item:name())
L154 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Marshal Library | Created [%s] for [%s]", sec, se_parent:name())
L229 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!Error: Unable to write to %s",path)
L264 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!Error: Failed to read %s",path)

G.A.M.M.A. Anim Checker

1 file (🟢0 🟡0 🔴3 🔵0)

check_anim.script

L1 🔴 global_write
Global write: anim_playing
Impact: low
Show code
anim_playing = false
L3 🔴 global_write
Global write: anim_playing
Impact: low
Show code
function anim_start_func() anim_playing = true end
L5 🔴 global_write
Global write: anim_playing
Impact: low
Show code
function anim_stop_func() anim_playing = false end

G.A.M.M.A. Armors repair like WPO

1 file (🟢0 🟡0 🔴7 🔵1)

item_exo_device.script

L22 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("arti_exo | %s | " .. txt, time_global(), ...)
L89 🔴 global_write
Global write: exo
Impact: low
Show code
exo = false
L93 🔴 global_write
Global write: exo
Impact: low
Show code
exo = true
L97 🔴 global_write
Global write: exo
Impact: low
Show code
exo = true
L391 🔴 global_write
Global write: CanRepair
Impact: low
Show code
CanRepair = inventory_upgrades.can_repair_item
L400 🔴 global_write
Global write: NameCustom
Impact: low
Show code
NameCustom = ui_inventory.UIInventory.Name_Custom
L411 🔴 global_write
Global write: ActionCustom
Impact: low
Show code
ActionCustom = ui_inventory.UIInventory.Action_Custom
L426 🔴 global_write
Global write: original_build_desc_header
Impact: low
Show code
original_build_desc_header = ui_item.build_desc_header

G.A.M.M.A. Artefacts Reinvention

15 files (🟢14 🟡1 🔴114 🔵220)

drx_da_main_artefacts.script

L11 🔴 global_write
Global write: allowed_artefacts
Impact: low
Show code
allowed_artefacts = (function() -- Allowed artefacts to spawn
L123 🔴 global_write
Global write: artefacts_map_chances
Impact: low
Show code
artefacts_map_chances = {
L157 🔴 global_write
Global write: artefacts_map_tiers
Impact: low
Show code
artefacts_map_tiers = {
L532 🔴 global_write
Global write: anomaly_type_to_artefacts
Impact: low
Show code
anomaly_type_to_artefacts = {

exo_loot.script

L1 🔴 global_write
Global write: get_data
Impact: low
Show code
get_data = item_exo_device.get_data
L2 🔴 global_write
Global write: set_data
Impact: low
Show code
set_data = item_exo_device.set_data
L3 🔴 global_write
Global write: init_data
Impact: low
Show code
init_data = item_exo_device.init_data
L4 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = exo_mcm.get_config
L95 🔴 global_write
Global write: SpawnCosmetics
Impact: low
Show code
SpawnCosmetics = death_manager.spawn_cosmetics
L137 🔴 global_write
Global write: bar_tele
Impact: low
Show code
bar_tele = xr_effects.bar_arena_teleport

grok_artefacts_bip.script

L1 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = grok_artefacts_bip_mcm.get_config
L91 🔴 global_write
Global write: enabled
Impact: low
Show code
enabled = get_config("enabled")
L95 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L98 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + delay
L104 🔴 global_write
Global write: available_det_tier
Impact: low
Show code
available_det_tier = 0
L116 🔴 global_write
Global write: available_det_tier
Impact: low
Show code
available_det_tier = detectors[sec]
L139 🔴 global_write
Global write: af_detected
Impact: low
Show code
af_detected = 1
L148 🔴 global_write
Global write: snd
Impact: low
Show code
snd = sound_object('detectors\\art_beep1')
L156 🔴 global_write
Global write: artefact
Impact: low
Show code
artefact = 1
L158 🔴 global_write
Global write: artefact
Impact: low
Show code
artefact = 0
L167 🔴 global_write
Global write: artefact
Impact: low
Show code
artefact = 0
L168 🔴 global_write
Global write: af_detected
Impact: low
Show code
af_detected = 0
L172 🔴 global_write
Global write: af_detected
Impact: low
Show code
af_detected = 0

grok_artefacts_bip_mcm.script

L10 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "grok_artefacts_bip",sh=true ,gr={

grok_artefacts_melter.script

L230 🟢 repeated_obj_section()
obj:section() called 6x in InitInventory
Impact: low
Show code
Cache obj:section() result
L255 🟢 repeated_obj_s_section()
obj_s:section() called 4x in InitInventory
Impact: low
Show code
Cache obj_s:section() result
L356 🟢 repeated_obj_n_section()
obj_n:section() called 3x in OnItemSelect
Impact: low
Show code
Cache obj_n:section() result
L360 🟢 repeated_obj_1_section()
obj_1:section() called 3x in OnItemSelect
Impact: low
Show code
Cache obj_1:section() result
L64 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR item_repair | no game object passed!")
L60 🔴 global_write
Global write: tool_obj
Impact: low
Show code
tool_obj = obj
L61 🔴 global_write
Global write: tool_sec
Impact: low
Show code
tool_sec = sec
L230 🔴 global_write
Global write: artefact_to_repair
Impact: low
Show code
artefact_to_repair = obj:section()
L255 🔴 global_write
Global write: obj_s_kind
Impact: low
Show code
obj_s_kind = SYS_GetParam(0, obj_s:section(), "kind")
L256 🔴 global_write
Global write: obj_kind
Impact: low
Show code
obj_kind = SYS_GetParam(0, obj:section(), "kind")
L261 🔴 global_write
Global write: strengthen
Impact: low
Show code
strengthen = "strong"
L263 🔴 global_write
Global write: strengthen
Impact: low
Show code
strengthen = "weak"

grok_artefacts_melter_charge.script

L78 🔴 global_write
Global write: new_charges
Impact: low
Show code
new_charges = clamp(uses + num, 0, 10)
L115 🔴 global_write
Global write: d_flag
Impact: low
Show code
d_flag = true
L121 🔴 global_write
Global write: d_flag
Impact: low
Show code
d_flag = false

grok_artefacts_random_condition.script

L1 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1057 error fix")

grok_artefacts_random_spawner.script

L40 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Spawning artefacts in %s",delay)
L45 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Spawning artefacts")
L55 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Tried Spawning artefacts dynamic")
L61 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Tried Spawning artefacts in field")
L85 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(actor_level)
L1 🔴 global_write
Global write: spawned
Impact: low
Show code
spawned = 0
L3 🔴 global_write
Global write: regular_fields_chance
Impact: low
Show code
regular_fields_chance = 50
L4 🔴 global_write
Global write: dynamic_fields_chance
Impact: low
Show code
dynamic_fields_chance = 15
L5 🔴 global_write
Global write: per_field_probability
Impact: low
Show code
per_field_probability = 40
L7 🔴 global_write
Global write: black_listed_levels
Impact: low
Show code
black_listed_levels = {
L33 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L36 🔴 global_write
Global write: delay1
Impact: low
Show code
delay1 = delay1 * 1.2 or 22687
L37 🔴 global_write
Global write: delay2
Impact: low
Show code
delay2 = delay2 * 1.2 or 54264
L38 🔴 global_write
Global write: delay
Impact: low
Show code
delay = math_random(delay1,delay2)
L39 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + delay
L41 🔴 global_write
Global write: spawned
Impact: low
Show code
spawned = 1
L49 🔴 global_write
Global write: spawned
Impact: low
Show code
spawned = 0
L65 🔴 global_write
Global write: spawned
Impact: low
Show code
spawned = 0
L72 🔴 global_write
Global write: spawn_chance
Impact: low
Show code
spawn_chance = math.random(1,100)
L89 🔴 global_write
Global write: delay1
Impact: low
Show code
delay1 = 30250
L90 🔴 global_write
Global write: delay2
Impact: low
Show code
delay2 = 77520
L93 🔴 global_write
Global write: delay1
Impact: low
Show code
delay1 = 30250
L94 🔴 global_write
Global write: delay2
Impact: low
Show code
delay2 = 77520
L97 🔴 global_write
Global write: map_previous_name
Impact: low
Show code
map_previous_name = actor_level
L107 🔴 global_write
Global write: map_previous_name
Impact: low
Show code
map_previous_name = m_data.map_previous_name
L108 🔴 global_write
Global write: delay1
Impact: low
Show code
delay1 = m_data.delay1
L109 🔴 global_write
Global write: delay2
Impact: low
Show code
delay2 = m_data.delay2

grok_remove_belt_duplicates.script

L38 🔴 global_write
Global write: res
Impact: low
Show code
res = sec:gsub("_lead_box", "")
L40 🔴 global_write
Global write: res
Impact: low
Show code
res = sec:gsub("_af_iam", "")
L42 🔴 global_write
Global write: res
Impact: low
Show code
res = sec:gsub("_af_aac", "")
L44 🔴 global_write
Global write: res
Impact: low
Show code
res = sec:gsub("_af_aam", "")
L51 🔴 global_write
Global write: slot_item_sec
Impact: low
Show code
slot_item_sec = slot_item:section()
L54 🔴 global_write
Global write: itm_tbl
Impact: low
Show code
itm_tbl={}
L71 🔴 global_write
Global write: cat
Impact: low
Show code
cat = categories[section]
L87 🔴 global_write
Global write: cat_to_check
Impact: low
Show code
cat_to_check = categories[slot_item_sec]

item_artefact.script

L28 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("item_artefact | %s | " .. txt, time_global(), ...)
L110 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(" %s %s ", imm_sect, cond_loss)

perk_based_artefacts.script

L2436 🟢 repeated_obj_section()
obj:section() called 9x in <global>
Impact: low
Show code
Cache obj:section() result
L3218 🟢 repeated_get_console
get_console called 6x in <global>
Impact: low
Show code
local console = get_console()
L3814 🟢 repeated_obj_2_section()
obj_2:section() called 5x in <global>
Impact: low
Show code
Cache obj_2:section() result
L4646 🟢 repeated_monster_section()
monster:section() called 2x in monster_on_before_hit
Impact: low
Show code
Cache monster:section() result
L4668 🟢 repeated_monster_section()
monster:section() called 2x in monster_on_hit_callback
Impact: low
Show code
Cache monster:section() result
L4700 🟢 repeated_obj_1_section()
obj_1:section() called 3x in on_item_drag_dropped
Impact: low
Show code
Cache obj_1:section() result
L4700 🟢 repeated_obj_2_section()
obj_2:section() called 3x in on_item_drag_dropped
Impact: low
Show code
Cache obj_2:section() result
L184 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L187 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L189 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L194 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L196 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L200 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L202 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L207 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L209 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L218 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Perk Based Artefacts: " .. str, ...)
L232 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Perk Based Artefacts: Table Print")
L319 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("snd is nil")
L444 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("lucifer exists, %s, %s", af_lucifer:id(), af_lucifer:name())
L480 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("refresh artefacts triggered")
L483 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("artefacts are different, refreshing")
L488 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("artefacts are same")
L513 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("registering callback %s, key %s", callback, key)
L524 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("unregistering callback %s, %s", key, callbacks[key].callback)
L553 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("added cooldown, name %s, time %s, current_time %s", name, time_elapsed + (cooldown or 0), time_elapsed)
L563 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("cooldown not expired yet, name %s, time %s, current_time %s", name, cooldowns[name], time_elapsed)
L585 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("can't add effect, already existing with timer")
L586 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("effect %s, timer %s, remaining_time %s, new timer %s", key, status_effects[key].timer, remaining_time, timer)
L589 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("can't add effect, already existing with bigger timer")
L590 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("effect %s, timer %s, remaining_time %s, new timer %s", key, status_effects[key].timer, remaining_time, timer)
L605 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("added status_effect, key %s, time %s, current_time %s", key, time_elapsed + (timer or 0), time_elapsed)
L618 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("status_effect active, key %s, time %s, current_time %s", key, status_effects[key].timer, time_elapsed)
L634 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("removing status effect, key %s, time %s, current_time %s", key, status_effects[key].timer, time_elapsed)
L654 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("current_time %s, adding effect %s", time_elapsed, time_elapsed + (timer or 0))
L663 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
effect_function = effect_function and dump(effect_function),
L668 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
on_end_function = on_end_function and dump(on_end_function),
L682 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("current_time %s, adding effect %s", time_elapsed, time_elapsed + (timer or 0))
L691 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("effect has on end function %s", effect.on_end)
L703 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("removing effect, key %s", key)
L705 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("removing effect, firing on end, key %s", key)
L718 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("effect %s, timer %s, current_time %s", key, props.timer, time_elapsed)
L720 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("removing effect, effect timer %s, current_time %s", props.timer, time_elapsed)
L785 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, former companions are dead")
L793 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, Registering former companions callbacks")
L819 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Teleporting actor")
L913 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Monster %s near Tapeworm, stun", obj:name())
L970 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("time %s, hit %s, last_hit %s", time, s_hit.power, last_hit.power)
L992 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("time %s, hit %s", time, s_hit.power)
L1077 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Claw, not a valid hit type %s", s_hit.type)
L1109 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Overpowered Claw, dice_roll %s, chance %s", self.dice_roll, lucifer_bonus)
L1119 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("gibs not found")
L1127 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Claw not triggered")
L1181 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Lamp, adding stash %s", id)
L1184 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Lamp, no active stashes on a level")
L1197 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Lamp, adding target %s", id)
L1205 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Lamp, no active targets on level")
L1218 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Lamp, creating light")
L1303 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Phantom Star, weapon hidden, hidden_num %s", self.hidden_num)
L1309 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Phantom Star, weapon restroed, hidden_num %s", self.hidden_num)
L1313 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Phantom Star, resetting num, hidden_num %s", self.hidden_num)
L1338 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Dragon's Eye, no current_weapon")
L1344 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Dragon's Eye, no casted weapon")
L1349 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("ammo type %s", ammo_type)
L1353 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Dragon's Eye, no valid ammo type")
L1361 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Dragon Eye not triggered, dice roll %s, chance %s", self.dice_roll, chance)
L1369 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Dragon Eye not triggered, dice roll %s, chance %s", self.dice_roll, chance)
L1374 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Victim's id: %s", npc_id)
L1384 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("explode_obj spawned")
L1388 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("explode obj exploded")
L1396 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("gibs not found")
L1400 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("explode_obj not spawned yet")
L1510 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Spike, Final Damage %s, bonus %s", s_hit.power, self.damage_multiplier)
L1583 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, no active item")
L1589 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, weapon %s not infused", actor_weapon)
L1600 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, effect power %s, hit_type %s", elemental_hit.power, elemental_hit.type)
L1621 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Thistle, npc health %s", npc.health)
L1658 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Cocoon: stack reset")
L1664 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Cocoon, stacks %s, reduction %s", self.protection_stacks, self.protection_bonus[self.protection_stacks])
L1685 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("af_moh remove speed")
L1692 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("af_moh remove effect")
L1699 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("af_moh unregister callback")
L1703 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("af_moh reset")
L1754 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("pseudodog hit %s", hit.telepatic)
L1845 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("snork meat active")
L1897 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Moss, Eating food %s", food_section)
L1903 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor satiety %s", satiety)
L2377 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Bat, too many tries to find random artefact, returning same section %s", sec)
L2392 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Bat, upgrade artefact table not found for %s", sec)
L2405 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Bat, upgrade artefact not found for %s", sec)
L2439 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Bat, transforming perk artefact %s", sec)
L2444 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Bat, transforming artefact %s to different kind", sec)
L2447 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Bat, upgrading artefact %s", sec)
L2451 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Bat, resulting artefact %s", new_sec)
L2561 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("lucifer id %s", id)
L2562 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("condition %s", self.condition)
L2568 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("new condition %s", af_lucifer:condition())
L2624 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_G.printf("p %s, t %s, i %s, d %s, dm %s", s_hit.power, s_hit.type, s_hit.impulse, s_hit.direction, s_hit.draftsman)
L2664 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Dark time penalty, time %s, level %s, health %s, power %s", hours, actor_level, actor.health, actor.power)
L2668 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sun: Weather not defined")
L2675 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Clear boost, time %s, current_weather %s, health %s, power %s", hours, current_weather, actor.health, actor.power)
L2678 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Partly boost, time %s, current_weather %s, health %s, power %s", hours, current_weather, actor.health, actor.power)
L2681 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Not clear penalty, time %s, current_weather %s, health %s, power %s", hours, current_weather, actor.health, actor.power)
L2691 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Tapeworm not triggered, cooldown active")
L2710 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("firing Will to Live, health %s", health)
L2746 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("firing Signet, health %s", actor.health)
L2785 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("before bleeding %s", actor.bleeding)
L2788 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("after bleeding %s", actor.bleeding)
L2795 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Chain, actor community %s", actor_community)
L2809 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Chain, no companions alive")
L2823 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("found companion %s, community %s, health %s", id, obj_community, heal_companion_min_health)
L2829 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Chain, no companions need healing")
L2833 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Chain, healing companion %s", heal_companion:id())
L2866 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Scar, action not triggered, dice roll %s, chance %s", dice_roll, chance)
L2938 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("sky color %s, %s, %s", mod_R, mod_G, mod_B)
L3055 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Lucifer, time %s, last time %s, degradation %s, cond %s, new_cond %s", time_elapsed, saved_time_elapsed, round_idp(adjust_condition, 8), round_idp(condition, 4), round_idp(_self.condition, 4))
L3117 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Spike, on_weapon_fired weapon_shot %s", af_spaika.weapon_shot)
L3126 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Spike, Creating time event")
L3136 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, weapon %s not infused", actor_weapon)
L3152 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Food object not found")
L3163 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_G.printf("health increased by %s", satiety_increase)
L3171 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Food object not found")
L3260 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("ironman is active, death count %s, new_count %s, limit %s", ironman.death_count, new_ironman_death_count, ironman.death_limit)
L3271 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("unregistering callback")
L3300 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Black Angel, not a valid hit type %s", s_hit.type)
L3314 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, not a valid hit type %s", s_hit.type)
L3320 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, perk not triggered, dice_roll %s, chance %s", dice_roll, af_medallion.reflect_chance[math.min(artefact_count, 5)])
L3328 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, has non_task_companions")
L3331 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, has companion_squads")
L3346 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, doesn't have both companion_squads, non_task_companions")
L3351 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, no companion found")
L3355 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, current companion %s", companion.id)
L3362 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, hitting companion %s, power %s", member:name(), redirect_hit.power)
L3366 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, squad %s became enemy", squad_id)
L3372 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, squad companion %s became enemy", k)
L3380 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, companion became enemy")
L3384 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Medallion, member %s became enemy", member:id())
L3400 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Electron, hit draftsman is actor")
L3405 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Electron, not a valid hit type %s", s_hit.type)
L3439 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Cell, not a valid hit type %s", s_hit.type)
L3448 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Cell: resulted radiation %s", rad_amount)
L3466 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Cocoon, not a valid hit type %s", s_hit.type)
L3477 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Scar, not a valid hit type %s", s_hit.type)
L3487 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sun, not under Lucifer effect")
L3493 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sun, not a valid hit type %s", s_hit.type)
L3503 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sun, Lucifer effect active, hitting with fire coeff %s, damage %s", fire_damage, fire_hit.power)
L3524 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Black Angel not triggered, dice roll %s, chance %s", af_black_angel.dice_roll, af_black_angel.reflect_chance[math.min(artefact_count, 5)])
L3533 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Black Angel not triggered, not valid hit")
L3542 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("hit %s, last_hit %s", s_hit.power, last_hit.power)
L3549 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Tapeworm not triggered, cooldown active")
L3560 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Tapeworm not triggered, not valid hit")
L3571 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, not valid hit type")
L3576 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, not Anomaly %s", who:section())
L3582 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, no active actor_weapon")
L3641 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Miser's Skull not triggered, bone index %s", last_npc_hit_bone_index)
L3655 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("money spawned")
L3663 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("money not spawned yet")
L3765 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Fountain not fired, selling item")
L3774 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Fountain fired")
L3778 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Actor last money %s, actor current money %s", actor_last_money, money)
L3781 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Fountain not fired, not enough money")
L3786 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Fountain, Money given %s", cashback)
L3814 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, target is not weapon, %s", obj_2:section())
L3820 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, target is knife or binocs, %s", obj_2:section())
L3826 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Sandstone, target is throwable, %s", obj_2:section())
L3888 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("ironman is active, saving death count %s, death limit %s", ironman.death_count, ironman.death_limit)
L3902 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("stash id %s, freq %s, coords %s %s %s", k, v, pos.x, pos.y, pos.z)
L4135 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("monster dead, physics shell works")
L4163 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("monster not dead yet")
L4291 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("restoring item")
L4301 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("hiding item")
L4447 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("artefact %s", artefact)
L4473 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_item_use, item %s", obj:section())
L4508 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("%s is valid for degradation, cond %s, new_cond %s", sec, cond * 100, new_cond * 100)
L4511 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("%s is critical, releasing, cond %s", sec, obj:condition() * 100)
L4549 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("weapon fired %s", wpn:section())
L4556 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_before hit, draftsman not defined")
L4560 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_before_hit damage type %s", s_hit.type)
L4568 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_hit_callback not triggered, who not defined")
L4572 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_hit_callback, %s, %s, %s", obj:section(), amount, who:section())
L4578 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_before_death triggered")
L4584 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_item_buy triggered")
L4590 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("actor_on_item_sell triggered")
L4597 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("npc_on_before hit, draftsman not defined")
L4602 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("npc_on_before_hit not triggered %s, %s", npc:section(), s_hit.draftsman:section())
L4613 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("on_hit_callback not triggered, who not defined")
L4618 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("npc_on_hit_callback not triggered %s, %s, %s", npc:section(), amount, who:section())
L4627 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("on_death_callback not triggered, who not defined")
L4632 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("npc_on_death_callback not triggered %s, %s", npc:section(), who:section())
L4641 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("monster_on_before hit, draftsman not defined")
L4646 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("monster_on_before_hit not triggered %s, %s", monster:section(), s_hit.draftsman:section())
L4651 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("monster_on_before_hit not triggered, monster %s not alive anymore", monster:section())
L4663 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("on_hit_callback not triggered, who not defined")
L4668 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("monster_on_hit_callback not triggered %s, %s, %s", monster:section(), amount, who:section())
L4673 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("monster_on_hit not triggered, monster %s not alive anymore", monster:section())
L4682 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("on_death_callback not triggered, who not defined")
L4687 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("monster_on_death_callback not triggered %s, %s", monster:section(), who:section())
L4700 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("No obj_1 or obj_2 found, o1 %s, o2 %s", obj_1 and obj_1:section(), obj_2 and obj_2:section())
L4718 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("tg_now %s, tg_add %s", tg_now, tg_add)
L4829 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Registering")
L4831 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("tg_on_game_start %s", tg_lag)
L133 🔴 global_write
Global write: hud_state
Impact: low
Show code
hud_state = 1
L383 🔴 global_write
Global write: virtual_artefacts
Impact: low
Show code
virtual_artefacts = {}
L437 🔴 global_write
Global write: iterate_belt
Impact: low
Show code
iterate_belt = function(actor)
L479 🔴 global_write
Global write: refresh_artefacts
Impact: low
Show code
refresh_artefacts = function(force)
L493 🔴 global_write
Global write: refresh_artefacts_time_event_func
Impact: low
Show code
refresh_artefacts_time_event_func = function(force)
L499 🔴 global_write
Global write: callbacks
Impact: low
Show code
callbacks = {}
L551 🔴 global_write
Global write: cooldowns
Impact: low
Show code
cooldowns = {} -- Table of cooldowns of artefacts (["artefact"] = time_elapsed + cooldown)
L571 🔴 global_write
Global write: status_effects
Impact: low
Show code
status_effects = {} -- Table of status effects of artefacts (["artefact"] = time_elapsed + cooldown)
L652 🔴 global_write
Global write: timed_effects
Impact: low
Show code
timed_effects = {}
L729 🔴 global_write
Global write: speed_boosts
Impact: low
Show code
speed_boosts = { -- Table of speed boosts for different artefacts
L756 🔴 global_write
Global write: artefact_props
Impact: low
Show code
artefact_props = { -- Special props of artefacts that are used in processing
L2650 🔴 global_write
Global write: artefact_on_update_functions
Impact: low
Show code
artefact_on_update_functions = {
L3062 🔴 global_write
Global write: artefact_on_weapon_fired_functions
Impact: low
Show code
artefact_on_weapon_fired_functions = {
L3147 🔴 global_write
Global write: artefact_on_item_use_functions
Impact: low
Show code
artefact_on_item_use_functions = {
L3201 🔴 global_write
Global write: artefact_on_before_death_functions
Impact: low
Show code
artefact_on_before_death_functions = {
L3218 🔴 global_write
Global write: hud_state
Impact: low
Show code
hud_state = get_console():get_bool("hud_draw") and 1 or 0
L3294 🔴 global_write
Global write: artefact_on_before_hit_functions
Impact: low
Show code
artefact_on_before_hit_functions = {
L3518 🔴 global_write
Global write: artefact_on_hit_functions
Impact: low
Show code
artefact_on_hit_functions = {
L3595 🔴 global_write
Global write: artefact_on_npc_before_hit_functions
Impact: low
Show code
artefact_on_npc_before_hit_functions = {
L3625 🔴 global_write
Global write: artefact_on_npc_hit_functions
Impact: low
Show code
artefact_on_npc_hit_functions = {
L3635 🔴 global_write
Global write: artefact_on_npc_death_functions
Impact: low
Show code
artefact_on_npc_death_functions = {
L3699 🔴 global_write
Global write: artefact_on_monster_before_hit_functions
Impact: low
Show code
artefact_on_monster_before_hit_functions = {
L3729 🔴 global_write
Global write: artefact_on_monster_hit_functions
Impact: low
Show code
artefact_on_monster_hit_functions = {
L3739 🔴 global_write
Global write: artefact_on_monster_death_functions
Impact: low
Show code
artefact_on_monster_death_functions = {
L3759 🔴 global_write
Global write: artefact_on_trade_functions
Impact: low
Show code
artefact_on_trade_functions = {
L3810 🔴 global_write
Global write: artefact_on_item_drag_dropped_functions
Impact: low
Show code
artefact_on_item_drag_dropped_functions = {
L3855 🔴 global_write
Global write: artefact_on_equip_functions
Impact: low
Show code
artefact_on_equip_functions = {
L3944 🔴 global_write
Global write: bat_transmutate_func
Impact: low
Show code
bat_transmutate_func = {
L3964 🔴 global_write
Global write: lucifer_sacrifice_func
Impact: low
Show code
lucifer_sacrifice_func = {
L3984 🔴 global_write
Global write: artefact_on_key_press_functions
Impact: low
Show code
artefact_on_key_press_functions = {
L4444 🔴 global_write
Global write: process_artefacts
Impact: low
Show code
process_artefacts = function(artefacts_table, ...)
L4491 🔴 global_write
Global write: degradation_valid_artys
Impact: low
Show code
degradation_valid_artys = (function()
L4811 🔴 global_write
Global write: timed_effects
Impact: low
Show code
timed_effects = t
L4812 🔴 global_write
Global write: cooldowns
Impact: low
Show code
cooldowns = m_data.perk_based_artefacts_cooldowns or {}
L4813 🔴 global_write
Global write: status_effects
Impact: low
Show code
status_effects = m_data.perk_based_artefacts_status_effects or {}
L4815 🔴 global_write
Global write: virtual_artefacts
Impact: low
Show code
virtual_artefacts = m_data.perk_based_artefacts_virtual_artefacts or {}

ui_workshop.script

L1086 🟡 string_concat_in_loop
String concat in loop: prereq = prereq .. x
Impact: critical
Show code
prereq = prereq .. "\\n - " .. str
L795 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopRepair:UpdateToolkits(%s) | no proper repair toolkit is found for item [%s], make sure it is supported by repair tools sections", num, main_sec)
L861 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIWorkshopRepair:Repair() | can't discharge toolkit with id (%s). Object not found!", self.toolkit_pick[i])
L876 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopRepair:Repair() | object with id (%s) is either not found. Or didn't register new condition (%s)!", id, final_con)
L1150 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! Workshop UI | no proper repair toolkit is found for item [%s], make sure it is supported by repair tools sections", obj:section())
L1741 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! Workshop UI craft | componenet section [%s] not found for [%s] recipe!", g_tostring(t[3]), id)
L1749 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[5]), id)
L1757 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[7]), id)
L1765 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[9]), id)
L1770 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | section [%s] not found!",id)
L2226 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if enable_debug then printf(fmt,...) end
L12 🔴 global_write
Global write: workshop_toolkits
Impact: low
Show code
workshop_toolkits = {

workshop_tool.script

L76 🟢 repeated_obj_section()
obj:section() called 6x in tool_workshop
Impact: low
Show code
Cache obj:section() result
L106 🟢 repeated_obj_section()
obj:section() called 6x in tool_artefact_craft
Impact: low
Show code
Cache obj:section() result

zz_item_artefact.script

L362 🟢 repeated_item_section()
item:section() called 6x in itr
Impact: low
Show code
Cache item:section() result
L178 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("loaded condition for %s "..tonumber(m_data.offline_condition), se_obj:section_name())
L257 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("saved condition for %s "..tonumber(m_data.offline_condition), se_obj:section_name())
L268 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("adding %s, %s to se_obj state", self.id, self:name())
L277 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("clearing object %s, %s from m_data", self.id, self:name())
L453 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
function pr(...) if art_dbg then printf(...) end end
L6 🔴 global_write
Global write: cond_t
Impact: low
Show code
cond_t = {}
L7 🔴 global_write
Global write: dist_t
Impact: low
Show code
dist_t = {}
L12 🔴 global_write
Global write: arti_min_eff
Impact: low
Show code
arti_min_eff = 29
L13 🔴 global_write
Global write: arti_max_eff
Impact: low
Show code
arti_max_eff = 37
L15 🔴 global_write
Global write: arti_min_eff
Impact: low
Show code
arti_min_eff = 30
L16 🔴 global_write
Global write: arti_max_eff
Impact: low
Show code
arti_max_eff = 44
L321 🔴 global_write
Global write: base_add_bar
Impact: low
Show code
base_add_bar = utils_ui.UICellItem.Add_ProgressBar
L365 🔴 global_write
Global write: max_mutant_part_cond
Impact: low
Show code
max_mutant_part_cond = knifesm[item:section()].max
L366 🔴 global_write
Global write: min_mutant_part_cond
Impact: low
Show code
min_mutant_part_cond = knifesm[item:section()].min
L369 🔴 global_write
Global write: max_mutant_part_cond
Impact: low
Show code
max_mutant_part_cond = knifesm[item:section()].max
L370 🔴 global_write
Global write: min_mutant_part_cond
Impact: low
Show code
min_mutant_part_cond = knifesm[item:section()].min
L450 🔴 global_write
Global write: cond_t
Impact: low
Show code
cond_t = m_data.cond_t or {}

zz_ui_workshop_keep_crafting_window_open.script

L216 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIWorkshopRepair:Repair() | can't discharge toolkit with id (%s). Object not found!", self.toolkit_pick[i])
L231 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopRepair:Repair() | object with id (%s) is either not found. Or didn't register new condition (%s)!", id, final_con)
L101 🔴 global_write
Global write: kind
Impact: low
Show code
kind = SYS_GetParam(0, self.craft_item_r[1], "kind")

G.A.M.M.A. Arti Recipes Overhaul

11 files (🟢1 🟡1 🔴31 🔵71)

ammo_maker.script

L14 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ breakdown | no owner found for [%s]", ammo:name())
L88 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ breakdown timer | no owner found")
L112 🔴 global_write
Global write: Disassemble
Impact: low
Show code
Disassemble = item_parts.disassembly_item
L156 🔴 global_write
Global write: NameCustom
Impact: low
Show code
NameCustom = ui_inventory.UIInventory.Name_Custom
L166 🔴 global_write
Global write: ActionCustom
Impact: low
Show code
ActionCustom = ui_inventory.UIInventory.Action_Custom

custom_functor_autoinject.script

L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."*"..g_tostring(t))
L114 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(t).." {")
L116 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..string.rep(" ",#pos+6).."}")
L118 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(val))
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..g_tostring(t))
L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L145 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L152 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L154 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L158 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L321 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s", k, v.index)
L324 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s, max custom_functor reached", k, v.index)
L426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, processing queue")
L429 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, type %s", v.type)
L466 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid, min 1, max 10, your slot: %s", slot)
L481 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid min 1, max 10, your slot: %s", slot)
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[" .. k .. "] => ")

demonized_time_events.script

L36 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L39 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L41 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L46 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L48 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L52 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L54 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L59 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L61 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)

inventory_upgrades_mp.script

L4 🔴 global_write
Global write: ini_parts
Impact: low
Show code
ini_parts = itms_manager.ini_parts

larp.script

L70 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR str_explode | missing parameter str = %s, sep = %s",str,sep)
L93 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("Input for coord string %s produced inequal output, returning", str)
L123 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("Input for coord string %s produced inequal output, returning", str)
L99 🔴 global_write
Global write: rnd_x
Impact: low
Show code
rnd_x = math_random(minx, maxx)
L114 🔴 global_write
Global write: coords
Impact: low
Show code
coords = {
L118 🔴 global_write
Global write: buffer
Impact: low
Show code
buffer = str_explode(str, ":")

optimized_time_events.script

L59 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L62 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L64 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L69 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L71 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L75 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L77 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L82 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L84 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)

thirst_sleep_changer.script

L4 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(str, ...)
L38 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("thirst not enabled, nothing changed")
L57 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("thirst changed by %s%", perc)
L62 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("sleep not enabled, nothing changed")
L81 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("sleep changed by %s%", perc)
L86 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("thirst not enabled, nothing changed")
L105 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("thirst changed by %s%", perc * 0.1)
L110 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("sleep not enabled, nothing changed")
L129 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("sleep changed by %s%", perc * 0.1)

trader_autoinject.script

L182 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

ui_pda_autoinject.script

L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("category: processing %s", section)
L21 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("article: processing %s", section)
L58 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("there are %s new categories", #new_cat)
L32 🔴 global_write
Global write: InitArticles
Impact: low
Show code
InitArticles = ui_pda_encyclopedia_tab.pda_encyclopedia_tab.InitArticles
L55 🔴 global_write
Global write: InitCategories
Impact: low
Show code
InitCategories = ui_pda_encyclopedia_tab.pda_encyclopedia_tab.InitCategories
L61 🔴 global_write
Global write: item
Impact: low
Show code
item = ui_pda_encyclopedia_tab.pda_encyclopedia_entry(v, k, clr)

workshop_autoinject.script

L13 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "workshop auto: | %s | "..text ,time_global(), ...)
L193 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | section [%s] not found!",id)
L262 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! workshop_craft_ui:LoadRecipes() | section [%s] not found!",id)
L323 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! Workshop UI craft | componenet section [%s] not found for [%s] recipe!", g_tostring(t[3]), id)
L331 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[5]), id)
L339 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[7]), id)
L347 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[9]), id)
L366 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! Workshop UI craft | componenet section [%s] not found for [%s] recipe!", g_tostring(t[3]), id)
L374 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[5]), id)
L382 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[7]), id)
L390 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[9]), id)

zzzz_arti_jamming_repairs.script

L807 🟡 string_concat_in_loop
String concat in loop: str_msg = str_msg .. x
Impact: critical
Show code
str_msg = str_msg .. "\\n -" .. ui_item.get_sec_name(k)
L193 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts timer | no owner found")
L243 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts | no owner found for [%s]", obj:name())
L452 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIWorkshopRepair:Repair() | can't discharge toolkit with id (%s). Object not found!", self.toolkit_pick[i])
L470 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopRepair:Repair() | object with id (%s) is either not found. Or didn't register new condition (%s)!", id, final_con)
L7 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L8 🔴 global_write
Global write: has_parts
Impact: low
Show code
has_parts = arti_jamming.has_parts
L9 🔴 global_write
Global write: is_part
Impact: low
Show code
is_part = arti_jamming.is_part
L10 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = arti_jamming.print_dbg
L11 🔴 global_write
Global write: print_ws
Impact: low
Show code
print_ws = ui_workshop.print_ws
L12 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = a_arti_jamming_mcm.get_config
L13 🔴 global_write
Global write: math_floor
Impact: low
Show code
math_floor = math.floor
L14 🔴 global_write
Global write: current_id
Impact: low
Show code
current_id = arti_jamming.current_id
L15 🔴 global_write
Global write: reset_cgd
Impact: low
Show code
reset_cgd = arti_jamming.reset_cgd
L16 🔴 global_write
Global write: SetTip
Impact: low
Show code
SetTip = ui_workshop.SetTip
L83 🔴 global_write
Global write: EvaluateParts
Impact: low
Show code
EvaluateParts = item_parts.evaluate_parts
L221 🔴 global_write
Global write: DisassemblyWeapon
Impact: low
Show code
DisassemblyWeapon = item_parts.disassembly_weapon
L331 🔴 global_write
Global write: WorkshopReplacePart
Impact: low
Show code
WorkshopReplacePart = ui_workshop.UIWorkshopRepair.ReplacePart
L400 🔴 global_write
Global write: WorkshopRepair
Impact: low
Show code
WorkshopRepair = ui_workshop.UIWorkshopRepair.Repair
L496 🔴 global_write
Global write: HowMuch
Impact: low
Show code
HowMuch = inventory_upgrades_mp.how_much_repair
L507 🔴 global_write
Global write: quality_map
Impact: low
Show code
quality_map = {
L514 🔴 global_write
Global write: unique_mapping
Impact: low
Show code
unique_mapping = {
L525 🔴 global_write
Global write: name_mapping
Impact: low
Show code
name_mapping = {
L569 🔴 global_write
Global write: original_build_desc_header
Impact: low
Show code
original_build_desc_header = ui_item.build_desc_header

G.A.M.M.A. Better Quick Release System

1 file (🟢1 🟡0 🔴0 🔵0)

item_backpack.script

L40 🟢 repeated_item_section()
item:section() called 4x in itr_inv
Impact: low
Show code
Cache item:section() result

G.A.M.M.A. Binoculars Rework

1 file (🟢1 🟡0 🔴1 🔵0)

bas_nvg_scopes.script

L13 🟢 repeated_weapon_section()
weapon:section() called 4x in zoom_in
Impact: low
Show code
Cache weapon:section() result
L102 🔴 global_write
Global write: scoped
Impact: low
Show code
scoped = wpn:cast_Weapon():IsScopeAttached()

G.A.M.M.A. Books Pass Time

1 file (🟢0 🟡0 🔴4 🔵0)

Wait.script

L44 🔴 global_write
Global write: NameCustom
Impact: low
Show code
NameCustom = ui_inventory.UIInventory.Name_Custom
L49 🔴 global_write
Global write: sec
Impact: low
Show code
sec = obj:section()
L58 🔴 global_write
Global write: ActionCustom
Impact: low
Show code
ActionCustom = ui_inventory.UIInventory.Action_Custom
L62 🔴 global_write
Global write: sec
Impact: low
Show code
sec = obj:section()

G.A.M.M.A. Bounty Squads Rework

1 file (🟢0 🟡0 🔴0 🔵1)

sim_squad_bounty.script

L221 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(message)

G.A.M.M.A. Camera reanimation fixes

1 file (🟢0 🟡0 🔴3 🔵0)

camera_reanim_project.script

L115 🔴 global_write
Global write: tg_anim1
Impact: low
Show code
tg_anim1 = 0
L116 🔴 global_write
Global write: tg_anim1_delay
Impact: low
Show code
tg_anim1_delay = 1000
L121 🔴 global_write
Global write: tg_anim1
Impact: low
Show code
tg_anim1 = time_global() + tg_anim1_delay

G.A.M.M.A. Close Quarter Combat

2 files (🟢3 🟡0 🔴135 🔵22)

grok_bo.script

L262 🟢 repeated_wpn_section()
wpn:section() called 2x in monster_on_before_hit
Impact: low
Show code
Cache wpn:section() result
L533 🟢 repeated_wpn_section()
wpn:section() called 3x in npc_on_before_hit
Impact: low
Show code
Cache wpn:section() result
L549 🟢 repeated_npc_section()
npc:section() called 2x in npc_on_before_hit
Impact: low
Show code
Cache npc:section() result
L275 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/////////// Mutant Hit registered: GBO v1.6.6 //////////////////")
L276 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('%s about to be hit by %s in bone %s', monster and monster:name(), shit and shit.draftsman and shit.draftsman:name(), bone_id)
L280 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('Close quarter combat hit detected')
L285 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('Close quarter combat hit detected')
L414 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Critical Hit!")
L422 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Critical Hit!")
L434 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Critical Hit!")
L442 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Critical Hit!")
L457 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Critical Hit!")
L465 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Critical Hit!")
L474 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Critical Hit!")
L483 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Critical Hit!")
L499 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Barrel condition: %s, GBO output damage: %s", barrel_condition, shit.power)
L523 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("npc is surrendering or wounded.")
L544 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/////////// Stalker Hit registered: GBO v1.6.6 //////////////////")
L545 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('%s about to be hit by %s in bone %s', npc and npc:name(), shit and shit.draftsman and shit.draftsman:name(), bone_id)
L712 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom bone found. Loading custom_bone values")
L720 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("NPC visual model: %s",npc_viz)
L723 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("NPC model doesn't have a bone profile, loading berill no helm config")
L846 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('%s shot with %s, Weapon power= %s, AP power= %s, Hit multiplier= %s, Air res= %s, Distance= %s m, Barrel condition: %s', ammo_section, sec, wpn_hit_power, k_ap, k_hit, air_res, dist, barrel_condition)
L847 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('Bone hit= %s, Bone damage mult= %s, Bone AP scale= %s, Bone hit fraction= %s, Bone armor= %s', custom_bone_name, custom_bone_dmg[custom_bone_id], custom_bone_ap[custom_bone_id], custom_bone_hf[custom_bone_id], custom_bone_value[custom_bone_id])
L943 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Real AP power= %s, Bone armor after hit= %s, Damages inflicted= %s, Remaining health= %s", k_ap, custom_bone_value[custom_bone_id], life_remove, npc.health)
L1 🔴 global_write
Global write: custom_bone_value
Impact: low
Show code
custom_bone_value = {} -- this a table with each identifier being npcid_boneid, these returns custom bonearmor value. It is filled, alongside the other custom tables, after every new bone hit
L2 🔴 global_write
Global write: custom_bone_ap
Impact: low
Show code
custom_bone_ap = {}
L3 🔴 global_write
Global write: custom_bone_hf
Impact: low
Show code
custom_bone_hf = {}
L4 🔴 global_write
Global write: custom_bone_dmg
Impact: low
Show code
custom_bone_dmg = {}
L5 🔴 global_write
Global write: invincible_npcs_sections
Impact: low
Show code
invincible_npcs_sections = {}
L6 🔴 global_write
Global write: ini_capture
Impact: low
Show code
ini_capture = ini_file("creatures\\grok_bo_models_capture.ltx")
L7 🔴 global_write
Global write: ini_bones
Impact: low
Show code
ini_bones = ini_file("creatures\\grok_bo_bone_profiles.ltx")
L8 🔴 global_write
Global write: ini_damage
Impact: low
Show code
ini_damage = ini_file("creatures\\damages.ltx")
L10 🔴 global_write
Global write: leg_meta_sniper_null
Impact: low
Show code
leg_meta_sniper_null = 1
L11 🔴 global_write
Global write: sniper_bad_bone_shit_reduce
Impact: low
Show code
sniper_bad_bone_shit_reduce = 1
L14 🔴 global_write
Global write: integrated_silencer
Impact: low
Show code
integrated_silencer = {
L30 🔴 global_write
Global write: snipers
Impact: low
Show code
snipers = {
L58 🔴 global_write
Global write: Bone_IDs
Impact: low
Show code
Bone_IDs = {
L128 🔴 global_write
Global write: stalker_damage
Impact: low
Show code
stalker_damage = {
L178 🔴 global_write
Global write: hp_rounds
Impact: low
Show code
hp_rounds = {
L252 🔴 global_write
Global write: wpn
Impact: low
Show code
wpn = level.object_by_id(shit.weapon_id)
L262 🔴 global_write
Global write: sec
Impact: low
Show code
sec = wpn:section()
L269 🔴 global_write
Global write: cqc_mult
Impact: low
Show code
cqc_mult = 1
L270 🔴 global_write
Global write: mutant_mult
Impact: low
Show code
mutant_mult = 0.85
L271 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 0.85
L272 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 1.00
L273 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 1.00
L279 🔴 global_write
Global write: cqc_mult
Impact: low
Show code
cqc_mult = 1.50
L284 🔴 global_write
Global write: cqc_mult
Impact: low
Show code
cqc_mult = 1.50
L312 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 0.90
L316 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.00
L320 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.00
L324 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.00
L331 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.00
L335 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.00
L339 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.75
L343 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.00
L347 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.00
L351 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.00
L356 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = nil
L361 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = v / 100
L366 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = 1
L369 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = 1
L372 🔴 global_write
Global write: barrel_condition_corrected
Impact: low
Show code
barrel_condition_corrected = ( 130 - ( 1.12 * barrel_condition ) ) * ( barrel_condition * 1.12 ) / 100
L375 🔴 global_write
Global write: barrel_condition_corrected
Impact: low
Show code
barrel_condition_corrected = 1
L378 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = 1
L379 🔴 global_write
Global write: barrel_condition_corrected
Impact: low
Show code
barrel_condition_corrected = 1
L385 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.85
L389 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.4
L393 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 2.2
L397 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 2.3
L401 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.3
L405 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.3
L409 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 2.00
L413 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 2.00
L419 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.75
L421 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 2.00
L427 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.95
L431 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.85
L433 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 1.40
L439 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.85
L441 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 1.60
L447 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.95
L449 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 1.30
L454 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.80
L456 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 2.00
L462 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 1.10
L464 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 2.00
L471 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.85
L473 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 1.50
L480 🔴 global_write
Global write: spec_monster_mult
Impact: low
Show code
spec_monster_mult = 0.60
L482 🔴 global_write
Global write: bone_mult
Impact: low
Show code
bone_mult = 2.20
L527 🔴 global_write
Global write: wpn
Impact: low
Show code
wpn = level.object_by_id(shit.weapon_id)
L533 🔴 global_write
Global write: sec
Impact: low
Show code
sec = wpn:section()
L550 🔴 global_write
Global write: invincible_mult
Impact: low
Show code
invincible_mult = 0
L552 🔴 global_write
Global write: invincible_mult
Impact: low
Show code
invincible_mult = 1
L566 🔴 global_write
Global write: silencer_boost
Impact: low
Show code
silencer_boost = 1.07
L568 🔴 global_write
Global write: silencer_boost
Impact: low
Show code
silencer_boost = 1
L572 🔴 global_write
Global write: silencer_boost
Impact: low
Show code
silencer_boost = 1.07
L596 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = nil
L601 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = v / 100
L606 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = 1
L609 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = 1
L612 🔴 global_write
Global write: barrel_condition_corrected
Impact: low
Show code
barrel_condition_corrected = ( 130 - ( 1.12 * barrel_condition ) ) * ( barrel_condition * 1.12 ) / 100
L615 🔴 global_write
Global write: barrel_condition_corrected
Impact: low
Show code
barrel_condition_corrected = 1
L618 🔴 global_write
Global write: barrel_condition
Impact: low
Show code
barrel_condition = 1
L619 🔴 global_write
Global write: barrel_condition_corrected
Impact: low
Show code
barrel_condition_corrected = 1
L624 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.00
L627 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.75
L640 🔴 global_write
Global write: leg_meta_sniper_null
Impact: low
Show code
leg_meta_sniper_null = 0
L646 🔴 global_write
Global write: hp_no_penetration_penalty
Impact: low
Show code
hp_no_penetration_penalty = hp_rounds[ammo_section]
L648 🔴 global_write
Global write: hp_no_penetration_penalty
Impact: low
Show code
hp_no_penetration_penalty = 1
L690 🔴 global_write
Global write: bone_ap_boost
Impact: low
Show code
bone_ap_boost = bone_id
L729 🔴 global_write
Global write: ini_npc_armor
Impact: low
Show code
ini_npc_armor = ini_file(npc_armor_path)
L732 🔴 global_write
Global write: npc_bone_profile_name
Impact: low
Show code
npc_bone_profile_name = ini_bones:r_string(npc_armor_section,"head_profile")
L734 🔴 global_write
Global write: npc_bone_profile_name
Impact: low
Show code
npc_bone_profile_name = ini_bones:r_string(npc_armor_section,"bone_profile")
L746 🔴 global_write
Global write: pos
Impact: low
Show code
pos = npc:bone_position(custom_bone_name)
L747 🔴 global_write
Global write: fxdir
Impact: low
Show code
fxdir = shit.direction
L751 🔴 global_write
Global write: camdir
Impact: low
Show code
camdir = dev.cam_pos:add(dev.cam_dir:mul(dist))
L754 🔴 global_write
Global write: fx
Impact: low
Show code
fx = particles_object("anomaly2\\gravi_anomaly_shield_00")
L775 🔴 global_write
Global write: sin_res
Impact: low
Show code
sin_res = 1
L777 🔴 global_write
Global write: sin_res
Impact: low
Show code
sin_res = 0.30
L778 🔴 global_write
Global write: isg_res
Impact: low
Show code
isg_res = 0.90
L779 🔴 global_write
Global write: pos
Impact: low
Show code
pos = npc:bone_position(custom_bone_name)
L780 🔴 global_write
Global write: fxdir
Impact: low
Show code
fxdir = shit.direction
L784 🔴 global_write
Global write: camdir
Impact: low
Show code
camdir = dev.cam_pos:add(dev.cam_dir:mul(dist))
L787 🔴 global_write
Global write: fx
Impact: low
Show code
fx = particles_object("monsters\\effects\\bloodsucker_trail")
L790 🔴 global_write
Global write: fx
Impact: low
Show code
fx = particles_object("monsters\\effects\\polter_trails_02")
L793 🔴 global_write
Global write: fx
Impact: low
Show code
fx = particles_object("anomaly2\\effects\\bloodsucker_shleyf")
L801 🔴 global_write
Global write: sin_res
Impact: low
Show code
sin_res = 0.3
L802 🔴 global_write
Global write: isg_res
Impact: low
Show code
isg_res = 1
L807 🔴 global_write
Global write: isg_res
Impact: low
Show code
isg_res = 1
L809 🔴 global_write
Global write: isg_res
Impact: low
Show code
isg_res = 0.65
L810 🔴 global_write
Global write: sin_res
Impact: low
Show code
sin_res = 0.70
L811 🔴 global_write
Global write: pos
Impact: low
Show code
pos = npc:bone_position(custom_bone_name)
L812 🔴 global_write
Global write: fx
Impact: low
Show code
fx = particles_object("hit_fx\\hit_metal_0" .. math_random(0,3))
L813 🔴 global_write
Global write: fxdir
Impact: low
Show code
fxdir = shit.direction
L818 🔴 global_write
Global write: camdir
Impact: low
Show code
camdir = dev.cam_pos:add(dev.cam_dir:mul(dist))
L825 🔴 global_write
Global write: isg_res
Impact: low
Show code
isg_res = 0.90
L826 🔴 global_write
Global write: sin_res
Impact: low
Show code
sin_res = 0.80
L830 🔴 global_write
Global write: isg_res
Impact: low
Show code
isg_res = 1.10
L883 🔴 global_write
Global write: pbadamage
Impact: low
Show code
pbadamage = hit(shit)
L899 🔴 global_write
Global write: pos
Impact: low
Show code
pos = npc:bone_position(custom_bone_name)
L900 🔴 global_write
Global write: fx
Impact: low
Show code
fx = particles_object("hit_fx\\hit_metal_0" .. math_random(0,3))
L901 🔴 global_write
Global write: fxdir
Impact: low
Show code
fxdir = shit.direction
L906 🔴 global_write
Global write: camdir
Impact: low
Show code
camdir = dev.cam_pos:add(dev.cam_dir:mul(dist))
L917 🔴 global_write
Global write: fx
Impact: low
Show code
fx = particles_object("anomaly2\\effects\\body_tear_blood_01")
L918 🔴 global_write
Global write: pos
Impact: low
Show code
pos = npc:bone_position(custom_bone_name)
L928 🔴 global_write
Global write: life_remove
Impact: low
Show code
life_remove = shit.power * invincible_mult
L960 🔴 global_write
Global write: life_remove
Impact: low
Show code
life_remove = nil
L972 🔴 global_write
Global write: bone_name
Impact: low
Show code
bone_name = head_bones[bone_id] or "bip01_spine"

quickdraw.script

L80 🔴 global_write
Global write: knife_to_degrade
Impact: low
Show code
knife_to_degrade = db.actor:object(knifesm[1])
L85 🔴 global_write
Global write: knife_to_degrade
Impact: low
Show code
knife_to_degrade = db.actor:object(knifesm[2])
L90 🔴 global_write
Global write: knife_to_degrade
Impact: low
Show code
knife_to_degrade = db.actor:object(knifesm[3])
L95 🔴 global_write
Global write: knife_to_degrade
Impact: low
Show code
knife_to_degrade = db.actor:object(knifesm[4])
L100 🔴 global_write
Global write: knife_to_degrade
Impact: low
Show code
knife_to_degrade = db.actor:object(knifesm[5])
L106 🔴 global_write
Global write: knife_to_degrade
Impact: low
Show code
knife_to_degrade = db.actor:object(knifesm[6])
L112 🔴 global_write
Global write: knife_to_degrade
Impact: low
Show code
knife_to_degrade = db.actor:object(knifesm[7])
L118 🔴 global_write
Global write: knife_to_degrade
Impact: low
Show code
knife_to_degrade = db.actor:object(knifesm[8])
L144 🔴 global_write
Global write: last_slot
Impact: low
Show code
last_slot = db.actor:active_slot() or 0

G.A.M.M.A. Cooking Overhaul

4 files (🟢1 🟡0 🔴37 🔵6)

bind_campfire.script

L15 🔴 global_write
Global write: campfires_all
Impact: low
Show code
campfires_all = {}
L173 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L174 🔴 global_write
Global write: delay
Impact: low
Show code
delay = 225
L181 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L184 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + delay
L185 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 1
L189 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0

campfire_placeable.script

L51 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("tbl is empty || .level_name is now: %s", prev_level.level_name)
L53 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("tbl is not empty")
L55 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(".level_name is not equal curr_level")
L61 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Object deleted (id): %s", se_obj.id)
L230 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s degraded for: %s %", sec, degr_for * 100)
L242 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Time spent on chopping wood: %s Minutes", minutes)
L265 🔴 global_write
Global write: NameCustom
Impact: low
Show code
NameCustom = ui_inventory.UIInventory.Name_Custom
L282 🔴 global_write
Global write: ActionCustom
Impact: low
Show code
ActionCustom = ui_inventory.UIInventory.Action_Custom
L426 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

enhanced_animations.script

L30 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = true
L31 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = true
L34 🔴 global_write
Global write: used_item
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active = nil
L34 🔴 global_write
Global write: ea_flag
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active = nil
L34 🔴 global_write
Global write: fake_monster
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active = nil
L34 🔴 global_write
Global write: det_active
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active = nil
L52 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = not enable_animations
L58 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_mcm.get("EA_settings/enable_animations")
L59 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = ui_mcm.get("EA_settings/mutant_loot")
L61 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = false
L65 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = ini_eff:r_bool_ex("anim_settings", "mutant_loot_mod")
L66 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_options.get("video/player/animations")
L92 🔴 global_write
Global write: used_item
Impact: low
Show code
used_item = item
L131 🔴 global_write
Global write: tmr
Impact: low
Show code
tmr = ini_eff:r_float_ex(used_item, "tm")
L148 🔴 global_write
Global write: tmr
Impact: low
Show code
tmr = ini_eff:r_float_ex("item_ea_harv_wpn_knife", "anim_length")
L262 🔴 global_write
Global write: used_item
Impact: low
Show code
used_item = nil
L273 🔴 global_write
Global write: fake_monster
Impact: low
Show code
fake_monster = used_monster
L275 🔴 global_write
Global write: ea_flag
Impact: low
Show code
ea_flag = true
L277 🔴 global_write
Global write: ea_flag
Impact: low
Show code
ea_flag = nil
L279 🔴 global_write
Global write: fake_monster
Impact: low
Show code
fake_monster = nil
L306 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = db.actor:active_detector() or nil

take_item_anim.script

L35 🟢 repeated_item_section()
item:section() called 2x in actor_on_item_take
Impact: low
Show code
Cache item:section() result
L21 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_mcm.get("EA_settings/enable_animations")
L22 🔴 global_write
Global write: default_dist
Impact: low
Show code
default_dist = ui_mcm.get("EA_settings/take_dist")
L24 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_options.get("video/player/animations")
L25 🔴 global_write
Global write: default_dist
Impact: low
Show code
default_dist = 0.12
L38 🔴 global_write
Global write: anim_used
Impact: low
Show code
anim_used = true
L61 🔴 global_write
Global write: anim_used
Impact: low
Show code
anim_used = false

G.A.M.M.A. Crook's Identification UI Fix

2 files (🟢0 🟡0 🔴14 🔵1)

factionID_hud_mcm.script

L381 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("ERROR: faction ID nil in tick")
L222 🔴 global_write
Global write: op
Impact: low
Show code
op ={ id= "targetID" , sh = true , gr =
L306 🔴 global_write
Global write: rank
Impact: low
Show code
rank = game.translate_string("st_rank_" .. ranks.get_obj_rank_name(obj)) or ""
L308 🔴 global_write
Global write: rank
Impact: low
Show code
if not rankID then rank = nil end
L313 🔴 global_write
Global write: rank
Impact: low
Show code
rank = nil
L402 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L403 🔴 global_write
Global write: delay
Impact: low
Show code
delay = 100
L407 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L410 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + delay
L411 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 1
L415 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0

grok_crooks_ui_data_remover.script

L3 🔴 global_write
Global write: clear_id
Impact: low
Show code
clear_id = 0
L4 🔴 global_write
Global write: clear_name
Impact: low
Show code
clear_name = 0
L18 🔴 global_write
Global write: clear_id
Impact: low
Show code
clear_id = 1
L23 🔴 global_write
Global write: clear_name
Impact: low
Show code
clear_name = 1

G.A.M.M.A. DNPCAV Crash Fix

1 file (🟢0 🟡0 🔴1 🔵0)

grok_dnpcav_base_move_monkey_patch.script

L1 🔴 global_write
Global write: Base_Action_Move
Impact: low
Show code
Base_Action_Move = ui_inventory.UIInventory.Action_Move

G.A.M.M.A. Disguise does not remove patches

1 file (🟢0 🟡0 🔴3 🔵17)

gameplay_disguise.script

L183 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR update default community | community (%s) doesn't exist", tostring(comm))
L229 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR update community | community (%s) doesn't exist", tostring(new_comm))
L308 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise highest_suspicion = %s", highest_suspicion.value)
L450 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise | npc seeing you | id: %s - comm: %s - name: %s", id, character_community(npc), npc:character_name())
L451 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise | [%s] memory | awareness: %s - memory: %s - first_seen: %s - last_seen: %s", id, m.awareness, m.memo, time_to_str(m.first_seen), time_to_str(m.last_seen))
L452 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise | [%s] on equipment | active item: %s - weapon: %s - outfit: %s - helmet: %s - backpack: %s - inv: %s ", id, t.active_item, t.weapon, t.outfit, t.helmet, t.backpack, t.inventory)
L453 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise | [%s] on behaviour | speed: %s - distance: %s - stay_time: %s", id, t.speed, t.distance, t.stay_time)
L454 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise | [%s] suspicion | spike: %s - result: %s", id, spike, m.suspicion)
L455 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--==============================================================")
L465 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise debug_memoery | [%s] still remembers you (%s sec left)",k, (v.memo - time_passed))
L467 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise debug_memoery | [%s] forgot you",k)
L857 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise calc | fraction [%s] = active_item [%s] + weapon [%s] + outfit [%s] + helmet [%s] + backpack [%s] + inventory [%s]", fraction, (factor.active_item and 1 or 0), (factor.weapon and 1 or 0), (factor.outfit and 1 or 0), (factor.helmet and 1 or 0), (factor.backpack and 1 or 0), (factor.inventory and 1 or 0))
L858 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise calc | itm_factor [%s] = active_item [%s]x[%s] + weapon [%s]x[%s] + outfit [%s]x[%s] + helmet [%s]x[%s] + backpack [%s]x[%s] + inventory [%s]x[%s] / fraction [%s]", itm_factor, t.active_item, factor.active_item_factor, t.weapon, factor.weapon_factor, t.outfit, factor.outfit_factor, t.helmet, factor.helmet_factor, t.backpack, factor.backpack_factor, t.inventory, factor.inventory_factor, fraction)
L859 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% Disguise calc | suspicion [%s] = (awareness [%s] x ( t.stay_time [%s] x t.distance [%s] x t.speed [%s]) x itm_factor [%s]) + spike [%s] - best enemy [%s]", suspicion, awareness , t.stay_time , t.distance , t.speed ,itm_factor,((game_achievements.has_achievement("unforeseen_guest")) and clamp(spike-15,0,spike) or spike), (be and (be:id() ~= AC_ID) and 50 or 0))
L860 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("-------------------------------------------------------------")
L1207 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ Disguise | attached patch to %s", section)
L1221 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ Disguise | torn patch of %s", section)
L840 🔴 global_write
Global write: itm_factor
Impact: low
Show code
itm_factor = (
L848 🔴 global_write
Global write: itm_factor
Impact: low
Show code
itm_factor = 100 - itm_factor
L850 🔴 global_write
Global write: itm_factor
Impact: low
Show code
itm_factor = 1

G.A.M.M.A. Dynamic Despawner

2 files (🟢0 🟡0 🔴35 🔵0)

grok_dynamic_despawner.script

L179 🔴 global_write
Global write: check_tasks
Impact: low
Show code
check_tasks = grok_dynamic_despawner_mcm.get_config("check_tasks") or true
L180 🔴 global_write
Global write: enabled
Impact: low
Show code
enabled = grok_dynamic_despawner_mcm.get_config("enabled") or true
L181 🔴 global_write
Global write: npc_threshold
Impact: low
Show code
npc_threshold = grok_dynamic_despawner_mcm.get_config("npc_threshold") or 40
L183 🔴 global_write
Global write: online_npcs
Impact: low
Show code
online_npcs = {}
L185 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L186 🔴 global_write
Global write: delay
Impact: low
Show code
delay = 30
L189 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L192 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + delay
L193 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 1
L197 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L218 🔴 global_write
Global write: trigger3
Impact: low
Show code
trigger3 = 0
L219 🔴 global_write
Global write: delay3
Impact: low
Show code
delay3 = 22
L222 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L225 🔴 global_write
Global write: grok_delay3
Impact: low
Show code
grok_delay3 = tg + delay3
L226 🔴 global_write
Global write: trigger3
Impact: low
Show code
trigger3 = 1
L230 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L248 🔴 global_write
Global write: trigger2
Impact: low
Show code
trigger2 = 0
L249 🔴 global_write
Global write: delay2
Impact: low
Show code
delay2 = 2600
L254 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L257 🔴 global_write
Global write: grok_delay2
Impact: low
Show code
grok_delay2 = tg + delay2
L258 🔴 global_write
Global write: trigger2
Impact: low
Show code
trigger2 = 1
L262 🔴 global_write
Global write: trigger2
Impact: low
Show code
trigger2 = 0
L265 🔴 global_write
Global write: nrows
Impact: low
Show code
nrows = 0
L267 🔴 global_write
Global write: nrows
Impact: low
Show code
nrows = nrows + 1
L270 🔴 global_write
Global write: number_to_remove
Impact: low
Show code
number_to_remove = nrows - npc_threshold
L271 🔴 global_write
Global write: counter
Impact: low
Show code
counter = 0
L274 🔴 global_write
Global write: counter
Impact: low
Show code
counter = counter + 1
L276 🔴 global_write
Global write: online_npcs
Impact: low
Show code
online_npcs = {}
L290 🔴 global_write
Global write: se_item
Impact: low
Show code
se_item = alife_object(npc_id_to_remove)
L299 🔴 global_write
Global write: online_npcs
Impact: low
Show code
online_npcs = {}
L301 🔴 global_write
Global write: online_npcs
Impact: low
Show code
online_npcs = {}
L307 🔴 global_write
Global write: check_tasks
Impact: low
Show code
check_tasks = ui_mcm.get("grok_dd/check_tasks")
L308 🔴 global_write
Global write: enabled
Impact: low
Show code
enabled = ui_mcm.get("grok_dd/enabled")
L309 🔴 global_write
Global write: npc_threshold
Impact: low
Show code
npc_threshold = ui_mcm.get("grok_dd/npc_threshold")

grok_dynamic_despawner_mcm.script

L13 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "grok_dd",sh=true ,gr={

G.A.M.M.A. Economy

10 files (🟢3 🟡2 🔴164 🔵23)

TB_RF_Receiver_Packages.script

L949 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--- Loading TBs_RF_Receiver_Hidden_Package_Sidequests_v1.8 ---")
L980 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--- Cleaning v1.5 package queue for v1.6 | Queue size was: %s, is now: %s ---",tb_queue_num,#tb_package_queue)
L44 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L45 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = false
L46 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = false
L47 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = "empty"
L48 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = "empty"
L49 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = 0
L50 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = "empty"
L51 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L52 🔴 global_write
Global write: tb_tg_scan
Impact: low
Show code
tb_tg_scan = 0
L53 🔴 global_write
Global write: tb_device
Impact: low
Show code
tb_device = "detector_radio"
L54 🔴 global_write
Global write: tb_relation_diff
Impact: low
Show code
tb_relation_diff = 250
L56 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = 0
L57 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = 0
L58 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = 0
L59 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = false
L60 🔴 global_write
Global write: tb_tg_badguys
Impact: low
Show code
tb_tg_badguys = 0
L62 🔴 global_write
Global write: tb_previous_level
Impact: low
Show code
tb_previous_level = "empty"
L64 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L66 🔴 global_write
Global write: cb_note_given
Impact: low
Show code
cb_note_given = false
L74 🔴 global_write
Global write: cb_reminders
Impact: low
Show code
cb_reminders = "transitions"
L79 🔴 global_write
Global write: cb_upgrades
Impact: low
Show code
cb_upgrades = "vanilla"
L83 🔴 global_write
Global write: cb_unpack
Impact: low
Show code
cb_unpack = "manual"
L93 🔴 global_write
Global write: cb_reminders
Impact: low
Show code
cb_reminders = ui_mcm.get("RF_package_patch/reminders")
L94 🔴 global_write
Global write: cb_upgrades
Impact: low
Show code
cb_upgrades = ui_mcm.get("RF_package_patch/upgrades")
L128 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = false
L129 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = false
L130 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L131 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L132 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = "empty"
L133 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = "empty"
L134 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L143 🔴 global_write
Global write: tb_relations
Impact: low
Show code
tb_relations = {
L159 🔴 global_write
Global write: tb_maybe_badguys
Impact: low
Show code
tb_maybe_badguys = {
L175 🔴 global_write
Global write: tb_factions
Impact: low
Show code
tb_factions = {"army", "bandit", "csky", "dolg", "ecolog", "freedom", "greh", "isg", "killer", "monolith", "renegade", "stalker"}
L177 🔴 global_write
Global write: tb_cut_factions
Impact: low
Show code
tb_cut_factions = {"army", "bandit", "csky", "dolg", "ecolog", "freedom", "killer", "renegade", "stalker"}
L179 🔴 global_write
Global write: tb_homebases
Impact: low
Show code
tb_homebases = {"l03_agroprom", "l04_darkvalley", "k00_marsh", "l05_bar", "l08_yantar", "l07_military", "l10_red_forest", "pripyat", "l09_deadcity", "l11_pripyat", "k00_marsh", "l01_escape"}
L182 🔴 global_write
Global write: tb_package_queue
Impact: low
Show code
tb_package_queue = {}
L185 🔴 global_write
Global write: tb_allmaps
Impact: low
Show code
tb_allmaps = {
L223 🔴 global_write
Global write: tb_package_coords
Impact: low
Show code
tb_package_coords = {
L711 🔴 global_write
Global write: tb_extraloot
Impact: low
Show code
tb_extraloot = {
L728 🔴 global_write
Global write: tb_extraupgrades
Impact: low
Show code
tb_extraupgrades = {
L818 🔴 global_write
Global write: CB_streamlined_extraupgrades
Impact: low
Show code
CB_streamlined_extraupgrades = {
L839 🔴 global_write
Global write: tb_junks
Impact: low
Show code
tb_junks = {
L874 🔴 global_write
Global write: tb_copy_of_itms_manager
Impact: low
Show code
tb_copy_of_itms_manager = itms_manager.use_package_random
L887 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = tb_bonus_items - 1
L902 🔴 global_write
Global write: cb_upgrades
Impact: low
Show code
cb_upgrades = ui_mcm.get("RF_package_patch/upgrades")
L979 🔴 global_write
Global write: tb_package_queue
Impact: low
Show code
tb_package_queue = tb_new_queue
L1006 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = true
L1010 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1014 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1020 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = false
L1021 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = false
L1022 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L1023 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L1024 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = "empty"
L1025 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = "empty"
L1026 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L1029 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = chosenmap
L1037 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = rfreq
L1043 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = se_obj.id
L1044 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = rlvid
L1045 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = rgvid
L1048 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = true
L1050 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = game.translate_string("tb_dont_forget") .. " " .. game.translate_string(rlocat) .. " " .. game.translate_string(rplace) .. game.translate_string("tb_freq_was_on") .. " " .. g_tostring(rfreq) .. game.translate_string("tb_the_mhz")
L1054 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1058 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1068 🔴 global_write
Global write: tb_tg_badguys
Impact: low
Show code
tb_tg_badguys = tg + 2000
L1073 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = true
L1095 🔴 global_write
Global write: tb_tg_scan
Impact: low
Show code
tb_tg_scan = tg + tb_scan_time
L1112 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = tb_relations[tb_factions[i]][2]
L1117 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = true
L1135 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = tb_relations[tb_factions[i]][2]
L1136 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = game.translate_string("tb_sooner_rf")
L1139 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = true
L1153 🔴 global_write
Global write: cb_reminders
Impact: low
Show code
cb_reminders = ui_mcm.get("RF_package_patch/reminders")
L1175 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = true
L1179 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1183 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1193 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = tb_package_queue[1][2]
L1207 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = chosenmap
L1218 🔴 global_write
Global write: tb_previous_level
Impact: low
Show code
tb_previous_level = chosenmap
L1227 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = rfreq
L1233 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = se_obj.id
L1234 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = rlvid
L1235 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = rgvid
L1238 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = true
L1240 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = game.translate_string("tb_dont_forget") .. " " .. game.translate_string(rlocat) .. " " .. game.translate_string(rplace) .. game.translate_string("tb_freq_was_on") .. " " .. g_tostring(rfreq) .. game.translate_string("tb_the_mhz")
L1244 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1247 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1306 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 1000
L1317 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 2000
L1328 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 3000
L1338 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L1355 🔴 global_write
Global write: cb_unpack
Impact: low
Show code
cb_unpack = ui_mcm.get ("RF_package_patch/unpacking")
L1360 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = false
L1361 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = false
L1362 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L1363 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L1364 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = "empty"
L1365 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = "empty"
L1366 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L1378 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = 0
L1380 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = tb_bonus_items + 1
L1398 🔴 global_write
Global write: note_given
Impact: low
Show code
note_given = true
L1427 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = m_data.tb_target_item
L1428 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = m_data.tb_sufficient_passed
L1429 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = m_data.tb_package_active
L1430 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = m_data.tb_reminder
L1431 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = m_data.tb_package_in_level
L1432 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = m_data.tb_freq
L1433 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = m_data.tb_sender_icon
L1434 🔴 global_write
Global write: tb_relations
Impact: low
Show code
tb_relations = m_data.tb_relations
L1435 🔴 global_write
Global write: tb_package_queue
Impact: low
Show code
tb_package_queue = m_data.tb_package_queue
L1438 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = m_data.tb_target_lvid
L1439 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = m_data.tb_target_gvid
L1440 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = m_data.tb_bonus_items
L1441 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = m_data.tb_badguy_spawned
L1444 🔴 global_write
Global write: tb_previous_level
Impact: low
Show code
tb_previous_level = m_data.tb_previous_level
L1447 🔴 global_write
Global write: cb_note_given
Impact: low
Show code
cb_note_given = m_data.cb_note_given

death_manager.script

L516 🟢 repeated_itm_section()
itm:section() called 3x in itr
Impact: low
Show code
Cache itm:section() result
L745 🟢 repeated_itm_section()
itm:section() called 3x in set_weapon_drop_condition
Impact: low
Show code
Cache itm:section() result
L1078 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. " , " .. info.sec .. " (" .. info.num .. ")" .. add
L351 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR [%s] is not spawned by ItemProcessor",section)
L1063 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("----------------------------------------------------------")
L1080 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(str)
L1082 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("----------------------------------------------------------")
L21 🔴 global_write
Global write: item_by_story_id
Impact: low
Show code
item_by_story_id = {}
L65 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = death_ini:r_line_ex(x,i,"","")
L106 🔴 global_write
Global write: item_by_story_id
Impact: low
Show code
item_by_story_id = {}
L156 🔴 global_write
Global write: items_by_npc
Impact: low
Show code
items_by_npc = {} -- table = trade, false = no trade, nil = not asked yet
L524 🔴 global_write
Global write: rng
Impact: low
Show code
rng = math_random(1,3)
L540 🔴 global_write
Global write: rng
Impact: low
Show code
rng = math_random(1,3)
L577 🔴 global_write
Global write: chance
Impact: low
Show code
chance = math_random(0,100)
L595 🔴 global_write
Global write: powder_chance
Impact: low
Show code
powder_chance = math_random(100)
L600 🔴 global_write
Global write: powder_type_chance
Impact: low
Show code
powder_type_chance = math_random(100)
L601 🔴 global_write
Global write: powder_type
Impact: low
Show code
powder_type = "powder_2"
L603 🔴 global_write
Global write: powder_type
Impact: low
Show code
powder_type = "powder_1"
L605 🔴 global_write
Global write: powder_type
Impact: low
Show code
powder_type = "powder_2"
L607 🔴 global_write
Global write: powder_type
Impact: low
Show code
powder_type = "powder_3"
L610 🔴 global_write
Global write: powder_qty
Impact: low
Show code
powder_qty = math_random(8,16)
L617 🔴 global_write
Global write: bullet_chance
Impact: low
Show code
bullet_chance = math_random(100)
L622 🔴 global_write
Global write: bullet_type_tbl
Impact: low
Show code
bullet_type_tbl = {
L633 🔴 global_write
Global write: bullet_type
Impact: low
Show code
bullet_type = bullet_type_tbl[math_random(#bullet_type_tbl)]
L635 🔴 global_write
Global write: bullet_qty
Impact: low
Show code
bullet_qty = math_random(8,16)
L642 🔴 global_write
Global write: casing_chance
Impact: low
Show code
casing_chance = math_random(100)
L647 🔴 global_write
Global write: casing_type_tbl
Impact: low
Show code
casing_type_tbl = {
L654 🔴 global_write
Global write: casing_type
Impact: low
Show code
casing_type = casing_type_tbl[math_random(#casing_type_tbl)]
L656 🔴 global_write
Global write: casing_qty
Impact: low
Show code
casing_qty = math_random(5,15)
L668 🔴 global_write
Global write: af_chance
Impact: low
Show code
af_chance = math.random(100)
L673 🔴 global_write
Global write: af_type_tbl
Impact: low
Show code
af_type_tbl = {
L700 🔴 global_write
Global write: af_type
Impact: low
Show code
af_type = af_type_tbl[math.random(#af_type_tbl)]
L770 🔴 global_write
Global write: chance
Impact: low
Show code
chance = math_random(0,100)
L933 🔴 global_write
Global write: items_by_npc
Impact: low
Show code
items_by_npc = m_data.items_by_npc or {}

despawn_monolith_grenades.script

L16 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

game_statistics.script

L250 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Player used debug mode!")
L19 🔴 global_write
Global write: actor_achievements
Impact: low
Show code
actor_achievements = {
L48 🔴 global_write
Global write: actor_artefacts
Impact: low
Show code
actor_artefacts = {
L52 🔴 global_write
Global write: actor_anomaly_maps
Impact: low
Show code
actor_anomaly_maps = {
L56 🔴 global_write
Global write: actor_miscellaneous
Impact: low
Show code
actor_miscellaneous = {
L62 🔴 global_write
Global write: actor_visited_levels
Impact: low
Show code
actor_visited_levels = {
L100 🔴 global_write
Global write: actor_visited_smarts
Impact: low
Show code
actor_visited_smarts = {
L104 🔴 global_write
Global write: actor_statistics
Impact: low
Show code
actor_statistics = {
L140 🔴 global_write
Global write: npc_statistics
Impact: low
Show code
npc_statistics = {
L536 🔴 global_write
Global write: actor_artefacts
Impact: low
Show code
actor_artefacts = data.game_statistics.actor_artefacts or actor_artefacts
L537 🔴 global_write
Global write: actor_anomaly_maps
Impact: low
Show code
actor_anomaly_maps = data.game_statistics.actor_anomaly_maps or actor_anomaly_maps
L538 🔴 global_write
Global write: actor_miscellaneous
Impact: low
Show code
actor_miscellaneous = data.game_statistics.actor_miscellaneous or actor_miscellaneous
L539 🔴 global_write
Global write: actor_visited_levels
Impact: low
Show code
actor_visited_levels = data.game_statistics.actor_visited_levels or actor_visited_levels
L540 🔴 global_write
Global write: actor_visited_smarts
Impact: low
Show code
actor_visited_smarts = data.game_statistics.actor_visited_smarts or actor_visited_smarts

grok_companions_no_ammo.script

L7 🔴 global_write
Global write: npc
Impact: low
Show code
npc = inventory:GetPartner()

item_recipe.script

L65 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR item_recipe | no section passed!")
L244 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! Workshop UI craft | componenet section [%s] not found for [%s] recipe!", g_tostring(t[3]), id)
L252 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! workshop_craft_ui:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[5]), id)
L260 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! workshop_craft_ui:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[7]), id)
L268 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! workshop_craft_ui:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[9]), id)
L273 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! workshop_craft_ui:LoadRecipes() | section [%s] not found!",id)

target_prior.script

L236 🟢 repeated_alife
alife called 4x in simulation_objects.evaluate_prior
Impact: low
Show code
local sim = alife()
L207 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)

ui_mutant_loot.script

L179 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR ui_mutant_loot | no game object passed!")
L520 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR ui_mutant_loot | can't retrieve online object of mutant [%s](%s)", self.section, self.id)

wpo_loot.script

L39 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("no partskit_tool")
L3 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = arti_jamming.print_dbg
L4 🔴 global_write
Global write: has_parts
Impact: low
Show code
has_parts = arti_jamming.has_parts
L6 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

xrs_rnd_npc_loadout.script

L292 🟡 string_concat_in_loop
String concat in loop: loadout = loadout .. x
Impact: critical
Show code
loadout = loadout .. "_" .. tbl_rank[k2]
L76 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: NPC Loadouts | something is wrong in [%s] - %s", section, tmp[1])
L185 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: NPC Loadouts | wrong ammo_type set for [%s], missing value in ammo_class", section)
L234 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L255 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: NPC Loadouts | section [%s] doesn't exist", slot)
L301 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: NPC Loadouts | loadout [%s] doesn't exist", loadout)
L307 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(print_tbl[i])

G.A.M.M.A. Economy (don't disable, turn on Black Market to buy gear)

10 files (🟢3 🟡2 🔴164 🔵23)

TB_RF_Receiver_Packages.script

L948 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--- Loading TBs_RF_Receiver_Hidden_Package_Sidequests_v1.8 ---")
L979 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--- Cleaning v1.5 package queue for v1.6 | Queue size was: %s, is now: %s ---",tb_queue_num,#tb_package_queue)
L44 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L45 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = false
L46 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = false
L47 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = "empty"
L48 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = "empty"
L49 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = 0
L50 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = "empty"
L51 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L52 🔴 global_write
Global write: tb_tg_scan
Impact: low
Show code
tb_tg_scan = 0
L53 🔴 global_write
Global write: tb_device
Impact: low
Show code
tb_device = "detector_radio"
L54 🔴 global_write
Global write: tb_relation_diff
Impact: low
Show code
tb_relation_diff = 250
L56 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = 0
L57 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = 0
L58 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = 0
L59 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = false
L60 🔴 global_write
Global write: tb_tg_badguys
Impact: low
Show code
tb_tg_badguys = 0
L62 🔴 global_write
Global write: tb_previous_level
Impact: low
Show code
tb_previous_level = "empty"
L64 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L66 🔴 global_write
Global write: cb_note_given
Impact: low
Show code
cb_note_given = false
L74 🔴 global_write
Global write: cb_reminders
Impact: low
Show code
cb_reminders = "transitions"
L79 🔴 global_write
Global write: cb_upgrades
Impact: low
Show code
cb_upgrades = "vanilla"
L83 🔴 global_write
Global write: cb_unpack
Impact: low
Show code
cb_unpack = "manual"
L93 🔴 global_write
Global write: cb_reminders
Impact: low
Show code
cb_reminders = ui_mcm.get("RF_package_patch/reminders")
L94 🔴 global_write
Global write: cb_upgrades
Impact: low
Show code
cb_upgrades = ui_mcm.get("RF_package_patch/upgrades")
L128 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = false
L129 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = false
L130 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L131 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L132 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = "empty"
L133 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = "empty"
L134 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L143 🔴 global_write
Global write: tb_relations
Impact: low
Show code
tb_relations = {
L159 🔴 global_write
Global write: tb_maybe_badguys
Impact: low
Show code
tb_maybe_badguys = {
L175 🔴 global_write
Global write: tb_factions
Impact: low
Show code
tb_factions = {"army", "bandit", "csky", "dolg", "ecolog", "freedom", "greh", "isg", "killer", "monolith", "renegade", "stalker"}
L177 🔴 global_write
Global write: tb_cut_factions
Impact: low
Show code
tb_cut_factions = {"army", "bandit", "csky", "dolg", "ecolog", "freedom", "killer", "renegade", "stalker"}
L179 🔴 global_write
Global write: tb_homebases
Impact: low
Show code
tb_homebases = {"l03_agroprom", "l04_darkvalley", "k00_marsh", "l05_bar", "l08_yantar", "l07_military", "l10_red_forest", "pripyat", "l09_deadcity", "l11_pripyat", "k00_marsh", "l01_escape"}
L182 🔴 global_write
Global write: tb_package_queue
Impact: low
Show code
tb_package_queue = {}
L185 🔴 global_write
Global write: tb_allmaps
Impact: low
Show code
tb_allmaps = {
L225 🔴 global_write
Global write: tb_package_coords
Impact: low
Show code
tb_package_coords = {
L713 🔴 global_write
Global write: tb_extraloot
Impact: low
Show code
tb_extraloot = {
L730 🔴 global_write
Global write: tb_extraupgrades
Impact: low
Show code
tb_extraupgrades = {
L820 🔴 global_write
Global write: CB_streamlined_extraupgrades
Impact: low
Show code
CB_streamlined_extraupgrades = {
L841 🔴 global_write
Global write: tb_junks
Impact: low
Show code
tb_junks = {
L873 🔴 global_write
Global write: tb_copy_of_itms_manager
Impact: low
Show code
tb_copy_of_itms_manager = itms_manager.use_package_random
L886 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = tb_bonus_items - 1
L901 🔴 global_write
Global write: cb_upgrades
Impact: low
Show code
cb_upgrades = ui_mcm.get("RF_package_patch/upgrades")
L978 🔴 global_write
Global write: tb_package_queue
Impact: low
Show code
tb_package_queue = tb_new_queue
L1005 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = true
L1009 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1013 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1019 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = false
L1020 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = false
L1021 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L1022 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L1023 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = "empty"
L1024 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = "empty"
L1025 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L1028 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = chosenmap
L1036 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = rfreq
L1042 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = se_obj.id
L1043 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = rlvid
L1044 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = rgvid
L1047 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = true
L1049 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = game.translate_string("tb_dont_forget") .. " " .. game.translate_string(rlocat) .. " " .. game.translate_string(rplace) .. game.translate_string("tb_freq_was_on") .. " " .. g_tostring(rfreq) .. game.translate_string("tb_the_mhz")
L1053 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1057 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1067 🔴 global_write
Global write: tb_tg_badguys
Impact: low
Show code
tb_tg_badguys = tg + 2000
L1072 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = true
L1094 🔴 global_write
Global write: tb_tg_scan
Impact: low
Show code
tb_tg_scan = tg + tb_scan_time
L1111 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = tb_relations[tb_factions[i]][2]
L1116 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = true
L1134 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = tb_relations[tb_factions[i]][2]
L1135 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = game.translate_string("tb_sooner_rf")
L1138 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = true
L1152 🔴 global_write
Global write: cb_reminders
Impact: low
Show code
cb_reminders = ui_mcm.get("RF_package_patch/reminders")
L1174 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = true
L1178 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1182 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1194 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = tb_package_queue[1][2]
L1243 🔴 global_write
Global write: tb_previous_level
Impact: low
Show code
tb_previous_level = chosenmap
L1244 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = chosenmap
L1252 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = rfreq
L1258 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = se_obj.id
L1259 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = rlvid
L1260 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = rgvid
L1263 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = true
L1265 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = game.translate_string("tb_dont_forget") .. " " .. game.translate_string(rlocat) .. " " .. game.translate_string(rplace) .. game.translate_string("tb_freq_was_on") .. " " .. g_tostring(rfreq) .. game.translate_string("tb_the_mhz")
L1269 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1272 🔴 global_write
Global write: tb_making_package
Impact: low
Show code
tb_making_package = false
L1331 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 1000
L1342 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 2000
L1353 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 3000
L1363 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L1380 🔴 global_write
Global write: cb_unpack
Impact: low
Show code
cb_unpack = ui_mcm.get ("RF_package_patch/unpacking")
L1385 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = false
L1386 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = false
L1387 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L1388 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = 0
L1389 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = "empty"
L1390 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = "empty"
L1391 🔴 global_write
Global write: tb_scan_time
Impact: low
Show code
tb_scan_time = 4000
L1403 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = 0
L1405 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = tb_bonus_items + 1
L1423 🔴 global_write
Global write: note_given
Impact: low
Show code
note_given = true
L1452 🔴 global_write
Global write: tb_target_item
Impact: low
Show code
tb_target_item = m_data.tb_target_item
L1453 🔴 global_write
Global write: tb_sufficient_passed
Impact: low
Show code
tb_sufficient_passed = m_data.tb_sufficient_passed
L1454 🔴 global_write
Global write: tb_package_active
Impact: low
Show code
tb_package_active = m_data.tb_package_active
L1455 🔴 global_write
Global write: tb_reminder
Impact: low
Show code
tb_reminder = m_data.tb_reminder
L1456 🔴 global_write
Global write: tb_package_in_level
Impact: low
Show code
tb_package_in_level = m_data.tb_package_in_level
L1457 🔴 global_write
Global write: tb_freq
Impact: low
Show code
tb_freq = m_data.tb_freq
L1458 🔴 global_write
Global write: tb_sender_icon
Impact: low
Show code
tb_sender_icon = m_data.tb_sender_icon
L1459 🔴 global_write
Global write: tb_relations
Impact: low
Show code
tb_relations = m_data.tb_relations
L1460 🔴 global_write
Global write: tb_package_queue
Impact: low
Show code
tb_package_queue = m_data.tb_package_queue
L1463 🔴 global_write
Global write: tb_target_lvid
Impact: low
Show code
tb_target_lvid = m_data.tb_target_lvid
L1464 🔴 global_write
Global write: tb_target_gvid
Impact: low
Show code
tb_target_gvid = m_data.tb_target_gvid
L1465 🔴 global_write
Global write: tb_bonus_items
Impact: low
Show code
tb_bonus_items = m_data.tb_bonus_items
L1466 🔴 global_write
Global write: tb_badguy_spawned
Impact: low
Show code
tb_badguy_spawned = m_data.tb_badguy_spawned
L1469 🔴 global_write
Global write: tb_previous_level
Impact: low
Show code
tb_previous_level = m_data.tb_previous_level
L1472 🔴 global_write
Global write: cb_note_given
Impact: low
Show code
cb_note_given = m_data.cb_note_given

death_manager.script

L516 🟢 repeated_itm_section()
itm:section() called 3x in itr
Impact: low
Show code
Cache itm:section() result
L745 🟢 repeated_itm_section()
itm:section() called 3x in set_weapon_drop_condition
Impact: low
Show code
Cache itm:section() result
L1078 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. " , " .. info.sec .. " (" .. info.num .. ")" .. add
L351 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR [%s] is not spawned by ItemProcessor",section)
L1063 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("----------------------------------------------------------")
L1080 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(str)
L1082 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("----------------------------------------------------------")
L21 🔴 global_write
Global write: item_by_story_id
Impact: low
Show code
item_by_story_id = {}
L65 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = death_ini:r_line_ex(x,i,"","")
L106 🔴 global_write
Global write: item_by_story_id
Impact: low
Show code
item_by_story_id = {}
L156 🔴 global_write
Global write: items_by_npc
Impact: low
Show code
items_by_npc = {} -- table = trade, false = no trade, nil = not asked yet
L524 🔴 global_write
Global write: rng
Impact: low
Show code
rng = math_random(1,3)
L540 🔴 global_write
Global write: rng
Impact: low
Show code
rng = math_random(1,3)
L577 🔴 global_write
Global write: chance
Impact: low
Show code
chance = math_random(0,100)
L595 🔴 global_write
Global write: powder_chance
Impact: low
Show code
powder_chance = math_random(100)
L600 🔴 global_write
Global write: powder_type_chance
Impact: low
Show code
powder_type_chance = math_random(100)
L601 🔴 global_write
Global write: powder_type
Impact: low
Show code
powder_type = "powder_2"
L603 🔴 global_write
Global write: powder_type
Impact: low
Show code
powder_type = "powder_1"
L605 🔴 global_write
Global write: powder_type
Impact: low
Show code
powder_type = "powder_2"
L607 🔴 global_write
Global write: powder_type
Impact: low
Show code
powder_type = "powder_3"
L610 🔴 global_write
Global write: powder_qty
Impact: low
Show code
powder_qty = math_random(8,16)
L617 🔴 global_write
Global write: bullet_chance
Impact: low
Show code
bullet_chance = math_random(100)
L622 🔴 global_write
Global write: bullet_type_tbl
Impact: low
Show code
bullet_type_tbl = {
L633 🔴 global_write
Global write: bullet_type
Impact: low
Show code
bullet_type = bullet_type_tbl[math_random(#bullet_type_tbl)]
L635 🔴 global_write
Global write: bullet_qty
Impact: low
Show code
bullet_qty = math_random(8,16)
L642 🔴 global_write
Global write: casing_chance
Impact: low
Show code
casing_chance = math_random(100)
L647 🔴 global_write
Global write: casing_type_tbl
Impact: low
Show code
casing_type_tbl = {
L654 🔴 global_write
Global write: casing_type
Impact: low
Show code
casing_type = casing_type_tbl[math_random(#casing_type_tbl)]
L656 🔴 global_write
Global write: casing_qty
Impact: low
Show code
casing_qty = math_random(5,15)
L668 🔴 global_write
Global write: af_chance
Impact: low
Show code
af_chance = math.random(100)
L673 🔴 global_write
Global write: af_type_tbl
Impact: low
Show code
af_type_tbl = {
L700 🔴 global_write
Global write: af_type
Impact: low
Show code
af_type = af_type_tbl[math.random(#af_type_tbl)]
L770 🔴 global_write
Global write: chance
Impact: low
Show code
chance = math_random(0,100)
L933 🔴 global_write
Global write: items_by_npc
Impact: low
Show code
items_by_npc = m_data.items_by_npc or {}

despawn_monolith_grenades.script

L16 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

game_statistics.script

L250 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Player used debug mode!")
L19 🔴 global_write
Global write: actor_achievements
Impact: low
Show code
actor_achievements = {
L48 🔴 global_write
Global write: actor_artefacts
Impact: low
Show code
actor_artefacts = {
L52 🔴 global_write
Global write: actor_anomaly_maps
Impact: low
Show code
actor_anomaly_maps = {
L56 🔴 global_write
Global write: actor_miscellaneous
Impact: low
Show code
actor_miscellaneous = {
L62 🔴 global_write
Global write: actor_visited_levels
Impact: low
Show code
actor_visited_levels = {
L100 🔴 global_write
Global write: actor_visited_smarts
Impact: low
Show code
actor_visited_smarts = {
L104 🔴 global_write
Global write: actor_statistics
Impact: low
Show code
actor_statistics = {
L140 🔴 global_write
Global write: npc_statistics
Impact: low
Show code
npc_statistics = {
L536 🔴 global_write
Global write: actor_artefacts
Impact: low
Show code
actor_artefacts = data.game_statistics.actor_artefacts or actor_artefacts
L537 🔴 global_write
Global write: actor_anomaly_maps
Impact: low
Show code
actor_anomaly_maps = data.game_statistics.actor_anomaly_maps or actor_anomaly_maps
L538 🔴 global_write
Global write: actor_miscellaneous
Impact: low
Show code
actor_miscellaneous = data.game_statistics.actor_miscellaneous or actor_miscellaneous
L539 🔴 global_write
Global write: actor_visited_levels
Impact: low
Show code
actor_visited_levels = data.game_statistics.actor_visited_levels or actor_visited_levels
L540 🔴 global_write
Global write: actor_visited_smarts
Impact: low
Show code
actor_visited_smarts = data.game_statistics.actor_visited_smarts or actor_visited_smarts

grok_companions_no_ammo.script

L7 🔴 global_write
Global write: npc
Impact: low
Show code
npc = inventory:GetPartner()

item_recipe.script

L65 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR item_recipe | no section passed!")
L244 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! Workshop UI craft | componenet section [%s] not found for [%s] recipe!", g_tostring(t[3]), id)
L252 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! workshop_craft_ui:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[5]), id)
L260 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! workshop_craft_ui:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[7]), id)
L268 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! workshop_craft_ui:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[9]), id)
L273 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! workshop_craft_ui:LoadRecipes() | section [%s] not found!",id)

target_prior.script

L236 🟢 repeated_alife
alife called 4x in simulation_objects.evaluate_prior
Impact: low
Show code
local sim = alife()
L207 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)

ui_mutant_loot.script

L179 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR ui_mutant_loot | no game object passed!")
L520 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR ui_mutant_loot | can't retrieve online object of mutant [%s](%s)", self.section, self.id)

wpo_loot.script

L39 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("no partskit_tool")
L3 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = arti_jamming.print_dbg
L4 🔴 global_write
Global write: has_parts
Impact: low
Show code
has_parts = arti_jamming.has_parts
L6 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

xrs_rnd_npc_loadout.script

L292 🟡 string_concat_in_loop
String concat in loop: loadout = loadout .. x
Impact: critical
Show code
loadout = loadout .. "_" .. tbl_rank[k2]
L76 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: NPC Loadouts | something is wrong in [%s] - %s", section, tmp[1])
L185 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: NPC Loadouts | wrong ammo_type set for [%s], missing value in ammo_class", section)
L234 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L255 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: NPC Loadouts | section [%s] doesn't exist", slot)
L301 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: NPC Loadouts | loadout [%s] doesn't exist", loadout)
L307 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(print_tbl[i])

G.A.M.M.A. Enhanced Recoil

1 file (🟢1 🟡0 🔴6 🔵0)

grok_bo_enhanced_recoil.script

L129 🟢 table_insert_append
table.insert(anims, v) -> anims[#anims+1] = v
Impact: high
Show code
table.insert(anims,{e = i,d = v[2] or math_random(0,1),c = cnt})
L19 🔴 global_write
Global write: exo_reduction
Impact: low
Show code
exo_reduction = 0
L23 🔴 global_write
Global write: exo_reduction
Impact: low
Show code
exo_reduction = 1
L28 🔴 global_write
Global write: recoil_str
Impact: low
Show code
recoil_str = g_tonumber(_s[i]) - exo_reduction
L31 🔴 global_write
Global write: recoil_str
Impact: low
Show code
recoil_str = 1
L47 🔴 global_write
Global write: climb_str
Impact: low
Show code
climb_str = g_tonumber(__e[j]) - exo_reduction
L50 🔴 global_write
Global write: climb_str
Impact: low
Show code
climb_str = 0

G.A.M.M.A. FDDA Rework

2 files (🟢1 🟡0 🔴30 🔵4)

enhanced_animations.script

L165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if ea_debug then printf("update = "..failure_timer) end
L170 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("hide weapons for anim failed")
L171 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(used_item or (used_monster and used_monster:section()) or "anim find ERROR")
L172 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(anim_section or "NO ANIM SECTION FOUND")
L30 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = true
L31 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = true
L35 🔴 global_write
Global write: used_item
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: ea_flag
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: fake_monster
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: det_active
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: anim_section
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active,anim_section = nil
L53 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = not enable_animations
L59 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_mcm.get("EA_settings/enable_animations")
L60 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = ui_mcm.get("EA_settings/mutant_loot")
L63 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = false
L67 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = ini_eff:r_bool_ex("anim_settings", "mutant_loot_mod")
L68 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_options.get("video/player/animations")
L93 🔴 global_write
Global write: used_item
Impact: low
Show code
used_item = item
L95 🔴 global_write
Global write: anim_section
Impact: low
Show code
anim_section = ini_eff:r_string_ex(item, "anm")
L133 🔴 global_write
Global write: tmr
Impact: low
Show code
tmr = ini_eff:r_float_ex(used_item, "tm")
L151 🔴 global_write
Global write: tmr
Impact: low
Show code
tmr = ini_eff:r_float_ex("item_ea_harv_wpn_knife", "anim_length")
L187 🔴 global_write
Global write: anim_section
Impact: low
Show code
anim_section = nil
L287 🔴 global_write
Global write: used_item
Impact: low
Show code
used_item = nil
L298 🔴 global_write
Global write: fake_monster
Impact: low
Show code
fake_monster = used_monster
L300 🔴 global_write
Global write: ea_flag
Impact: low
Show code
ea_flag = true
L302 🔴 global_write
Global write: ea_flag
Impact: low
Show code
ea_flag = nil
L304 🔴 global_write
Global write: fake_monster
Impact: low
Show code
fake_monster = nil
L331 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = db.actor:active_detector() or nil

take_item_anim.script

L37 🟢 repeated_item_section()
item:section() called 2x in actor_on_item_take
Impact: low
Show code
Cache item:section() result
L21 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_mcm.get("EA_settings/enable_animations")
L22 🔴 global_write
Global write: default_dist
Impact: low
Show code
default_dist = ui_mcm.get("EA_settings/take_dist")
L25 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_options.get("video/player/animations")
L26 🔴 global_write
Global write: default_dist
Impact: low
Show code
default_dist = 0.12
L40 🔴 global_write
Global write: anim_used
Impact: low
Show code
anim_used = true
L63 🔴 global_write
Global write: anim_used
Impact: low
Show code
anim_used = false

G.A.M.M.A. Fast Transfer fix

1 file (🟢0 🟡0 🔴10 🔵0)

ish_fast_transfer.script

L5 🔴 global_write
Global write: last_url
Impact: low
Show code
last_url = nil
L6 🔴 global_write
Global write: enabled
Impact: low
Show code
enabled = {actor_bag = true, npc_bag = true, actor_trade = true, actor_trade_bag = true, npc_trade = true, npc_trade_bag = true}
L13 🔴 global_write
Global write: new_url
Impact: low
Show code
new_url = move_info.bag .. "_" .. move_info.idx .. "_" .. move_info.ts
L18 🔴 global_write
Global write: last_url
Impact: low
Show code
last_url = new_url
L30 🔴 global_write
Global write: bag
Impact: low
Show code
bag = move_info.bag
L31 🔴 global_write
Global write: idx
Impact: low
Show code
idx = move_info.idx
L33 🔴 global_write
Global write: self
Impact: low
Show code
self = ui_inventory.GUI
L36 🔴 global_write
Global write: bag
Impact: low
Show code
bag, idx = self:Picker_Ownership(bag, idx, obj)
L36 🔴 global_write
Global write: idx
Impact: low
Show code
bag, idx = self:Picker_Ownership(bag, idx, obj)
L51 🔴 global_write
Global write: Base_On_Hover
Impact: low
Show code
Base_On_Hover = utils_ui.UICellContainer.On_Hover

G.A.M.M.A. Fast Travel Limiter Rebalance

1 file (🟢0 🟡0 🔴1 🔵0)

fast_travel_limiter_mcm.script

L1 🔴 global_write
Global write: op
Impact: low
Show code
op = {

G.A.M.M.A. Free Zoom v3

1 file (🟢2 🟡0 🔴33 🔵0)

Free_ZoomV2_mcm.script

L142 🟢 repeated_wpn_section()
wpn:section() called 6x in on_key_press
Impact: low
Show code
Cache wpn:section() result
L230 🟢 repeated_wpn_section()
wpn:section() called 7x in on_key_release
Impact: low
Show code
Cache wpn:section() result
L27 🔴 global_write
Global write: fov_before
Impact: low
Show code
fov_before = get_console_cmd(2, "fov")
L28 🔴 global_write
Global write: hud_fov_before
Impact: low
Show code
hud_fov_before = get_console_cmd(2, "hud_fov")
L29 🔴 global_write
Global write: mouse_sens_before
Impact: low
Show code
mouse_sens_before = get_console_cmd(2, "mouse_sens")
L31 🔴 global_write
Global write: fov_backup
Impact: low
Show code
fov_backup = get_console_cmd(2, "fov")
L32 🔴 global_write
Global write: hud_fov_backup
Impact: low
Show code
hud_fov_backup = get_console_cmd(2, "hud_fov")
L33 🔴 global_write
Global write: mouse_sens_backup
Impact: low
Show code
mouse_sens_backup = get_console_cmd(2, "mouse_sens")
L37 🔴 global_write
Global write: pistol_mult
Impact: low
Show code
pistol_mult = ui_mcm.get("free_zoom/pistol_mult") or 1.15
L38 🔴 global_write
Global write: ads_mult
Impact: low
Show code
ads_mult = ui_mcm.get("free_zoom/ads_mult") or 0.85
L39 🔴 global_write
Global write: free_zoom_mult
Impact: low
Show code
free_zoom_mult = ui_mcm.get("free_zoom/free_zoom_mult") or 0.61
L46 🔴 global_write
Global write: special_weapons
Impact: low
Show code
special_weapons={
L84 🔴 global_write
Global write: fov_before
Impact: low
Show code
fov_before = get_console_cmd(2, "fov")
L85 🔴 global_write
Global write: hud_fov_before
Impact: low
Show code
hud_fov_before = get_console_cmd(2, "hud_fov")
L86 🔴 global_write
Global write: mouse_sens_before
Impact: low
Show code
mouse_sens_before = get_console_cmd(2, "mouse_sens")
L94 🔴 global_write
Global write: wpn
Impact: low
Show code
wpn = db.actor:active_item()
L101 🔴 global_write
Global write: hud_fov_before
Impact: low
Show code
hud_fov_before = hud_fov_backup * pistol_mult
L103 🔴 global_write
Global write: hud_fov_before
Impact: low
Show code
hud_fov_before = hud_fov_backup
L108 🔴 global_write
Global write: special_gun
Impact: low
Show code
special_gun = true
L109 🔴 global_write
Global write: hud_fov_before
Impact: low
Show code
hud_fov_before = special_weapons[sec_p]
L111 🔴 global_write
Global write: special_gun
Impact: low
Show code
special_gun = false
L119 🔴 global_write
Global write: last_sec
Impact: low
Show code
last_sec = sec
L133 🔴 global_write
Global write: scoped
Impact: low
Show code
scoped = wpn:cast_Weapon():IsScopeAttached()
L134 🔴 global_write
Global write: zoomed
Impact: low
Show code
zoomed = wpn:cast_Weapon():IsZoomed()
L139 🔴 global_write
Global write: ads
Impact: low
Show code
ads = true
L149 🔴 global_write
Global write: ads
Impact: low
Show code
ads = true
L164 🔴 global_write
Global write: scoped
Impact: low
Show code
scoped = wpn:cast_Weapon():IsScopeAttached()
L165 🔴 global_write
Global write: zoomed
Impact: low
Show code
zoomed = wpn:cast_Weapon():IsZoomed()
L206 🔴 global_write
Global write: ads
Impact: low
Show code
ads = false
L261 🔴 global_write
Global write: scoped
Impact: low
Show code
scoped = wpn:cast_Weapon():IsScopeAttached()
L262 🔴 global_write
Global write: zoomed
Impact: low
Show code
zoomed = wpn:cast_Weapon():IsZoomed()
L316 🔴 global_write
Global write: saved_gls
Impact: low
Show code
saved_gls = mdata.snk_saved_gl_fov or {}
L330 🔴 global_write
Global write: fov_backup
Impact: low
Show code
fov_backup = get_console_cmd(2, "fov")
L331 🔴 global_write
Global write: hud_fov_backup
Impact: low
Show code
hud_fov_backup = get_console_cmd(2, "hud_fov")
L332 🔴 global_write
Global write: mouse_sens_backup
Impact: low
Show code
mouse_sens_backup = get_console_cmd(2, "mouse_sens")

G.A.M.M.A. Guns Have No Condition

5 files (🟢1 🟡0 🔴26 🔵5)

aaa_rax_icon_override_mcm.script

L22 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "RAX: | %s | "..text ,time_global(), ...)
L367 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | XML_box or XML_temp doesn't exist")
L375 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | section [%s] doesn't exist in system ini", sec)
L18 🔴 global_write
Global write: icon_override
Impact: low
Show code
icon_override = ini_file_ex("icon_override\\icon_override.ltx")
L540 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(a_sec,1)
L555 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(b_sec,1)

grok_gun_condition_fixed.script

L1 🔴 global_write
Global write: cond
Impact: low
Show code
cond = 0.83

grok_gun_no_condition_text.script

L2 🔴 global_write
Global write: z_item_icon_info_Add_Condition_Text
Impact: low
Show code
z_item_icon_info_Add_Condition_Text = z_item_icon_info.Add_Condition_Text

momopate_proper_jam_chance.script

L23 🟢 repeated_wpn_section()
wpn:section() called 4x in zzzz_arti_jamming_repairs.process_jam_chance
Impact: low
Show code
Cache wpn:section() result
L17 🔴 global_write
Global write: jam_prob
Impact: low
Show code
jam_prob = arti_jamming.get_jam_chance(wpn)
L19 🔴 global_write
Global write: silencer_jam_chance
Impact: low
Show code
silencer_jam_chance = arti_jamming.get_silencer_jam_chance and arti_jamming.get_silencer_jam_chance(wpn) * 0.1 or 0
L23 🔴 global_write
Global write: start_prob
Impact: low
Show code
start_prob = SYS_GetParam(2, wpn:section(), "misfire_start_prob") or 0
L24 🔴 global_write
Global write: start_cond
Impact: low
Show code
start_cond = SYS_GetParam(2, wpn:section(), "misfire_start_condition") or 0
L25 🔴 global_write
Global write: end_prob
Impact: low
Show code
end_prob = SYS_GetParam(2, wpn:section(), "misfire_end_prob") or 0
L26 🔴 global_write
Global write: end_cond
Impact: low
Show code
end_cond = SYS_GetParam(2, wpn:section(), "misfire_end_condition") or 0
L31 🔴 global_write
Global write: start_prob
Impact: low
Show code
start_prob = start_prob + SYS_GetParam(2, section, "misfire_start_prob", 0)
L32 🔴 global_write
Global write: start_cond
Impact: low
Show code
start_cond = start_cond + SYS_GetParam(2, section, "misfire_start_condition", 0)
L33 🔴 global_write
Global write: end_prob
Impact: low
Show code
end_prob = end_prob + SYS_GetParam(2, section, "misfire_end_prob", 0)
L34 🔴 global_write
Global write: end_cond
Impact: low
Show code
end_cond = end_cond + SYS_GetParam(2, section, "misfire_end_condition", 0)
L36 🔴 global_write
Global write: vanilla_jam_chance
Impact: low
Show code
vanilla_jam_chance = 0
L38 🔴 global_write
Global write: vanilla_jam_chance
Impact: low
Show code
vanilla_jam_chance = 0
L40 🔴 global_write
Global write: vanilla_jam_chance
Impact: low
Show code
vanilla_jam_chance = end_prob
L42 🔴 global_write
Global write: divisor
Impact: low
Show code
divisor = 1
L44 🔴 global_write
Global write: divisor
Impact: low
Show code
divisor = start_cond
L46 🔴 global_write
Global write: divisor
Impact: low
Show code
divisor = start_cond - end_cond
L49 🔴 global_write
Global write: vanilla_jam_chance
Impact: low
Show code
vanilla_jam_chance = clamp(start_prob + ((start_cond - wpn:condition()) * (end_prob - start_prob) / divisor), 0, 0.99)
L52 🔴 global_write
Global write: vanilla_jam_chance
Impact: low
Show code
vanilla_jam_chance = vanilla_jam_chance * 100
L53 🔴 global_write
Global write: total_jam_prob
Impact: low
Show code
total_jam_prob = jam_prob + vanilla_jam_chance + silencer_jam_chance
L65 🔴 global_write
Global write: total_jam_prob
Impact: low
Show code
total_jam_prob = tonumber(string.format("%.2f", total_jam_prob))

utils_ui.script

L1762 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UICellContainer:RemoveItemManual | can't get game object for [%s]", sec)
L1919 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UICellContainer:FindSimilar | no data recieved!")
L257 🔴 global_write
Global write: stats_table
Impact: low
Show code
stats_table = {}

G.A.M.M.A. Helmets need armor repair kits

1 file (🟢0 🟡0 🔴4 🔵1)

outfit_drop_mcm.script

L39 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( " %s | "..text ,time_global(), ...)
L16 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "outfitdrop",sh=true ,gr={
L93 🔴 global_write
Global write: ValidateDrop
Impact: low
Show code
ValidateDrop = death_manager.validate_drop
L114 🔴 global_write
Global write: ind
Impact: low
Show code
ind = 1
L125 🔴 global_write
Global write: ind
Impact: low
Show code
ind = ind + 1

G.A.M.M.A. Hip quest rewrite

1 file (🟢1 🟡0 🔴10 🔵134)

xr_effects.script

L5484 🟢 repeated_alife
alife called 3x in make_a_wish
Impact: low
Show code
local sim = alife()
L216 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: spawn_item_at_pos | unable to spawn [%s]", p[1])
L219 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: spawn_item_at_pos | no info found for item [%s]", p[1])
L270 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('set_task_stage: arguments incorrect: %s %s',p[1],p[2])
L272 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('set_task_stage: no arguments')
L299 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR clear_se_var | missing vars: [%s] [%s]", p[1], p[2])
L306 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~se_clear_all_match_var | found match %s = %s in (%s)", varname, val, id)
L387 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: unable to spawn strelok_notes" )
L409 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: unable to spawn wpn_gauss_quest" )
L441 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: unable to spawn x8_documents" )
L449 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: unable to spawn monolith_shard" )
L502 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: unable to spawn stitch_decoder" )
L537 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: unable to spawn contact_lost_pda" )
L580 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad with id[%s]", tostring(story_id))
L638 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: unable to spawn jupiter_documents" )
L752 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL task count: " .. load_var( db.actor, "drx_sl_current_task_number", 1 )) )
L775 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL current storyline task: " .. honcho_task_id) )
L779 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL no meet honcho tasks available for " .. next_honcho .. " !!") )
L801 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: Actor faction changed to " .. p[1]) )
L830 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR drx_sl_setup_questlines | no faction defined")
L842 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "DRX SL no available game start honchos !!" )
L864 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL current storyline task: " .. honcho_start_id) )
L869 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "DRX questlines are successfuly set for [%s] faction", faction )
L871 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL no start game tasks available for " .. start_game_honcho .. " !!") )
L930 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL current storyline task: " .. wish_granter_task) )
L1188 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL task ended: " .. p[1]) )
L1202 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " unregistered (" .. giver_task_count .. " outstanding)") )
L1227 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_hostage_giver_" .. giver_id .. " unregistered") )
L1249 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "DRX SL: player failed last storyline task, decrementing drx_sl_current_task_number" )
L1250 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL task count: " .. task_count) )
L1320 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR %s | no community could be gathered")
L1444 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR reward_item | section [%s] doesn't exist", section)
L1553 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ %s | failed to get smart (%s)", p[1], smart_id)
L1845 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("cam_eff:callback1!")
L1850 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("cam_eff:callback2!")
L1855 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("cam_eff:callback3!")
L1869 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("adding complex effector [%s], id [%s], from [%s]", p[1], g_tostring(p[2]), g_tostring(npc:name()))
L1872 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Complex effector section is no set! [%s]", g_tostring(p[1]))
L1879 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("removing complex effector id [%s] from [%s]", tostring(p[1]), tostring(npc:name()))
L1996 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_effects.teleport_actor no patrol path %s exists!",p[1])
L2014 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("teleporting actor from [%s]", tostring(npc:name()))
L2119 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters in 'teleport_npc_by_story_id' function!!!")
L2124 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no story object with id [%s]", story_id)
L2142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad with story id [%s]", p[1])
L2147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters in 'teleport_squad' function!!!")
L2586 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("inc_counter '%s' to value [%s], by [%s]", p[1], tostring(new_value), tostring(npc:name()))
L2601 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "dec_counter [%s] value [%s] by [%s]", p[1], load_var(actor, p[1], 0), tostring(npc:name()))
L2641 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("CLEAR_ABUSE")
L2676 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("function 'turn_off_underpass_lamps' lamp [%s] does not exist", tostring(k))
L2688 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("TURN_OFF. Target object with story_id [%s] does not exist", v)
L2706 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("TURN_ON [%s]. Target object does not exist", npc:name())
L2717 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("TURN_ON_AND_FORCE. Target object does not exist")
L2731 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("TURN_OFF [%s]. Target object does not exist", npc:name())
L2874 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("main_menu on console command is executed")
L2887 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("main_menu on console command is executed")
L2930 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong spawn section for 'spawn_object' function %s. For object %s", g_tostring(spawn_sect), obj:name())
L2935 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong path_name for 'spawn_object' function %s. For object %s", g_tostring(path_name), obj:name())
L2939 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Path %s doesnt exist. Function 'spawn_object' for object %s ", g_tostring(path_name), obj:name())
L2989 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong spawn section for 'spawn_corpse' function %s. For object %s", g_tostring(spawn_sect), obj:name())
L2994 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong path_name for 'spawn_corpse' function %s. For object %s", g_tostring(path_name), obj:name())
L2998 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Path %s doesnt exist. Function 'spawn_corpse' for object %s ", g_tostring(path_name), obj:name())
L3016 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong spawn section for 'spawn_object' function %s. For object %s", g_tostring(spawn_sect), obj:name())
L3019 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong target_name for 'spawn_object_in' function %s. For object %s", g_tostring(target_name), obj:name())
L3024 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_effects.spawn_object_in trying to find object %s", g_tostring(p[2]))
L3030 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_effects.spawn_object_in There is no such object %s", p[2])
L3034 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_effects.spawn_object_in object is nil %s", g_tostring(p[2]))
L3045 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong spawn section for 'spawn_object' function %s. For object %s", g_tostring(spawn_sect), obj:name())
L3049 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong zone_name for 'spawn_object' function %s. For object %s", g_tostring(zone_name), obj:name())
L3052 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Zone %s doesnt exist. Function 'spawn_object' for object %s ", g_tostring(zone_name), obj:name())
L3072 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("destroy_object %s story id doesn't exist!",p[2])
L3160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Stalker [%s][%s] is dead, but you wants to say something for you: [%s]!", tostring(obj:id()), tostring(obj:name()), p[1])
L3360 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong squad identificator [NIL] in create_squad function")
L3365 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong smart name [NIL] in create_squad function")
L3370 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong squad identificator [%s]. Squad descr doesnt exist.", g_tostring(squad_id))
L3376 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong smart_name [%s] for [%s] faction in create_squad function", g_tostring(smart_name), g_tostring(player_name))
L3406 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong squad identificator [NIL] in 'create_squad_member' function")
L3457 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong squad identificator [NIL] in remove_squad function")
L3470 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong squad identificator [NIL] in kill_squad function")
L3498 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong squad identificator [NIL] in heal_squad function")
L3532 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong squad identificator [NIL] in clear_smart_terrain function")
L3556 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong squad identificator [NIL] in clear_smart_terrain function")
L3611 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No parameter in give_task function.")
L3640 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("_bp: xr_effects: actor_friend(): npc='%s': time=%d", npc:name(), time_global())
L3660 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad with id[%s]", tostring(story_id))
L3670 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad with id[%s]", tostring(story_id))
L3681 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad with id[%s]", tostring(story_id))
L3762 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!Wrong parameters in function 'inc_faction_goodwill_to_actor'")
L3803 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters in function 'dec_faction_goodwill_to_actor'")
L3951 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if squad == nil then printf("There is no squad with id[%s]", story_id) end
L4048 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Story id for add map spot function is not set")
L4069 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong story id or name [%s] for map spot function", tostring(story_id))
L4079 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Story id for add map spot function is not set")
L4097 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong story id or name [%s] for map spot function", tostring(story_id))
L4127 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Story id for enable_anomaly function is not set")
L4132 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no object with story_id %s for enable_anomaly function", tostring(p[1]))
L4139 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Story id for disable_anomaly function is not set")
L4144 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no object with story_id %s for disable_anomaly function", tostring(p[1]))
L4151 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Signal rocket name is not set!")
L4156 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such signal rocket: [%s] on level", tostring(p[1]))
L4239 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Couldn't relocate item to NULL")
L4246 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters in function set_squad_enemies")
L4270 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("set_squads_enemies: %d:set_enemy(%d)", npc_obj_1:id(), npc_obj_2:id())
L4295 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if (p and p[1]) == nil then printf("Wrong parameters in function 'set_bloodsucker_state'!!!") end
L4321 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters in function 'remove_item'!!!")
L4347 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("You are trying to use scenario_autosave without save name")
L4364 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Not enough parameters for zat_b29_create_random_infop!")
L4446 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Couldn't relocate item to NULL")
L4472 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if (p and p[1]) == nil then printf("Wrong parameters in function 'clear_box'!!!") end
L4477 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no object with story_id [%s]", tostring(p[1]))
L4526 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("set_game_time: time changed to [%d][%d]", hours_to_change, minutes_to_change)
L4531 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Insufficient or invalid parameters in function 'forward_game_time'!")
L4543 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("forward_game_time: time forwarded on [%d][%d]", hours, minutes)
L4605 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no such object %s", p[1])
L4611 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("object is nil %s", tostring(p[1]))
L4646 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Couldn't relocate item to NULL in function 'pick_artefact_from_anomaly!'")
L4650 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Couldn't relocate item to NULL (dead or not stalker) in function 'pick_artefact_from_anomaly!'")
L4655 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such anomal zone in function 'pick_artefact_from_anomaly!'")
L4659 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No artefacts in anomal zone [%s]", az_name)
L4678 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such artefact [%s] found in anomal zone [%s]", tostring(af_name), az_name)
L4696 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such anomal zone in function 'anomaly_turn_off!'")
L4704 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such anomal zone in function 'anomaly_turn_on!'")
L4811 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such parameters in function 'jup_b221_play_main'")
L4839 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters in function 'jup_b221_play_main'")
L4858 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such theme_to_play in function 'jup_b221_play_main'")
L4866 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such theme_to_play in function 'jup_b221_play_main'")
L5080 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Not enough parameters in 'set_torch_state' function!")
L5156 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong spawn section for 'spawn_object' function %s. For object %s", g_tostring(spawn_sect), obj:name())
L5161 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong path_name for 'spawn_object' function %s. For object %s", g_tostring(path_name), obj:name())
L5165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Path %s doesnt exist. Function 'spawn_object' for object %s ", g_tostring(path_name), obj:name())
L5315 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters in function 'set_monster_animation'!!!")
L5346 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("'force_obj' Target object does not exist")
L5393 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Found no distance or zones in func 'pri_a28_check_zones'")
L5491 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("DEBUG: removing squad %s from the game",squad:name())
L5607 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: set_new_scheme_and_logic: can't find ini %s",ini_filename)
L5823 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("can't find object with story id %s", tostring(p[1]))
L2 🔴 global_write
Global write: blacklisted_maps
Impact: low
Show code
blacklisted_maps = { -- List of maps to skip in scans
L755 🔴 global_write
Global write: task_ltx_file
Impact: low
Show code
task_ltx_file = task_manager.task_ini
L846 🔴 global_write
Global write: honcho_start_ltx_file
Impact: low
Show code
honcho_start_ltx_file = task_manager.task_ini
L2218 🔴 global_write
Global write: npc_id
Impact: low
Show code
npc_id = get_story_object_id(p[2])
L2220 🔴 global_write
Global write: npc_id
Impact: low
Show code
npc_id = npc:id()
L2569 🔴 global_write
Global write: npc_id
Impact: low
Show code
npc_id = get_story_object_id(p[1])
L3028 🔴 global_write
Global write: box
Impact: low
Show code
box = alife_object(target_obj_id)
L4190 🔴 global_write
Global write: cs_text
Impact: low
Show code
cs_text = hud:GetCustomStatic("text_on_screen_center")
L4603 🔴 global_write
Global write: box
Impact: low
Show code
box = alife_object(target_obj_id)
L4745 🔴 global_write
Global write: weight_table
Impact: low
Show code
weight_table = {}

G.A.M.M.A. Icons replacer and fixes

1 file (🟢0 🟡0 🔴3 🔵3)

aaa_rax_icon_override_mcm.script

L22 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "RAX: | %s | "..text ,time_global(), ...)
L367 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | XML_box or XML_temp doesn't exist")
L375 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | section [%s] doesn't exist in system ini", sec)
L18 🔴 global_write
Global write: icon_override
Impact: low
Show code
icon_override = ini_file_ex("icon_override\\icon_override.ltx")
L540 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(a_sec,1)
L555 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(b_sec,1)

G.A.M.M.A. January PDA crash fix

1 file (🟢0 🟡0 🔴1 🔵0)

ui_pda_npc_tab.script

L672 🔴 global_write
Global write: item
Impact: low
Show code
item = pda_message_entry(game.translate_string(title), sender, msg_date, i)

G.A.M.M.A. Keybinds fixes

3 files (🟢1 🟡0 🔴16 🔵5)

bas_nvg_scopes.script

L13 🟢 repeated_weapon_section()
weapon:section() called 4x in zoom_in
Impact: low
Show code
Cache weapon:section() result
L102 🔴 global_write
Global write: scoped
Impact: low
Show code
scoped = wpn:cast_Weapon():IsScopeAttached()

bas_nvg_scopes_mcm.script

L13 🔵 debug_statement
Debug call: print()
Impact: medium
Show code
if (op["gr"][k]["id"] == key ) then print(op["gr"][k]["def"]) end

zz_ui_inventory_better_stats_bars.script

L8 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(error_or_result)
L634 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("UIInventory | can't get cast_CustomOutfit of [%s]", outfit:name())
L679 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("UIInventory | can't get cast_Helmet of [%s]", outfit:name())
L1619 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("hit, sec %s, power %s, type %s, protection %s", s_hit.draftsman and s_hit.draftsman:section(), s_hit.power, s_hit.type, ui_inventory.GUI:GetProtection(stat_to_dmg[s_hit.type]))
L15 🔴 global_write
Global write: alife_time_factor
Impact: low
Show code
alife_time_factor = 6
L16 🔴 global_write
Global write: boosters_table
Impact: low
Show code
boosters_table = {}
L21 🔴 global_write
Global write: food_table
Impact: low
Show code
food_table = {}
L61 🔴 global_write
Global write: ignore_sections
Impact: low
Show code
ignore_sections = { -- Sections to ignore
L263 🔴 global_write
Global write: stat_to_dmg
Impact: low
Show code
stat_to_dmg = {
L289 🔴 global_write
Global write: damage_threshold
Impact: low
Show code
damage_threshold = {
L302 🔴 global_write
Global write: damages
Impact: low
Show code
damages = {}
L303 🔴 global_write
Global write: max_damage
Impact: low
Show code
max_damage = {}
L435 🔴 global_write
Global write: max_damage
Impact: low
Show code
max_damage = t
L508 🔴 global_write
Global write: ui_inventory_init
Impact: low
Show code
ui_inventory_init = ui_inventory.UIInventory.__init
L1342 🔴 global_write
Global write: full_stats_keys
Impact: low
Show code
full_stats_keys = {
L1346 🔴 global_write
Global write: show_full_stats
Impact: low
Show code
show_full_stats = false
L1349 🔴 global_write
Global write: clr_list
Impact: low
Show code
clr_list = {
L1582 🔴 global_write
Global write: show_full_stats
Impact: low
Show code
show_full_stats = true
L1591 🔴 global_write
Global write: show_full_stats
Impact: low
Show code
show_full_stats = false

G.A.M.M.A. Killing Friends Reduces Goodwill

1 file (🟢0 🟡0 🔴6 🔵0)

grok_killing_friends_reduces_goodwill.script

L1 🔴 global_write
Global write: aggressive_npcs
Impact: low
Show code
aggressive_npcs = {}
L59 🔴 global_write
Global write: neutral_npcs
Impact: low
Show code
neutral_npcs = m_data.neutral_npcs
L61 🔴 global_write
Global write: neutral_npcs
Impact: low
Show code
neutral_npcs = {}
L63 🔴 global_write
Global write: nrows
Impact: low
Show code
nrows = 0
L65 🔴 global_write
Global write: nrows
Impact: low
Show code
nrows = nrows + 1
L68 🔴 global_write
Global write: neutral_npcs
Impact: low
Show code
neutral_npcs = {}

G.A.M.M.A. Large Files

3 files (🟢0 🟡2 🔴6 🔵2)

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

weapon_cover_tilt_gun_trigger_radii.script

L6 🔴 global_write
Global write: weapon_trigger_radii
Impact: low
Show code
weapon_trigger_radii = {

G.A.M.M.A. Light Sources Spawner

1 file (🟢0 🟡0 🔴1 🔵0)

bind_light_furniture.script

L19 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string

G.A.M.M.A. MP7 Replacer EFT position

1 file (🟢0 🟡0 🔴3 🔵3)

aaa_rax_icon_override.script

L22 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "RAX: | %s | "..text ,time_global(), ...)
L367 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | XML_box or XML_temp doesn't exist")
L375 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | section [%s] doesn't exist in system ini", sec)
L18 🔴 global_write
Global write: icon_override
Impact: low
Show code
icon_override = ini_file_ex("icon_override\\icon_override.ltx")
L540 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(a_sec,1)
L555 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(b_sec,1)

G.A.M.M.A. Medications Balance

2 files (🟢1 🟡15 🔴29 🔵1)

zzz_player_injuries.script

L819 🟢 repeated_get_hud
get_hud called 4x in HUDUpdate
Impact: low
Show code
local hud = get_hud()
L873 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str.."•"
L877 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str.."•"
L881 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str.."•"
L903 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str.."•"
L907 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str.."•"
L920 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str.."•"
L924 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str.."•"
L935 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str.."•"
L939 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str.."•"
L943 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str.."•"
L949 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str.."•"
L953 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str.."•"
L957 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str.."•"
L962 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str=str.."•"
L965 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str..colors[GetConditionFromFloat(health[array2]/maxhp[array2],array2)]
L683 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! actor got hit in %s, id %s",text, bone_id)
L50 🔴 global_write
Global write: options_vol
Impact: low
Show code
options_vol = ui_options.get("sound/general/master_volume")
L53 🔴 global_write
Global write: volume_sound_x
Impact: low
Show code
volume_sound_x = get_console_cmd(2,"snd_volume_eff")
L79 🔴 global_write
Global write: maxhp
Impact: low
Show code
maxhp={}
L87 🔴 global_write
Global write: health
Impact: low
Show code
health={}
L95 🔴 global_write
Global write: preview
Impact: low
Show code
preview={}
L114 🔴 global_write
Global write: timedhp
Impact: low
Show code
timedhp ={}
L122 🔴 global_write
Global write: hud_blink_timer
Impact: low
Show code
hud_blink_timer={}
L131 🔴 global_write
Global write: medkits
Impact: low
Show code
medkits={}
L151 🔴 global_write
Global write: healhelp
Impact: low
Show code
healhelp={}
L630 🔴 global_write
Global write: rand
Impact: low
Show code
rand = math_random(1,5)
L641 🔴 global_write
Global write: rand
Impact: low
Show code
rand = math_random(1,2)
L650 🔴 global_write
Global write: rand
Impact: low
Show code
rand = math_random(1,100)
L657 🔴 global_write
Global write: rand
Impact: low
Show code
rand = math_random(1,3)
L669 🔴 global_write
Global write: text
Impact: low
Show code
text=hitboxes[bone_id]
L680 🔴 global_write
Global write: text
Impact: low
Show code
text=hitboxes[bone_id]
L1231 🔴 global_write
Global write: cooldown
Impact: low
Show code
cooldown = 2500
L1232 🔴 global_write
Global write: state_cooldown
Impact: low
Show code
state_cooldown = 0
L1293 🔴 global_write
Global write: muffle
Impact: low
Show code
muffle = ""
L1295 🔴 global_write
Global write: muffle
Impact: low
Show code
muffle = ""
L1302 🔴 global_write
Global write: file_to_say
Impact: low
Show code
file_to_say = sound_object( file )
L1307 🔴 global_write
Global write: state_cooldown
Impact: low
Show code
state_cooldown = time_global() + cooldown
L1309 🔴 global_write
Global write: actor_health
Impact: low
Show code
actor_health = db.actor.health
L1310 🔴 global_write
Global write: actor_health_reduced
Impact: low
Show code
actor_health_reduced = actor_health - hit_power
L1417 🔴 global_write
Global write: old_is_actor_not_healthy
Impact: low
Show code
old_is_actor_not_healthy = dialogs.is_actor_not_healthy
L1428 🔴 global_write
Global write: old_is_actor_injured
Impact: low
Show code
old_is_actor_injured = dialogs.is_actor_injured
L1439 🔴 global_write
Global write: old_is_actor_injured_irradiated
Impact: low
Show code
old_is_actor_injured_irradiated = dialogs.is_actor_injured_irradiated
L1472 🔴 global_write
Global write: old_heal_actor_injury_radiation
Impact: low
Show code
old_heal_actor_injury_radiation = dialogs.heal_actor_injury_radiation
L1483 🔴 global_write
Global write: old_heal_actor_injury
Impact: low
Show code
old_heal_actor_injury = dialogs.heal_actor_injury

zzz_player_injuries_mcm.script

L21 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "body_health_system",sh=true ,gr={

G.A.M.M.A. Minimalist HUD

2 files (🟢0 🟡0 🔴21 🔵1)

alticons.script

L10 🔴 global_write
Global write: size_adjust
Impact: low
Show code
size_adjust = 0.75
L12 🔴 global_write
Global write: basethrst
Impact: low
Show code
basethrst = actor_status_thirst.create
L19 🔴 global_write
Global write: basesleep
Impact: low
Show code
basesleep = actor_status_sleep.create
L47 🔴 global_write
Global write: ratio
Impact: low
Show code
ratio = (device().height / device().width) / (768 / 1024)
L57 🔴 global_write
Global write: pos
Impact: low
Show code
pos = self.dialog:GetWndPos()

ui_sidhud_mcm.script

L254 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("SidHUD "..name..tostring(val))
L11 🔴 global_write
Global write: clr_list
Impact: low
Show code
clr_list ={}
L13 🔴 global_write
Global write: clr_list
Impact: low
Show code
clr_list = {
L37 🔴 global_write
Global write: status_hud_x
Impact: low
Show code
status_hud_x = 0
L38 🔴 global_write
Global write: status_hud_y
Impact: low
Show code
status_hud_y = 0
L39 🔴 global_write
Global write: notify_icon_x
Impact: low
Show code
notify_icon_x = 128
L40 🔴 global_write
Global write: notify_icon_y
Impact: low
Show code
notify_icon_y = 700
L44 🔴 global_write
Global write: options
Impact: low
Show code
options = {
L51 🔴 global_write
Global write: path
Impact: low
Show code
path = ui_mcm and "sidhud/" or "video/hud/"
L217 🔴 global_write
Global write: pos
Impact: low
Show code
pos = actor_status.HUD and actor_status.HUD:GetWndPos()
L253 🔴 global_write
Global write: val
Impact: low
Show code
val = axr_main.config:r_value("options", "video/hud/"..name,1)
L278 🔴 global_write
Global write: id_1
Impact: low
Show code
id_1 = 0
L279 🔴 global_write
Global write: id_2
Impact: low
Show code
id_2 = 0
L281 🔴 global_write
Global write: id_1
Impact: low
Show code
if ui_options.options[i].id == "video" then id_1 = i end
L285 🔴 global_write
Global write: id_2
Impact: low
Show code
if (ui_options.options[id_1].gr[i].id == "hud") then id_2 = i end
L293 🔴 global_write
Global write: t
Impact: low
Show code
t = {}
L295 🔴 global_write
Global write: sh_options
Impact: low
Show code
sh_options = { id= "sidhud" ,sh=true ,gr=t}

G.A.M.M.A. Mutant Unstucker Remade

1 file (🟢0 🟡0 🔴15 🔵1)

grok_mutant_unstucker.script

L21 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[Fuji] Teleport: Move Stuck Monster")
L6 🔴 global_write
Global write: unsupported_mutants
Impact: low
Show code
unsupported_mutants={
L69 🔴 global_write
Global write: online_npcs_pos_x
Impact: low
Show code
online_npcs_pos_x = {}
L70 🔴 global_write
Global write: online_npcs_pos_y
Impact: low
Show code
online_npcs_pos_y = {}
L71 🔴 global_write
Global write: online_npcs_pos_z
Impact: low
Show code
online_npcs_pos_z = {}
L72 🔴 global_write
Global write: trigger3
Impact: low
Show code
trigger3 = 0
L73 🔴 global_write
Global write: delay3
Impact: low
Show code
delay3 = 72500
L76 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L79 🔴 global_write
Global write: grok_delay3
Impact: low
Show code
grok_delay3 = tg + delay3
L80 🔴 global_write
Global write: trigger3
Impact: low
Show code
trigger3 = 1
L84 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L99 🔴 global_write
Global write: nrows
Impact: low
Show code
nrows = 0
L101 🔴 global_write
Global write: nrows
Impact: low
Show code
nrows = nrows + 1
L104 🔴 global_write
Global write: online_npcs_pos_x
Impact: low
Show code
online_npcs_pos_x = {}
L105 🔴 global_write
Global write: online_npcs_pos_y
Impact: low
Show code
online_npcs_pos_y = {}
L106 🔴 global_write
Global write: online_npcs_pos_z
Impact: low
Show code
online_npcs_pos_z = {}

G.A.M.M.A. NPC Loot Claim Remade

3 files (🟢0 🟡0 🔴18 🔵6)

grok_loot_claim.script

L26 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("story npc can be looted")
L28 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("npc suicided can be looted")
L30 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("body can be looted")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("body can be looted")
L2 🔴 global_write
Global write: claimed
Impact: low
Show code
claimed = {}
L6 🔴 global_write
Global write: looted
Impact: low
Show code
looted = {}
L50 🔴 global_write
Global write: result
Impact: low
Show code
result = ray:get_result()
L53 🔴 global_write
Global write: obj
Impact: low
Show code
obj = result.object
L56 🔴 global_write
Global write: id
Impact: low
Show code
id = obj:id()
L64 🔴 global_write
Global write: sender
Impact: low
Show code
sender = level.object_by_id(claimed[obj:id()])
L69 🔴 global_write
Global write: dist
Impact: low
Show code
dist = sender:position():distance_to(db.actor:position())
L74 🔴 global_write
Global write: sender_com
Impact: low
Show code
sender_com = character_community(sender)
L98 🔴 global_write
Global write: claimed
Impact: low
Show code
claimed = m_data.claimed
L100 🔴 global_write
Global write: claimed
Impact: low
Show code
claimed = {}
L102 🔴 global_write
Global write: nrows
Impact: low
Show code
nrows = 0
L104 🔴 global_write
Global write: nrows
Impact: low
Show code
nrows = nrows + 1
L107 🔴 global_write
Global write: claimed
Impact: low
Show code
claimed = {}
L111 🔴 global_write
Global write: looted
Impact: low
Show code
looted = m_data.looted
L113 🔴 global_write
Global write: looted
Impact: low
Show code
looted = {}
L115 🔴 global_write
Global write: nrows
Impact: low
Show code
nrows = 0
L117 🔴 global_write
Global write: nrows
Impact: low
Show code
nrows = nrows + 1
L120 🔴 global_write
Global write: looted
Impact: low
Show code
looted = {}

npc_loot_claim.script

L1 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("no loot claim")

zz_npc_loot_claim_softcore.script

L1 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("no demonized loot claim")

G.A.M.M.A. No NPC Friendly Fire

1 file (🟢0 🟡0 🔴2 🔵0)

grok_no_npc_friendly_fire.script

L5 🔴 global_write
Global write: victim_comm
Impact: low
Show code
victim_comm = character_community(npc)
L10 🔴 global_write
Global write: shooter_comm
Impact: low
Show code
shooter_comm = character_community(shit.draftsman)

G.A.M.M.A. No harmonica

2 files (🟢0 🟡0 🔴2 🔵2)

sr_camp.script

L247 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Trying to use destroyed object!")
L267 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong role for npc[%s] with id[%d] in camp [%s]!!!", se_obj and se_obj:name(), npc_id, self.object:name())

xr_campfire_point.script

L12 🔴 global_write
Global write: evaid
Impact: low
Show code
evaid = 17000
L13 🔴 global_write
Global write: actid
Impact: low
Show code
actid = 17000

G.A.M.M.A. Not so instant tooltip

1 file (🟢0 🟡0 🔴1 🔵0)

instant_tooltip.script

L8 🔴 global_write
Global write: delay
Impact: low
Show code
delay = 350 -- change this to adjust delay to all tool tips at once. Make idividual changes below.

G.A.M.M.A. Part Type Fixer

1 file (🟢0 🟡0 🔴0 🔵2)

parts_match_item.script

L54 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("Destroy triggered")
L65 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("Parts Destroyed")

G.A.M.M.A. Press Key to Drop Item

1 file (🟢0 🟡0 🔴13 🔵0)

grok_drop_item_press_key_mcm.script

L35 🔴 global_write
Global write: obj_to_drop
Impact: low
Show code
obj_to_drop = obj
L38 🔴 global_write
Global write: obj_to_drop
Impact: low
Show code
obj_to_drop = nil
L43 🔴 global_write
Global write: obj_to_drop
Impact: low
Show code
obj_to_drop = nil
L53 🔴 global_write
Global write: obj_to_drop
Impact: low
Show code
obj_to_drop = nil
L62 🔴 global_write
Global write: obj_to_drop
Impact: low
Show code
obj_to_drop = nil
L78 🔴 global_write
Global write: obj_to_drop
Impact: low
Show code
obj_to_drop = obj
L81 🔴 global_write
Global write: obj_to_drop
Impact: low
Show code
obj_to_drop = nil
L87 🔴 global_write
Global write: obj_to_drop
Impact: low
Show code
obj_to_drop = nil
L88 🔴 global_write
Global write: register
Impact: low
Show code
register = false
L93 🔴 global_write
Global write: obj_to_drop
Impact: low
Show code
obj_to_drop = nil
L94 🔴 global_write
Global write: register
Impact: low
Show code
register = true
L96 🔴 global_write
Global write: obj_to_drop
Impact: low
Show code
obj_to_drop = nil
L97 🔴 global_write
Global write: register
Impact: low
Show code
register = false

G.A.M.M.A. Psy Fields in the North

1 file (🟢0 🟡0 🔴14 🔵0)

grok_psy_fields_in_the_north.script

L2 🔴 global_write
Global write: psy_extra_levels
Impact: low
Show code
psy_extra_levels = {
L20 🔴 global_write
Global write: psy_immune_factions
Impact: low
Show code
psy_immune_factions = {
L32 🔴 global_write
Global write: psy_damage
Impact: low
Show code
psy_damage = 0
L42 🔴 global_write
Global write: psy_damage
Impact: low
Show code
psy_damage = 1
L48 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L49 🔴 global_write
Global write: delay
Impact: low
Show code
delay = 2000
L50 🔴 global_write
Global write: one_shot
Impact: low
Show code
one_shot = 0
L52 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L55 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + delay
L56 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 1
L60 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L67 🔴 global_write
Global write: one_shot
Impact: low
Show code
one_shot = 2
L70 🔴 global_write
Global write: psi_fx_death
Impact: low
Show code
psi_fx_death = sound_object("grok\\psisfx")
L79 🔴 global_write
Global write: damage
Impact: low
Show code
damage = 999

G.A.M.M.A. Psy rework

1 file (🟢0 🟡0 🔴1 🔵0)

arszi_psy.script

L64 🔴 global_write
Global write: lock_psy_health
Impact: low
Show code
lock_psy_health = false

G.A.M.M.A. Quests Rebalance

5 files (🟢2 🟡0 🔴13 🔵161)

dialogs_lostzone.script

L510 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad with id[%s]", story_id)

tasks_defense.script

L18 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if DEBUG then printf(strformat('!tasks_defense: ' .. frmt, ...)) end
L60 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('loading mdata')
L64 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('new mdata')
L78 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('error: get_random_stalker_chatter returned nil')
L223 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('get_closest_freedom returned nil')
L277 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('not enough time since last check')
L419 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('all_attackers_dead: called without arguments')
L441 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('distance_to_barrier: missing or malformed arguments, must be ("le" or "ge":number)')
L450 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('distance_to_barrier: unknown comparison requested, got %s expected "ge" or "le"', c[1])
L461 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('barrier_defense_first_spawn: missing or unexpected arguments, must be "zombie" or "monolith"')
L486 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('squad commander still doesnt exist?')
L495 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if DEBUG then printf('left %s', count) end
L538 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('barrier_defense_news: first argument must be "start", "end" or "escape"')
L540 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('barrier_defense_news: missing or wrong arguments, must be ([start,end,escape]:[zombie,monolith])')
L480 🔴 global_write
Global write: sq
Impact: low
Show code
sq = SIMBOARD:create_squad(SIMBOARD.smarts_by_names['mil_smart_terrain_4_7'],"barrier_defense_squad")

tasks_dominance.script

L181 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ %s | Faction [%s] is re-added to cache_func table", task_id, params[i])
L186 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | no enemy factions found",task_id)
L212 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | no smarts found for level",task_id, cache_level[task_id])
L257 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | not enough parameters", task_id)
L268 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! %s | reused cache", task_id)
L279 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | status functor parameters are mising!", task_id)
L290 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | status_functor_level is mising!", task_id)
L306 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! %s | no enemy factions found", task_id)
L329 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- %s | %s squads has been found in level (%s)", task_id, size_table(targets), def.level)
L343 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | missing info in setup_dominance_task", task_id)
L350 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | missing cache in setup_dominance_task", task_id)

tasks_pump_station_defense.script

L265 🟢 repeated_alife
alife called 4x in <global>
Impact: low
Show code
local sim = alife()
L275 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if _DEBUG then printf('attackers: %s', M.attackers_to_spawn) end
L303 🔴 global_write
Global write: p
Impact: low
Show code
p = sm.position
L409 🔴 global_write
Global write: pos
Impact: low
Show code
pos = vector():set(sp[1], sp[2], sp[3])

xr_effects.script

L5484 🟢 repeated_alife
alife called 3x in make_a_wish
Impact: low
Show code
local sim = alife()
L216 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: spawn_item_at_pos | unable to spawn [%s]", p[1])
L219 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: spawn_item_at_pos | no info found for item [%s]", p[1])
L270 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('set_task_stage: arguments incorrect: %s %s',p[1],p[2])
L272 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('set_task_stage: no arguments')
L299 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR clear_se_var | missing vars: [%s] [%s]", p[1], p[2])
L306 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~se_clear_all_match_var | found match %s = %s in (%s)", varname, val, id)
L387 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: unable to spawn strelok_notes" )
L409 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: unable to spawn wpn_gauss_quest" )
L441 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: unable to spawn x8_documents" )
L449 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: unable to spawn monolith_shard" )
L502 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: unable to spawn stitch_decoder" )
L537 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: unable to spawn contact_lost_pda" )
L580 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad with id[%s]", tostring(story_id))
L638 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: unable to spawn jupiter_documents" )
L752 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL task count: " .. load_var( db.actor, "drx_sl_current_task_number", 1 )) )
L775 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL current storyline task: " .. honcho_task_id) )
L779 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL no meet honcho tasks available for " .. next_honcho .. " !!") )
L801 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: Actor faction changed to " .. p[1]) )
L830 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR drx_sl_setup_questlines | no faction defined")
L842 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "DRX SL no available game start honchos !!" )
L864 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL current storyline task: " .. honcho_start_id) )
L869 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "DRX questlines are successfuly set for [%s] faction", faction )
L871 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL no start game tasks available for " .. start_game_honcho .. " !!") )
L930 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL current storyline task: " .. wish_granter_task) )
L1188 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL task ended: " .. p[1]) )
L1202 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_task_giver_" .. giver_id .. " unregistered (" .. giver_task_count .. " outstanding)") )
L1227 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL: drx_sl_hostage_giver_" .. giver_id .. " unregistered") )
L1249 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "DRX SL: player failed last storyline task, decrementing drx_sl_current_task_number" )
L1250 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( ("DRX SL task count: " .. task_count) )
L1320 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR %s | no community could be gathered")
L1444 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR reward_item | section [%s] doesn't exist", section)
L1553 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ %s | failed to get smart (%s)", p[1], smart_id)
L1845 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("cam_eff:callback1!")
L1850 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("cam_eff:callback2!")
L1855 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("cam_eff:callback3!")
L1869 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("adding complex effector [%s], id [%s], from [%s]", p[1], g_tostring(p[2]), g_tostring(npc:name()))
L1872 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Complex effector section is no set! [%s]", g_tostring(p[1]))
L1879 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("removing complex effector id [%s] from [%s]", tostring(p[1]), tostring(npc:name()))
L1996 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_effects.teleport_actor no patrol path %s exists!",p[1])
L2014 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("teleporting actor from [%s]", tostring(npc:name()))
L2119 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters in 'teleport_npc_by_story_id' function!!!")
L2124 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no story object with id [%s]", story_id)
L2142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad with story id [%s]", p[1])
L2147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters in 'teleport_squad' function!!!")
L2586 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("inc_counter '%s' to value [%s], by [%s]", p[1], tostring(new_value), tostring(npc:name()))
L2601 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "dec_counter [%s] value [%s] by [%s]", p[1], load_var(actor, p[1], 0), tostring(npc:name()))
L2641 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("CLEAR_ABUSE")
L2676 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("function 'turn_off_underpass_lamps' lamp [%s] does not exist", tostring(k))
L2688 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("TURN_OFF. Target object with story_id [%s] does not exist", v)
L2706 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("TURN_ON [%s]. Target object does not exist", npc:name())
L2717 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("TURN_ON_AND_FORCE. Target object does not exist")
L2731 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("TURN_OFF [%s]. Target object does not exist", npc:name())
L2874 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("main_menu on console command is executed")
L2887 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("main_menu on console command is executed")
L2930 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong spawn section for 'spawn_object' function %s. For object %s", g_tostring(spawn_sect), obj:name())
L2935 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong path_name for 'spawn_object' function %s. For object %s", g_tostring(path_name), obj:name())
L2939 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Path %s doesnt exist. Function 'spawn_object' for object %s ", g_tostring(path_name), obj:name())
L2989 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong spawn section for 'spawn_corpse' function %s. For object %s", g_tostring(spawn_sect), obj:name())
L2994 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong path_name for 'spawn_corpse' function %s. For object %s", g_tostring(path_name), obj:name())
L2998 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Path %s doesnt exist. Function 'spawn_corpse' for object %s ", g_tostring(path_name), obj:name())
L3016 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong spawn section for 'spawn_object' function %s. For object %s", g_tostring(spawn_sect), obj:name())
L3019 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong target_name for 'spawn_object_in' function %s. For object %s", g_tostring(target_name), obj:name())
L3024 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_effects.spawn_object_in trying to find object %s", g_tostring(p[2]))
L3030 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_effects.spawn_object_in There is no such object %s", p[2])
L3034 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_effects.spawn_object_in object is nil %s", g_tostring(p[2]))
L3045 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong spawn section for 'spawn_object' function %s. For object %s", g_tostring(spawn_sect), obj:name())
L3049 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong zone_name for 'spawn_object' function %s. For object %s", g_tostring(zone_name), obj:name())
L3052 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Zone %s doesnt exist. Function 'spawn_object' for object %s ", g_tostring(zone_name), obj:name())
L3072 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("destroy_object %s story id doesn't exist!",p[2])
L3160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Stalker [%s][%s] is dead, but you wants to say something for you: [%s]!", tostring(obj:id()), tostring(obj:name()), p[1])
L3360 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong squad identificator [NIL] in create_squad function")
L3365 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong smart name [NIL] in create_squad function")
L3370 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong squad identificator [%s]. Squad descr doesnt exist.", g_tostring(squad_id))
L3376 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong smart_name [%s] for [%s] faction in create_squad function", g_tostring(smart_name), g_tostring(player_name))
L3406 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong squad identificator [NIL] in 'create_squad_member' function")
L3457 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong squad identificator [NIL] in remove_squad function")
L3470 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong squad identificator [NIL] in kill_squad function")
L3498 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong squad identificator [NIL] in heal_squad function")
L3532 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong squad identificator [NIL] in clear_smart_terrain function")
L3556 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong squad identificator [NIL] in clear_smart_terrain function")
L3611 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No parameter in give_task function.")
L3640 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("_bp: xr_effects: actor_friend(): npc='%s': time=%d", npc:name(), time_global())
L3660 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad with id[%s]", tostring(story_id))
L3670 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad with id[%s]", tostring(story_id))
L3681 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no squad with id[%s]", tostring(story_id))
L3762 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!Wrong parameters in function 'inc_faction_goodwill_to_actor'")
L3803 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters in function 'dec_faction_goodwill_to_actor'")
L3951 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if squad == nil then printf("There is no squad with id[%s]", story_id) end
L4048 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Story id for add map spot function is not set")
L4069 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong story id or name [%s] for map spot function", tostring(story_id))
L4079 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Story id for add map spot function is not set")
L4097 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong story id or name [%s] for map spot function", tostring(story_id))
L4127 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Story id for enable_anomaly function is not set")
L4132 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no object with story_id %s for enable_anomaly function", tostring(p[1]))
L4139 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Story id for disable_anomaly function is not set")
L4144 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no object with story_id %s for disable_anomaly function", tostring(p[1]))
L4151 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Signal rocket name is not set!")
L4156 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such signal rocket: [%s] on level", tostring(p[1]))
L4239 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Couldn't relocate item to NULL")
L4246 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters in function set_squad_enemies")
L4270 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("set_squads_enemies: %d:set_enemy(%d)", npc_obj_1:id(), npc_obj_2:id())
L4295 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if (p and p[1]) == nil then printf("Wrong parameters in function 'set_bloodsucker_state'!!!") end
L4321 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters in function 'remove_item'!!!")
L4347 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("You are trying to use scenario_autosave without save name")
L4364 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Not enough parameters for zat_b29_create_random_infop!")
L4446 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Couldn't relocate item to NULL")
L4472 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if (p and p[1]) == nil then printf("Wrong parameters in function 'clear_box'!!!") end
L4477 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no object with story_id [%s]", tostring(p[1]))
L4526 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("set_game_time: time changed to [%d][%d]", hours_to_change, minutes_to_change)
L4531 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Insufficient or invalid parameters in function 'forward_game_time'!")
L4543 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("forward_game_time: time forwarded on [%d][%d]", hours, minutes)
L4605 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no such object %s", p[1])
L4611 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("object is nil %s", tostring(p[1]))
L4646 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Couldn't relocate item to NULL in function 'pick_artefact_from_anomaly!'")
L4650 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Couldn't relocate item to NULL (dead or not stalker) in function 'pick_artefact_from_anomaly!'")
L4655 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such anomal zone in function 'pick_artefact_from_anomaly!'")
L4659 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No artefacts in anomal zone [%s]", az_name)
L4678 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such artefact [%s] found in anomal zone [%s]", tostring(af_name), az_name)
L4696 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such anomal zone in function 'anomaly_turn_off!'")
L4704 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such anomal zone in function 'anomaly_turn_on!'")
L4811 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such parameters in function 'jup_b221_play_main'")
L4839 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters in function 'jup_b221_play_main'")
L4858 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such theme_to_play in function 'jup_b221_play_main'")
L4866 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such theme_to_play in function 'jup_b221_play_main'")
L5080 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Not enough parameters in 'set_torch_state' function!")
L5156 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong spawn section for 'spawn_object' function %s. For object %s", g_tostring(spawn_sect), obj:name())
L5161 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong path_name for 'spawn_object' function %s. For object %s", g_tostring(path_name), obj:name())
L5165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Path %s doesnt exist. Function 'spawn_object' for object %s ", g_tostring(path_name), obj:name())
L5315 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters in function 'set_monster_animation'!!!")
L5346 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("'force_obj' Target object does not exist")
L5393 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Found no distance or zones in func 'pri_a28_check_zones'")
L5491 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("DEBUG: removing squad %s from the game",squad:name())
L5607 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: set_new_scheme_and_logic: can't find ini %s",ini_filename)
L5823 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("can't find object with story id %s", tostring(p[1]))
L2 🔴 global_write
Global write: blacklisted_maps
Impact: low
Show code
blacklisted_maps = { -- List of maps to skip in scans
L755 🔴 global_write
Global write: task_ltx_file
Impact: low
Show code
task_ltx_file = task_manager.task_ini
L846 🔴 global_write
Global write: honcho_start_ltx_file
Impact: low
Show code
honcho_start_ltx_file = task_manager.task_ini
L2218 🔴 global_write
Global write: npc_id
Impact: low
Show code
npc_id = get_story_object_id(p[2])
L2220 🔴 global_write
Global write: npc_id
Impact: low
Show code
npc_id = npc:id()
L2569 🔴 global_write
Global write: npc_id
Impact: low
Show code
npc_id = get_story_object_id(p[1])
L3028 🔴 global_write
Global write: box
Impact: low
Show code
box = alife_object(target_obj_id)
L4190 🔴 global_write
Global write: cs_text
Impact: low
Show code
cs_text = hud:GetCustomStatic("text_on_screen_center")
L4603 🔴 global_write
Global write: box
Impact: low
Show code
box = alife_object(target_obj_id)
L4745 🔴 global_write
Global write: weight_table
Impact: low
Show code
weight_table = {}

G.A.M.M.A. Quick Action Wheel Balance

1 file (🟢0 🟡0 🔴6 🔵0)

haru_quick_action_wheel_mcm.script

L9 🔴 global_write
Global write: wheel_states
Impact: low
Show code
wheel_states = haru_arm.States
L14 🔴 global_write
Global write: override_quick_keys
Impact: low
Show code
override_quick_keys = {
L27 🔴 global_write
Global write: add_to_qaw_functor
Impact: low
Show code
add_to_qaw_functor = {
L42 🔴 global_write
Global write: tab_categories
Impact: low
Show code
tab_categories = {[2] = "devices", [3] = "attachments", [4] = "food", [5] = "meds", [6] = "grenades", [7] = "ammo", [8] = "slots"}
L93 🔴 global_write
Global write: is_magazine
Impact: low
Show code
is_magazine = magazine_binder and magazine_binder.is_magazine and function(obj)
L97 🔴 global_write
Global write: supports_magazines
Impact: low
Show code
supports_magazines = magazine_binder and magazine_binder.is_supported_weapon and function(obj)

G.A.M.M.A. Radiation Dynamic Areas

1 file (🟢0 🟡0 🔴5 🔵13)

gamma_dynamic_radiation_areas_from_arzsi.script

L318 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("spawn_radiation_fields_at_new_game()")
L338 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("get blacklisted smarts")
L341 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Iterate through smarts")
L348 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Spawn default radiation zone for smart: "..name_of_smart)
L359 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Smart: "..name_of_smart.." is black listed, skip")
L367 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("create_radiation_field: "..anomaly_type.." Radius: "..radius.. " *****************")
L369 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("spawn anomaly")
L373 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("NO ANOMALY WERE SPAWNED")
L379 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "Error: Unable to set dynamic anomaly properties" )
L390 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(se_obj.id)
L391 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Radiation field was spawned succesfully")
L396 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("get_smart_terrains_of_level("..level_name..")")
L414 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("INITIALIZE - dosimeter_volume")
L311 🔴 global_write
Global write: environmental_radiation
Impact: low
Show code
environmental_radiation = 0
L321 🔴 global_write
Global write: run_script
Impact: low
Show code
run_script = 1
L325 🔴 global_write
Global write: run_script
Impact: low
Show code
run_script = 0
L397 🔴 global_write
Global write: smarts_of_level
Impact: low
Show code
smarts_of_level = {}
L400 🔴 global_write
Global write: cvertex
Impact: low
Show code
cvertex = smart and game_graph():vertex(smart.m_game_vertex_id)

G.A.M.M.A. Radiation Effects Overhaul

2 files (🟢0 🟡0 🔴31 🔵0)

AGDD_voiced_actor.script

L61 🔴 global_write
Global write: muffle
Impact: low
Show code
muffle = "" -- initiates muffling condition
L66 🔴 global_write
Global write: muffle
Impact: low
Show code
muffle = ""
L68 🔴 global_write
Global write: muffle
Impact: low
Show code
muffle = ""
L89 🔴 global_write
Global write: combat_inertia
Impact: low
Show code
combat_inertia = 1
L95 🔴 global_write
Global write: combat_inertia
Impact: low
Show code
combat_inertia = time_global() + 10000 --sets the delay of ten seconds to ensure that combat status doesn't drop in case enemies stop targeting the actor for a short time
L157 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = 0 --main value that drives the combat status system
L158 🔴 global_write
Global write: combat_intensity_drain_cooldown
Impact: low
Show code
combat_intensity_drain_cooldown = 0 --auxilary value, prevents combat progression from draining constantly, instead it only drains after nothing combat-related happens for some time
L159 🔴 global_write
Global write: combat_medium_threshold
Impact: low
Show code
combat_medium_threshold = 500 --the threshold at which combat status switches to it's second phase
L160 🔴 global_write
Global write: combat_high_threshold
Impact: low
Show code
combat_high_threshold = 1500 --the threshold at which combat status switches to it's final third phase (combat_intensity value doesn't stop there and can progress even further, but that won't have any changes)
L171 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = combat_intensity + intensity --adds it
L173 🔴 global_write
Global write: combat_intensity_drain_cooldown
Impact: low
Show code
combat_intensity_drain_cooldown = combat_intensity_drain_cooldown + cooldown --adds the cooldown even if we didn't add intensity
L180 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = 1
L204 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = 1
L263 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = combat_intensity - 1
L266 🔴 global_write
Global write: combat_intensity_drain_cooldown
Impact: low
Show code
combat_intensity_drain_cooldown = combat_intensity_drain_cooldown - 2
L269 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = clamp(combat_intensity,0,combat_high_threshold * 2) --keeps combat intensity value in bounds, it shouldn't go into negatives nor overshoot the max cap
L270 🔴 global_write
Global write: combat_intensity_drain_cooldown
Impact: low
Show code
combat_intensity_drain_cooldown = clamp(combat_intensity_drain_cooldown,0,1000) --same thing but for the cooldown

grok_progressive_rad_damages.script

L1 🔴 global_write
Global write: grok_rads
Impact: low
Show code
grok_rads = 0
L11 🔴 global_write
Global write: step
Impact: low
Show code
step = 925
L12 🔴 global_write
Global write: coughing_time
Impact: low
Show code
coughing_time = 0
L13 🔴 global_write
Global write: coughing
Impact: low
Show code
coughing = false
L34 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L40 🔴 global_write
Global write: tg
Impact: low
Show code
tg = nil
L49 🔴 global_write
Global write: probability
Impact: low
Show code
probability = math.ceil(22 / actor_rad)
L50 🔴 global_write
Global write: chance
Impact: low
Show code
chance = math_random(1,probability)
L54 🔴 global_write
Global write: grok_rads
Impact: low
Show code
grok_rads = 1
L55 🔴 global_write
Global write: sound
Impact: low
Show code
sound = sound_object("grok\\cough" .. math_random(1,7))
L59 🔴 global_write
Global write: coughing
Impact: low
Show code
coughing = true
L60 🔴 global_write
Global write: coughing_time
Impact: low
Show code
coughing_time = time_global() + 9000
L62 🔴 global_write
Global write: grok_rads
Impact: low
Show code
grok_rads = 0
L65 🔴 global_write
Global write: coughing
Impact: low
Show code
coughing = false

G.A.M.M.A. Rare Stashes Balance

2 files (🟢0 🟡1 🔴47 🔵10)

simulation_objects.script

L93 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# Loading ini: misc\\smart_profiles.ltx")
L143 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("invalid section for props_ini %s",props_section)
L3 🔴 global_write
Global write: config
Impact: low
Show code
config = ini_file_ex("ai_tweaks\\simulation_objects.ltx")
L31 🔴 global_write
Global write: available_by_id
Impact: low
Show code
available_by_id = {}
L32 🔴 global_write
Global write: object_registry
Impact: low
Show code
object_registry = {}
L33 🔴 global_write
Global write: object_registry_size
Impact: low
Show code
object_registry_size = 0
L34 🔴 global_write
Global write: base_smarts
Impact: low
Show code
base_smarts = {}
L97 🔴 global_write
Global write: object_registry_size
Impact: low
Show code
object_registry_size = object_registry_size + 1
L111 🔴 global_write
Global write: object_registry_size
Impact: low
Show code
object_registry_size = object_registry_size - 1

treasure_manager.script

L760 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. " - " .. itm
L337 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!WARNING treasure_manager.init_settings | item [%s] is missing info | kind: %s - tier: %s", section, kind, tier)
L380 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR create_random_stash | no server object for id (%s)", id)
L763 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(str)
L905 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--------- Create Stash: ")
L907 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("----------------------------------------------------------")
L911 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--------- Items count: ")
L913 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(k .. " := " .. v)
L1033 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Treasure manager | name (%s) saved for rare stash", (str .. name))
L132 🔴 global_write
Global write: ini_treasure
Impact: low
Show code
ini_treasure = ini_file("items\\settings\\grok_treasure_manager.ltx")
L133 🔴 global_write
Global write: ini_treasure_vanilla
Impact: low
Show code
ini_treasure_vanilla = ini_file_ex("items\\settings\\treasure_manager.ltx",true)
L134 🔴 global_write
Global write: ini_tiers
Impact: low
Show code
ini_tiers = ini_file("items\\settings\\grok_items_tier.ltx")
L138 🔴 global_write
Global write: caches
Impact: low
Show code
caches = {}
L167 🔴 global_write
Global write: stash_bonus
Impact: low
Show code
stash_bonus = {}
L276 🔴 global_write
Global write: section
Impact: low
Show code
junk, section, value = "", "", ""
L278 🔴 global_write
Global write: section
Impact: low
Show code
junk, section, value = ini_treasure:r_line("possible_items" , i , "", "")
L345 🔴 global_write
Global write: section
Impact: low
Show code
junk, section, value = "", "", ""
L347 🔴 global_write
Global write: section
Impact: low
Show code
junk, section, value = ini_treasure:r_line("stash_bonus" , i , "", "")
L364 🔴 global_write
Global write: last_secret
Impact: low
Show code
last_secret = nil
L386 🔴 global_write
Global write: last_secret
Impact: low
Show code
last_secret = nil
L393 🔴 global_write
Global write: last_secret
Impact: low
Show code
last_secret = true
L566 🔴 global_write
Global write: random_tier_from_vector
Impact: low
Show code
random_tier_from_vector = random_key_table(map_tier_vector) -- Grok's Stash Overhaul
L567 🔴 global_write
Global write: lvl_tier
Impact: low
Show code
lvl_tier = map_tier_vector[random_tier_from_vector] -- Grok's Stash Overhaul
L603 🔴 global_write
Global write: powder_type_chance
Impact: low
Show code
powder_type_chance = math_random(100)
L604 🔴 global_write
Global write: powder_type
Impact: low
Show code
powder_type = "powder_1"
L606 🔴 global_write
Global write: powder_type
Impact: low
Show code
powder_type = "powder_1"
L608 🔴 global_write
Global write: powder_type
Impact: low
Show code
powder_type = "powder_2"
L610 🔴 global_write
Global write: powder_type
Impact: low
Show code
powder_type = "powder_3"
L617 🔴 global_write
Global write: bullet_type_tbl
Impact: low
Show code
bullet_type_tbl = {
L636 🔴 global_write
Global write: bullet_type
Impact: low
Show code
bullet_type = bullet_type_tbl[math_random(#bullet_type_tbl)]
L641 🔴 global_write
Global write: casing_type_tbl
Impact: low
Show code
casing_type_tbl = {
L648 🔴 global_write
Global write: casing_type
Impact: low
Show code
casing_type = casing_type_tbl[math_random(#casing_type_tbl)]
L662 🔴 global_write
Global write: tools_random_tier_from_vector
Impact: low
Show code
tools_random_tier_from_vector = random_key_table(tools_map_tier_vector)
L663 🔴 global_write
Global write: tools_lvl_tier
Impact: low
Show code
tools_lvl_tier = tools_map_tier_vector[tools_random_tier_from_vector]
L666 🔴 global_write
Global write: tool_table
Impact: low
Show code
tool_table = {
L670 🔴 global_write
Global write: tool_type
Impact: low
Show code
tool_type = tool_table[math_random(#tool_table)]
L675 🔴 global_write
Global write: tool_table
Impact: low
Show code
tool_table = {
L681 🔴 global_write
Global write: tool_type
Impact: low
Show code
tool_type = tool_table[math_random(#tool_table)]
L689 🔴 global_write
Global write: tool_table
Impact: low
Show code
tool_table = {
L702 🔴 global_write
Global write: tool_type
Impact: low
Show code
tool_type = tool_table[math_random(#tool_table)]
L711 🔴 global_write
Global write: tool_type
Impact: low
Show code
tool_type = "itm_basickit"
L721 🔴 global_write
Global write: tool_type
Impact: low
Show code
tool_type = "itm_advancedkit"
L728 🔴 global_write
Global write: tool_type
Impact: low
Show code
tool_type = "itm_basickit"
L734 🔴 global_write
Global write: tool_type
Impact: low
Show code
tool_type = "itm_expertkit"
L738 🔴 global_write
Global write: tool_type
Impact: low
Show code
tool_type = "itm_basickit"
L742 🔴 global_write
Global write: tool_type
Impact: low
Show code
tool_type = "itm_advancedkit"
L746 🔴 global_write
Global write: tool_type
Impact: low
Show code
tool_type = "itm_expertkit"
L749 🔴 global_write
Global write: tool_type
Impact: low
Show code
tool_type = "itm_expertkit"
L997 🔴 global_write
Global write: caches
Impact: low
Show code
caches = data.treasure_manager.caches or caches

G.A.M.M.A. Reliable Animation Settings

4 files (🟢1 🟡0 🔴41 🔵16)

enhanced_animations.script

L132 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if ea_debug then printf("speed is = "..speed) end
L177 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if ea_debug then printf("update = "..failure_timer) end
L182 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("hide weapons for anim failed")
L183 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(used_item or (used_monster and used_monster:section()) or "anim find ERROR")
L184 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(anim_section or "NO ANIM SECTION FOUND")
L234 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("hud section is %s", hud)
L239 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("hud section %s is exo but no animation %s, revert back", hud, item)
L242 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("hud section %s is exo and found animation %s", hud, item)
L245 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("hud section %s is not exo", hud)
L30 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = true
L31 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = false
L35 🔴 global_write
Global write: used_item
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: ea_flag
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: fake_monster
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: det_active
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: anim_section
Impact: low
Show code
used_item,ea_flag,fake_monster,det_active,anim_section = nil
L53 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = not enable_animations
L59 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_mcm.get("EA_settings/enable_animations")
L60 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = false --ui_mcm.get("EA_settings/mutant_loot")
L63 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = false
L67 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = false --ini_eff:r_bool_ex("anim_settings", "mutant_loot_mod")
L68 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_options.get("video/player/animations")
L103 🔴 global_write
Global write: used_item
Impact: low
Show code
used_item = item
L105 🔴 global_write
Global write: anim_section
Impact: low
Show code
anim_section = ini_eff:r_string_ex(item, "anm")
L145 🔴 global_write
Global write: tmr
Impact: low
Show code
tmr = ini_eff:r_float_ex(used_item, "tm")
L163 🔴 global_write
Global write: tmr
Impact: low
Show code
tmr = ini_eff:r_float_ex("item_ea_harv_wpn_knife", "anim_length")
L199 🔴 global_write
Global write: anim_section
Impact: low
Show code
anim_section = nil
L315 🔴 global_write
Global write: used_item
Impact: low
Show code
used_item = nil
L326 🔴 global_write
Global write: fake_monster
Impact: low
Show code
fake_monster = used_monster
L328 🔴 global_write
Global write: ea_flag
Impact: low
Show code
ea_flag = true
L330 🔴 global_write
Global write: ea_flag
Impact: low
Show code
ea_flag = nil
L332 🔴 global_write
Global write: fake_monster
Impact: low
Show code
fake_monster = nil
L359 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = db.actor:active_detector() or nil

enhanced_animations_mcm.script

L3 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "EA_settings" ,sh=true ,gr={

take_item_anim.script

L38 🟢 repeated_item_section()
item:section() called 2x in actor_on_item_take
Impact: low
Show code
Cache item:section() result
L25 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_options.get("video/player/animations")
L26 🔴 global_write
Global write: default_dist
Impact: low
Show code
default_dist = 0.12
L32 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = db.actor:active_slot()
L42 🔴 global_write
Global write: anim_used
Impact: low
Show code
anim_used = true
L66 🔴 global_write
Global write: anim_used
Impact: low
Show code
anim_used = false

zzz_ea_addon_backpack.script

L57 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("force found")
L87 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("inventory close")
L92 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("item was used before closing backpack")
L100 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("called backpack close anim")
L111 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("item_skiped")
L115 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(item)
L157 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("crouching = "..bool_to_int[crouching])
L40 🔴 global_write
Global write: item_use_flag
Impact: low
Show code
item_use_flag = nil
L96 🔴 global_write
Global write: item_use_flag
Impact: low
Show code
item_use_flag = nil
L109 🔴 global_write
Global write: item_use_flag
Impact: low
Show code
item_use_flag = true
L130 🔴 global_write
Global write: item_use_flag
Impact: low
Show code
item_use_flag = nil
L163 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = db.actor:active_detector() or nil
L165 🔴 global_write
Global write: backpack_faction
Impact: low
Show code
backpack_faction = character_community(db.actor):sub(7)
L182 🔴 global_write
Global write: idle
Impact: low
Show code
idle = "item_ea_backpack_open_" .. backpack_faction .. "_" .. "hud"
L185 🔴 global_write
Global write: ea_invent_flag
Impact: low
Show code
ea_invent_flag = true
L207 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = nil
L224 🔴 global_write
Global write: ea_invent_flag
Impact: low
Show code
ea_invent_flag = nil
L230 🔴 global_write
Global write: item_use_flag
Impact: low
Show code
if item:section() ~= "items_anm_dummy" then item_use_flag = true end

G.A.M.M.A. Rostok Mutant Arena Remover

1 file (🟢0 🟡0 🔴2 🔵2)

z_ph_door_bar_arena_remover.script

L52 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[z_ph_door_bar_arena_remover] Initialization...")
L55 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[z_ph_door_bar_arena_remover] Object released: %s %s", id, alife_object(id):name())
L8 🔴 global_write
Global write: try_to_open_door
Impact: low
Show code
try_to_open_door = ph_door.try_to_open_door
L24 🔴 global_write
Global write: try_to_close_door
Impact: low
Show code
try_to_close_door = ph_door.try_to_close_door

G.A.M.M.A. Scopes radius fixes

1 file (🟢0 🟡0 🔴1 🔵0)

scopeRadii.script

L4 🔴 global_write
Global write: scopeRadii
Impact: low
Show code
scopeRadii = {

G.A.M.M.A. Short Psi Storms

1 file (🟢0 🟡0 🔴2 🔵0)

psi_storm_manager.script

L19 🔴 global_write
Global write: PsiStormManager
Impact: low
Show code
PsiStormManager = nil
L21 🔴 global_write
Global write: PsiStormManager
Impact: low
Show code
PsiStormManager = PsiStormManager or CPsiStormManager()

G.A.M.M.A. Sin and Mutants are Allies

1 file (🟢0 🟡0 🔴5 🔵0)

grok_sin_allied_to_mutants.script

L44 🔴 global_write
Global write: void_pact
Impact: low
Show code
void_pact = mdata.grok_sin_allied_to_mutants
L46 🔴 global_write
Global write: void_pact
Impact: low
Show code
void_pact = {}
L49 🔴 global_write
Global write: nrows
Impact: low
Show code
nrows = 0
L51 🔴 global_write
Global write: nrows
Impact: low
Show code
nrows = nrows + 1
L54 🔴 global_write
Global write: void_pact
Impact: low
Show code
void_pact = {}

G.A.M.M.A. Skill System Balance

1 file (🟢1 🟡0 🔴10 🔵2)

haru_skills.script

L345 🟢 repeated_item_section()
item:section() called 8x in scavanger_effect
Impact: low
Show code
Cache item:section() result
L205 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("<HARU> | %s | " .. msg, time_global(), ...)
L446 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Could not exec function %s", str)
L1 🔴 global_write
Global write: skills_ini
Impact: low
Show code
skills_ini = ini_file_ex("plugins\\skills\\skills_base.ltx")
L2 🔴 global_write
Global write: skills_levels
Impact: low
Show code
skills_levels = {}
L3 🔴 global_write
Global write: skills_stats
Impact: low
Show code
skills_stats = {}
L4 🔴 global_write
Global write: skills_increments
Impact: low
Show code
skills_increments = {}
L5 🔴 global_write
Global write: options
Impact: low
Show code
options = {}
L194 🔴 global_write
Global write: rare_armors
Impact: low
Show code
rare_armors = {
L327 🔴 global_write
Global write: CreateReleaseItem
Impact: low
Show code
CreateReleaseItem = death_manager.create_release_item
L367 🔴 global_write
Global write: armor_spawn_chance
Impact: low
Show code
armor_spawn_chance = math.random(1,100)
L374 🔴 global_write
Global write: helm_spawn_chance
Impact: low
Show code
helm_spawn_chance = math.random(1,100)
L456 🔴 global_write
Global write: skills_levels
Impact: low
Show code
skills_levels = m_data.skills_levels or {}

G.A.M.M.A. Sleep Balance

2 files (🟢0 🟡0 🔴0 🔵2)

actor_status_sleep.script

L97 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("You are really tired")

actor_status_thirst.script

L86 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("You are really thirsty")

G.A.M.M.A. Snipers Remover

1 file (🟢0 🟡0 🔴6 🔵2)

grok_sniper_remover.script

L59 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("// Looking for snipers to delete...")
L77 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("// Deleted a problematic sniper NPC")
L40 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L41 🔴 global_write
Global write: delay
Impact: low
Show code
delay = 80000
L44 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L47 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + delay
L48 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 1
L52 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0

G.A.M.M.A. Starter items are not broken

1 file (🟢2 🟡0 🔴9 🔵20)

itms_manager.script

L716 🟢 repeated_wpn_section()
wpn:section() called 3x in new_game_equippment
Impact: low
Show code
Cache wpn:section() result
L1310 🟢 repeated_alife
alife called 3x in Create_Item
Impact: low
Show code
local sim = alife()
L78 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR item_combination | wrong section names")
L708 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Autosaved new game")
L1011 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: relocate_item_to_actor | object for section [%s] is bugged!", section)
L1066 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: Couldn't relocate_item_from_actor | not enough item [%s] recolated! need %s more", section, cnt)
L1098 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR itms_manager | play_item_sound | no object recieved!")
L1171 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("* ItemProcessor | processing condition | id: %s - con: %s", id, con)
L1181 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# ItemProcessor | processing condition done | id: %s - con: %s", id, new_con)
L1200 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("* ItemProcessor | processing uses | id: %s - uses: %s", id, uses)
L1209 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# ItemProcessor | processing uses done | id: %s - con: %s", id, uses)
L1228 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("* ItemProcessor | processing ammo | id: %s - ammo: %s", id, ammo)
L1237 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# ItemProcessor | processing ammo done | id: %s - con: %s", id, new_con)
L1286 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ItemProcessor | Missing spawn properties for [%s] | Spawn type: %s | pos: %s, lvi: %s, gvi: %s", section, spawn_typ, pos , lvi , gvi)
L1320 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ alife_create [%s] (%s) x%s ammo %s", section, se_ammo and se_ammo.id, num_in_box, spawn_typ)
L1329 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ alife_create [%s] (%s) x%s ammo %s", section, se_ammo and se_ammo.id, num, spawn_typ)
L1344 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ alife_create [%s] (%s) on %s", section, se_itm and se_itm.id, spawn_typ)
L1348 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ItemProcessor | Missing spawn owner for [%s]!", section)
L1387 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR [%s] is not spawned by ItemProcessor",section)
L1391 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ItemProcessor | section [%s] doesn't exist!", section)
L1395 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ ItemProcessor | nothing is passed to process!")
L1430 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s ItemProcessor | %s: (%s) [%s] - owner: (%s) [%s]", mark, str, id, obj and obj:section(), p and p:id() or "-", p and p:section())
L27 🔴 global_write
Global write: ini_manager
Impact: low
Show code
ini_manager = ini_file("items\\settings\\itms_manager.ltx")
L28 🔴 global_write
Global write: ini_container
Impact: low
Show code
ini_container = ini_file("items\\settings\\arty_container.ltx")
L29 🔴 global_write
Global write: ini_parts
Impact: low
Show code
ini_parts = ini_file("items\\settings\\parts.ltx")
L30 🔴 global_write
Global write: ini_craft
Impact: low
Show code
ini_craft = ini_file("items\\settings\\craft.ltx")
L31 🔴 global_write
Global write: ini_death
Impact: low
Show code
ini_death = ini_file("items\\settings\\death_generic.ltx")
L32 🔴 global_write
Global write: ini_reward
Impact: low
Show code
ini_reward = ini_file("items\\settings\\item_rewards.ltx")
L40 🔴 global_write
Global write: itms_arty_container
Impact: low
Show code
itms_arty_container = utils_data.collect_section(ini_container,"containers",true) or {}
L51 🔴 global_write
Global write: item_rewards
Impact: low
Show code
item_rewards = {}
L66 🔴 global_write
Global write: item_combine
Impact: low
Show code
item_combine = {}

G.A.M.M.A. Starting Loadouts

2 files (🟢1 🟡0 🔴6 🔵2)

grok_remove_knife_ammo_on_start.script

L17 🔴 global_write
Global write: obj
Impact: low
Show code
obj = db.actor:object(k)
L34 🔴 global_write
Global write: obj
Impact: low
Show code
obj = db.actor:object(k)

zz_glowstick_mcm.script

L62 🟢 repeated_det_section()
det:section() called 4x in actor_on_update
Impact: low
Show code
Cache det:section() result
L146 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Couldn't spawn Glowstick!")
L153 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Couldn't get Glowstick data!")
L588 🔴 global_write
Global write: options
Impact: low
Show code
options =
L671 🔴 global_write
Global write: base_get_light_flicker
Impact: low
Show code
base_get_light_flicker = level_environment.get_light_flicker()
L954 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update
L961 🔴 global_write
Global write: SpawnCosmetics
Impact: low
Show code
SpawnCosmetics = death_manager.spawn_cosmetics

G.A.M.M.A. Stealth Crash Fix

1 file (🟢1 🟡0 🔴0 🔵18)

visual_memory_manager.script

L240 🟢 repeated_outfit_section()
outfit:section() called 3x in slot_in_out
Impact: low
Show code
Cache outfit:section() result
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('---------------------------------------------------------------')
L168 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Weather is: " .. (wthrs))
L169 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1. Luminocity ---------- %s", Luminocity)
L170 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1.a) luminocity --------- %s", luminocity)
L171 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1.b) lights_lum() ------- %s", lights_lum())
L172 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1.c) who:get_lum() ---- %s", who:get_luminocity())
L173 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("2. Velocity ------------- %s", Velocity)
L174 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("3. dist_original --------- %s", distance)
L175 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("4. weight&outfit ------- %s", weight)
L176 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("5. crouch ------------- %s", crouch)
L177 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.a) shot_mult --------- %s", shot_mult)
L178 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.b) danger ------------ %s", danger_mult)
L179 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.c) camo ------------- %s", camo_x)
L180 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.d) ai scheme --------- %s", scheme_mult)
L181 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.e) get_camo_k ------ %s", get_camo_k)
L182 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.f) jacketmult --------- %s", jacketmult)
L183 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("7. memory ------------- %s", memory_factor)
L184 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("8. Step incr --- %s", step_incr)

G.A.M.M.A. Tutorials

6 files (🟢0 🟡0 🔴7 🔵1)

npe_gamma_tutorial_ammo_mcm.script

L59 🔴 global_write
Global write: wpn
Impact: low
Show code
wpn = level.object_by_id(shit.weapon_id)
L128 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = deck.id, sh = true, text = deck.mcm_menu_name, gr = npe_mcm.get_module_menu(deck) }

npe_gamma_tutorial_artefact_mcm.script

L120 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = deck.id, sh = true, text = deck.mcm_menu_name, gr = npe_mcm.get_module_menu(deck) }

npe_gamma_tutorial_heal_mcm.script

L128 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = deck.id, sh = true, text = deck.mcm_menu_name, gr = npe_mcm.get_module_menu(deck) }

npe_gamma_tutorial_repair_mcm.script

L90 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("BROKEN_ARMOR_FOUND")
L198 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = deck.id, sh = true, text = deck.mcm_menu_name, gr = npe_mcm.get_module_menu(deck) }

npe_gamma_tutorial_task_mcm.script

L89 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = deck.id, sh = true, text = deck.mcm_menu_name, gr = npe_mcm.get_module_menu(deck) }

npe_gamma_tutorial_vehicle_mcm.script

L100 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = deck.id, sh = true, text = deck.mcm_menu_name, gr = npe_mcm.get_module_menu(deck) }

G.A.M.M.A. UI

7 files (🟢2 🟡1 🔴38 🔵40)

a_faction_prices.script

L15 🔴 global_write
Global write: GetCost
Impact: low
Show code
GetCost = utils_item.get_item_cost
L16 🔴 global_write
Global write: get_trader_community
Impact: low
Show code
get_trader_community = faction_stocks.get_trader_community
L18 🔴 global_write
Global write: multiplier
Impact: low
Show code
multiplier = 1
L19 🔴 global_write
Global write: supply_level
Impact: low
Show code
supply_level = nil
L47 🔴 global_write
Global write: multiplier
Impact: low
Show code
multiplier = 1 -- reset the multiplier

alticons.script

L10 🔴 global_write
Global write: size_adjust
Impact: low
Show code
size_adjust = 0.75
L12 🔴 global_write
Global write: basethrst
Impact: low
Show code
basethrst = actor_status_thirst.create
L19 🔴 global_write
Global write: basesleep
Impact: low
Show code
basesleep = actor_status_sleep.create
L47 🔴 global_write
Global write: ratio
Impact: low
Show code
ratio = (device().height / device().width) / (768 / 1024)
L54 🔴 global_write
Global write: pos
Impact: low
Show code
pos = self.dialog:GetWndPos()

axr_companions.script

L251 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! axr_companions | cleared old data: %s", "companion_"..c_idx)
L354 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("ERROR: do not have access to scripts\\beh_companion.ltx! Make sure you installed properly!")
L473 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Companions | Can't play the effect when it's being played aleady")
L490 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Companions | squad can't be added cause it doesn't exist?!")
L495 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Companions | squad (%s) is already companion squad", squad.id)
L520 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Companions | squad can't be dismissed cause it doesn't exist?!")
L525 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Companions | squad (%s) can't be dismissed cause it's not a companion squad", squad.id)
L539 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Companions | squad can't be released cause it doesn't exist?!")
L623 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_companion | can't find story squad [%s]", p[1])
L630 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_giver_companion | can't set up task giver as companion because task is not declared")
L637 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_giver_companion | task [%s] is not active", p[1])
L643 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_giver_companion | task giver id not found for task [%s]", p[1])
L650 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_giver_companion | can't find task giver object (%s) for task [%s]", id, p[1])
L659 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_giver_companion | can't set up task giver as companion because task is not declared")
L666 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_giver_companion | task [%s] is not active", p[1])
L672 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_giver_companion | task giver id not found for task [%s]", p[1])
L679 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_task_giver_companion | can't find task giver object (%s) for task [%s]", id, p[1])
L690 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_speaker_companion | actor is not talking")
L698 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_speaker_companion | speaker id not found for task [%s]", task_id)
L704 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR add_speaker_companion | can't find speaker object (%s) for task [%s]", id, task_id)
L714 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- %s | saved companion id (%s)", task_id, id)
L732 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR dismiss_speaker_companion | speaker squad id not found for task [%s]", task_id)
L774 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! setup_companion_task: no smart found! %s", smart_id or smrt_name)
L779 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! setup_companion_task: Trying to setup companion squad with a non-existent section!")
L1261 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR axr_companions.get_inventory_table | no npc object recieved")
L1340 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe('ERROR axr_companions.trasnfer_item | no object recieved | item: %s - npc_from: %s - npc_to: %s', (item and true), (npc_from and true), (npc_to and true))
L1364 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('~ axr_companions.trasnfer_item | item [%s] is not assigned to companion [%s] | assigned companion: %s - assigned item: %s', item:name(), npc_from:name(), is_assigned_companion(npc_from), is_assigned_item(id_from,item_id))
L1400 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('! is_assigned_item: one or more arguments nil: %s %s',npc_id, item_id)
L1502 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('! is_assigned_companion: id is nil: %s %s',npc_id)
L20 🔴 global_write
Global write: allow_only_friends_as_companions
Impact: low
Show code
allow_only_friends_as_companions = true
L21 🔴 global_write
Global write: allow_simulation_squads_as_companions
Impact: low
Show code
allow_simulation_squads_as_companions = false
L22 🔴 global_write
Global write: max_actor_squad_size
Impact: low
Show code
max_actor_squad_size = 0 -- used only for non task companions
L25 🔴 global_write
Global write: companion_squads
Impact: low
Show code
companion_squads = {}
L26 🔴 global_write
Global write: non_task_companions
Impact: low
Show code
non_task_companions = {}
L148 🔴 global_write
Global write: non_task_companions
Impact: low
Show code
non_task_companions = m_data.non_task_companions or non_task_companions
L151 🔴 global_write
Global write: companion_squads
Impact: low
Show code
companion_squads = m_data.companion_squads or companion_squads
L168 🔴 global_write
Global write: st
Impact: low
Show code
st = db.storage[k.id]
L231 🔴 global_write
Global write: max_actor_squad_size
Impact: low
Show code
max_actor_squad_size = ini:r_float_ex("main","max_actor_squad_size_patriarch") or 4
L261 🔴 global_write
Global write: Enabled
Impact: low
Show code
Enabled = ini:r_bool_ex("main","enable",false)
L284 🔴 global_write
Global write: allow_only_friends_as_companions
Impact: low
Show code
allow_only_friends_as_companions = ini:r_bool_ex("main","allow_only_friends_as_companions",false)
L285 🔴 global_write
Global write: allow_simulation_squads_as_companions
Impact: low
Show code
allow_simulation_squads_as_companions = ini:r_bool_ex("main","allow_simulation_squads_as_companions",false)
L286 🔴 global_write
Global write: max_actor_squad_size
Impact: low
Show code
max_actor_squad_size = ini:r_float_ex("main","max_actor_squad_size") or 2
L1045 🔴 global_write
Global write: st
Impact: low
Show code
st = db.storage[k.id]
L1234 🔴 global_write
Global write: st
Impact: low
Show code
st = db.storage[k.id]
L1809 🔴 global_write
Global write: pass
Impact: low
Show code
pass = false

item_cooking.script

L200 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. " " .. ui_item.get_sec_name(sec) .. ","
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR item_cooking | no game object passed!")
L299 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = self.ini:r_line_ex("fuel",i,"","")
L299 🔴 global_write
Global write: id
Impact: low
Show code
result, id, value = self.ini:r_line_ex("fuel",i,"","")
L299 🔴 global_write
Global write: value
Impact: low
Show code
result, id, value = self.ini:r_line_ex("fuel",i,"","")
L308 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = self.ini:r_line_ex("meal_list",i,"","")
L308 🔴 global_write
Global write: id
Impact: low
Show code
result, id, value = self.ini:r_line_ex("meal_list",i,"","")
L308 🔴 global_write
Global write: value
Impact: low
Show code
result, id, value = self.ini:r_line_ex("meal_list",i,"","")
L310 🔴 global_write
Global write: id
Impact: low
Show code
id = string.sub(id,3)

ui_inventory.script

L807 🟢 table_insert_append
table.insert(context_params, v) -> context_params[#context_params+1] = v
Impact: high
Show code
table.insert(context_params, {id, bag, g_unpack(func_action)})
L3282 🟢 repeated_obj_from_section()
obj_from:section() called 3x in On_CC_DragDrop
Impact: low
Show code
Cache obj_from:section() result
L712 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR Can't get item game object!")
L893 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIInventory:Name_Custom | can't find function (%s) for %s in section [%s]", str[1] .. str[2], "use" .. i .. "_functor", sec)
L1271 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIInventory:Action_Custom | can't find function (%s) for %s in section [%s]", str[1] .. str[2], "use" .. i .. "_action_functor", sec)
L1703 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("UIInventory | can't get cast_CustomOutfit of [%s]", outfit:name())
L1736 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("UIInventory | can't get cast_Helmet of [%s]", outfit:name())
L17 🔴 global_write
Global write: display_supply_level
Impact: low
Show code
display_supply_level = true
L3304 🔴 global_write
Global write: quick_item
Impact: low
Show code
quick_item = exec_console_cmd("slot_" .. (idx_to - 1) .. " " .. obj_from:section())

ui_options.script

L59 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L1054 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Changed player name from (%s) to (%s)", curr_name, new_name)
L1242 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!Found nil option value [%s]", id)
L68 🔴 global_write
Global write: options
Impact: low
Show code
options = {}
L83 🔴 global_write
Global write: options
Impact: low
Show code
options = {

utils_ui.script

L1663 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UICellContainer:RemoveItemManual | can't get game object for [%s]", sec)
L1820 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UICellContainer:FindSimilar | no data recieved!")
L257 🔴 global_write
Global write: stats_table
Impact: low
Show code
stats_table = {}

G.A.M.M.A. Unjam Reload on the same key

1 file (🟢1 🟡0 🔴19 🔵1)

arti_jamming.script

L323 🟢 repeated_gun_section()
gun:section() called 5x in actor_on_update
Impact: low
Show code
Cache gun:section() result
L51 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("arti_jamming | %s | " .. txt, time_global(), ...)
L2 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L3 🔴 global_write
Global write: math_random
Impact: low
Show code
math_random = math.random
L4 🔴 global_write
Global write: math_floor
Impact: low
Show code
math_floor = math.floor
L36 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = a_arti_jamming_mcm.get_config
L38 🔴 global_write
Global write: d_flag
Impact: low
Show code
d_flag = false
L157 🔴 global_write
Global write: n
Impact: low
Show code
n = floor(max(n or 1, 1))
L162 🔴 global_write
Global write: n
Impact: low
Show code
n = n - 1
L181 🔴 global_write
Global write: anim_playing
Impact: low
Show code
anim_playing = true
L195 🔴 global_write
Global write: snd_obj
Impact: low
Show code
snd_obj = sound_object(_sound[1])
L232 🔴 global_write
Global write: anim_playing
Impact: low
Show code
anim_playing = false
L238 🔴 global_write
Global write: unjam_motion_mark
Impact: low
Show code
unjam_motion_mark = false
L256 🔴 global_write
Global write: anim_playing
Impact: low
Show code
anim_playing = false
L257 🔴 global_write
Global write: unjam_motion_mark
Impact: low
Show code
unjam_motion_mark = false
L272 🔴 global_write
Global write: unjam_motion_mark
Impact: low
Show code
unjam_motion_mark = true
L469 🔴 global_write
Global write: silencer_status
Impact: low
Show code
silencer_status = wpn:weapon_is_silencer() and 1 or SYS_GetParam(2, wpn:section(), "silencer_status") == 1 and 1 or 0
L470 🔴 global_write
Global write: misfire_prob
Impact: low
Show code
misfire_prob = SYS_GetParam(2, wpn:section(), "misfire_start_prob") or 0
L471 🔴 global_write
Global write: silencer_jam_chance
Impact: low
Show code
silencer_jam_chance = misfire_prob < 0.002 and 1 * silencer_status or misfire_prob * 330 * silencer_status
L956 🔴 global_write
Global write: d_flag
Impact: low
Show code
d_flag = false
L962 🔴 global_write
Global write: d_flag
Impact: low
Show code
d_flag = true

G.A.M.M.A. Vehicles in Darkscape

1 file (🟢0 🟡0 🔴12 🔵0)

grok_vehicles_spawner.script

L2 🔴 global_write
Global write: vtbl_darkscape
Impact: low
Show code
vtbl_darkscape = {
L16 🔴 global_write
Global write: vtbl_zaton
Impact: low
Show code
vtbl_zaton = {
L26 🔴 global_write
Global write: vtbl_jupiter
Impact: low
Show code
vtbl_jupiter = {
L38 🔴 global_write
Global write: vtbl_cnpp
Impact: low
Show code
vtbl_cnpp = {
L55 🔴 global_write
Global write: grok_vehicle_spawned
Impact: low
Show code
grok_vehicle_spawned = true
L62 🔴 global_write
Global write: grok_vehicle_spawned_zaton
Impact: low
Show code
grok_vehicle_spawned_zaton = true
L69 🔴 global_write
Global write: grok_vehicle_spawned_jupiter
Impact: low
Show code
grok_vehicle_spawned_jupiter = true
L76 🔴 global_write
Global write: grok_vehicle_spawned_cnpp
Impact: low
Show code
grok_vehicle_spawned_cnpp = true
L88 🔴 global_write
Global write: grok_vehicle_spawned
Impact: low
Show code
grok_vehicle_spawned = m_data.grok_vehicle_spawned
L89 🔴 global_write
Global write: grok_vehicle_spawned_zaton
Impact: low
Show code
grok_vehicle_spawned_zaton = m_data.grok_vehicle_spawned_zaton
L90 🔴 global_write
Global write: grok_vehicle_spawned_jupiter
Impact: low
Show code
grok_vehicle_spawned_jupiter = m_data.grok_vehicle_spawned_jupiter
L91 🔴 global_write
Global write: grok_vehicle_spawned_cnpp
Impact: low
Show code
grok_vehicle_spawned_cnpp = m_data.grok_vehicle_spawned_cnpp

G.A.M.M.A. Vices are free

2 files (🟢1 🟡1 🔴2 🔵28)

bind_awr.script

L61 🟢 repeated_npc_section()
npc:section() called 3x in OnDeath
Impact: low
Show code
Cache npc:section() result
L445 🟡 string_concat_in_loop
String concat in loop: txt = txt .. x
Impact: critical
Show code
txt = txt .. tab(depth) .. key .. " =\n"..tab(depth).."{\n"
L164 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ Registered vice [%s] = %s", name, i)
L172 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ Registered vice lamp [%s] = %s", name, i)
L403 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log(str)
L486 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(txt)

xr_conditions.script

L361 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("couldnt find talking npc")
L724 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameter in 'dist_to_actor_le' function!!!")
L732 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameter in 'dist_to_actor_ge' function!!!")
L908 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong number of params in npc_community")
L928 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong number of params in npc_rank")
L939 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong number of params in npc_profile")
L1374 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Not enough arguments in 'is_squad_enemy_to_actor' funciton!")
L1434 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if detector_section == nil then printf("Wrong parameters in function 'actor_active_detector'") end
L1562 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Insufficient params in squad_in_zone function. story_id[%s], zone_name[%s]", tostring(story_id), tostring(zone_name))
L1596 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Insufficient params in squad_has_enemy function. story_id [%s]", tostring(story_id))
L1621 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Insufficient params in squad_in_zone_all function. story_id[%s], zone_name[%s]", tostring(story_id), tostring(zone_name))
L1699 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters")
L1721 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters")
L1731 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("Wrong parameter story_id[%s] in squad_exist function", tostring(story_id))
L1749 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("~ERROR squad_name_exist | section [%s] doesn't exist in system_ini", tostring(story_id))
L1758 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~WARNING squad_name_exist | cant' get smart obeject [%s]", smart_name)
L1790 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameter squad_id[%s] in 'squad_npc_count_ge' function", tostring(squad_id))
L1829 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Signal rocket name is not set!")
L1834 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such signal rocket: [%s] on level", tostring(p[1]))
L1841 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("wrong story id")
L1940 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if (p and p[1]) == nil then printf("Wrong parameters in function 'check_bloodsucker_state'!!!") end
L2185 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("jup_b221_who_will_start: table reachable_theme ------------------------------> [%s]", g_tostring(k))
L2189 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such parameters in function 'jup_b221_who_will_start'")
L2197 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters in function 'jup_b221_who_will_start'")
L1779 🔴 global_write
Global write: npc_id
Impact: low
Show code
npc_id = npc.id
L1781 🔴 global_write
Global write: npc_id
Impact: low
Show code
npc_id = npc:id()

G.A.M.M.A. Voiced Actor

2 files (🟢0 🟡0 🔴28 🔵0)

AGDD_voiced_actor.script

L62 🔴 global_write
Global write: lang
Impact: low
Show code
lang = "_eng"
L64 🔴 global_write
Global write: lang
Impact: low
Show code
lang = ""
L68 🔴 global_write
Global write: muffle
Impact: low
Show code
muffle = "" -- initiates muffling condition
L73 🔴 global_write
Global write: muffle
Impact: low
Show code
muffle = ""
L75 🔴 global_write
Global write: muffle
Impact: low
Show code
muffle = ""
L96 🔴 global_write
Global write: combat_inertia
Impact: low
Show code
combat_inertia = 1
L102 🔴 global_write
Global write: combat_inertia
Impact: low
Show code
combat_inertia = time_global() + 10000 --sets the delay of ten seconds to ensure that combat status doesn't drop in case enemies stop targeting the actor for a short time
L164 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = 0 --main value that drives the combat status system
L165 🔴 global_write
Global write: combat_intensity_drain_cooldown
Impact: low
Show code
combat_intensity_drain_cooldown = 0 --auxilary value, prevents combat progression from draining constantly, instead it only drains after nothing combat-related happens for some time
L166 🔴 global_write
Global write: combat_medium_threshold
Impact: low
Show code
combat_medium_threshold = 500 --the threshold at which combat status switches to it's second phase
L167 🔴 global_write
Global write: combat_high_threshold
Impact: low
Show code
combat_high_threshold = 1500 --the threshold at which combat status switches to it's final third phase (combat_intensity value doesn't stop there and can progress even further, but that won't have any changes)
L178 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = combat_intensity + intensity --adds it
L180 🔴 global_write
Global write: combat_intensity_drain_cooldown
Impact: low
Show code
combat_intensity_drain_cooldown = combat_intensity_drain_cooldown + cooldown --adds the cooldown even if we didn't add intensity
L187 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = 1
L211 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = 1
L257 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L258 🔴 global_write
Global write: delay
Impact: low
Show code
delay = 500
L261 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L264 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + delay
L265 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 1
L269 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L284 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = combat_intensity - 1
L287 🔴 global_write
Global write: combat_intensity_drain_cooldown
Impact: low
Show code
combat_intensity_drain_cooldown = combat_intensity_drain_cooldown - 2
L290 🔴 global_write
Global write: combat_intensity
Impact: low
Show code
combat_intensity = clamp(combat_intensity,0,combat_high_threshold * 2) --keeps combat intensity value in bounds, it shouldn't go into negatives nor overshoot the max cap
L291 🔴 global_write
Global write: combat_intensity_drain_cooldown
Impact: low
Show code
combat_intensity_drain_cooldown = clamp(combat_intensity_drain_cooldown,0,1000) --same thing but for the cooldown

ui_addon_companion_quick_menu.script

L22 🔴 global_write
Global write: lang
Impact: low
Show code
lang = "_eng"
L24 🔴 global_write
Global write: lang
Impact: low
Show code
lang = ""
L26 🔴 global_write
Global write: chance
Impact: low
Show code
chance = math_random(0,100)

G.A.M.M.A. Weapon Pack

10 files (🟢2 🟡2 🔴29 🔵2)

animation_common.script

L88 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

close_combat_weapons_launchers.script

L39 🔴 global_write
Global write: n
Impact: low
Show code
n = floor(max(n or 1, 1))
L44 🔴 global_write
Global write: n
Impact: low
Show code
n = n - 1

m1a1_autoinject.script

L50 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

trader_autoinject.script

L187 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L41 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

uni_anim_detectors.script

L14 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L18 🔴 global_write
Global write: fdda_anim_prepare
Impact: low
Show code
fdda_anim_prepare = enhanced_animations.anim_prepare
L20 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L24 🔴 global_write
Global write: fdda_call_my_slot_back
Impact: low
Show code
fdda_call_my_slot_back = enhanced_animations.call_my_slot_back
L28 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L33 🔴 global_write
Global write: fdda_bp_call_my_slot_back
Impact: low
Show code
fdda_bp_call_my_slot_back = zzz_ea_addon_backpack.call_my_slot_back
L37 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L50 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L63 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L71 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L85 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L98 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L113 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L167 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false

weapon_cover_tilt_gun_trigger_radii.script

L6 🔴 global_write
Global write: weapon_trigger_radii
Impact: low
Show code
weapon_trigger_radii = {

z_parts_inject.script

L1 🔴 global_write
Global write: cached_r_string_ex
Impact: low
Show code
cached_r_string_ex = itms_manager.ini_parts.r_string_ex
L2 🔴 global_write
Global write: parts_custom
Impact: low
Show code
parts_custom = {}
L3 🔴 global_write
Global write: parts_custom_ini
Impact: low
Show code
parts_custom_ini = {

G.A.M.M.A. Wepl Hit Effects Rework

2 files (🟢0 🟡0 🔴2 🔵0)

wepl_hit_effect.script

L149 🔴 global_write
Global write: obj_t
Impact: low
Show code
obj_t = m_data.obj_t or {}

wepl_hit_effect_mcm.script

L13 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "wepl_hit_effect",sh=true ,gr={

G.A.M.M.A. X10 spawn rebalance

1 file (🟢0 🟡0 🔴1 🔵0)

z_sr_psy_antenna_no_sound_mute.script

L1 🔴 global_write
Global write: update_sound
Impact: low
Show code
update_sound = sr_psy_antenna.PsyAntenna.update_sound

G.A.M.M.A. YACS no quit

1 file (🟢0 🟡0 🔴2 🔵2)

ish_campfire_saving.script

L227 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("///YACS Save")
L253 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(message)
L19 🔴 global_write
Global write: bonus_bases
Impact: low
Show code
bonus_bases = {}
L23 🔴 global_write
Global write: the_bawses
Impact: low
Show code
the_bawses = {zat_b18_noah = true, m_trader = true, m_lesnik = true}

G.A.M.M.A. ZCP 1.4 Balanced Spawns

12 files (🟢1 🟡7 🔴24 🔵67)

bind_anomaly_field.script

L30 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L48 🔴 global_write
Global write: dyn_anomalies
Impact: low
Show code
dyn_anomalies = {} -- [level][id] = name
L519 🔴 global_write
Global write: dyn_anomalies
Impact: low
Show code
dyn_anomalies = m_data.dyn_anomalies or {}
L556 🔴 global_write
Global write: fields_by_names
Impact: low
Show code
fields_by_names = {}

bind_awr.script

L61 🟢 repeated_npc_section()
npc:section() called 3x in OnDeath
Impact: low
Show code
Cache npc:section() result
L460 🟡 string_concat_in_loop
String concat in loop: txt = txt .. x
Impact: critical
Show code
txt = txt .. tab(depth) .. key .. " =\n"..tab(depth).."{\n"
L164 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ Registered vice [%s] = %s", name, i)
L172 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ Registered vice lamp [%s] = %s", name, i)
L418 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log(str)
L501 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(txt)

dph_debug_log.script

L50 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe(public.format_entry("dph_debug_log/log", LOG_LEVEL_ERROR, "Unable to open logfile %s! Entry logged on the following line.", public.config.file))
L51 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(public.format_entry(mod, level, entry, ...))
L59 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe(ln)
L61 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(ln)
L72 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe(public.format_entry("dph_debug_log/pda", LOG_LEVEL_ERROR, "Could not send message to PDA: Actor does not exist! Entry logged on the following line."))
L73 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(public.format_entry(mod, level, entry, ...))
L140 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe(public.format_entry("dph_debug_log", LOG_LEVEL_ERROR, "Target %s threw an exception while logging <%s> %s", target, mod, entry))
L141 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("ERROR: %s", err)
L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(public.format_entry(mod, level, entry, ...))
L16 🔴 global_write
Global write: log_levels
Impact: low
Show code
log_levels = {
L79 🔴 global_write
Global write: m
Impact: low
Show code
m = tostring(mt)
L80 🔴 global_write
Global write: p
Impact: low
Show code
p = tostring(pt)

faction_expansions.script

L8 🔴 global_write
Global write: faction
Impact: low
Show code
faction = {}
L9 🔴 global_write
Global write: level
Impact: low
Show code
level = {}
L10 🔴 global_write
Global write: mutant
Impact: low
Show code
mutant = {}
L11 🔴 global_write
Global write: mutant_tier_by_clsid
Impact: low
Show code
mutant_tier_by_clsid = {

game_setup.script

L79 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)

pda.script

L466 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- get_coc_ranking_list | id [%s] = %s", i , coc_ranking_list[i])
L4 🔴 global_write
Global write: dialog_closed
Impact: low
Show code
dialog_closed = true
L96 🔴 global_write
Global write: dialog_closed
Impact: low
Show code
dialog_closed = false
L119 🔴 global_write
Global write: dialog_closed
Impact: low
Show code
dialog_closed = true

sim_board.script

L91 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Smart already exist in list [%s]", obj:name())
L175 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("create_squad_at_named_location: squad section does not exist in misc\\squad_descr.ltx: %s",squad_id)
L183 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('create_squad_at_named_location: named location not defined in named_locations.ltx: %s',loc_name)
L199 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("str_explode_num: warning: %s couldn't be parsed as number", s)
L314 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("---------------- Welcome To Test Map ----------------")
L371 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sim_board:fill_start_position incorrect smart by name %s",section)

sim_squad_scripted.script

L604 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: npc section %s does not exist!",spawn_section)
L610 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("INCORRECT npc_spawn_section USED [%s]. You cannot use npc with custom_data in squads", spawn_section)
L688 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('spawn smart: %s', spawn_smart)
L715 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!!! GETTING RANDOM COUNT FOR "..faction.." | " .. g_tonumber(warfare_options.options.factions[faction].min_random_squad_count) .. " - " .. g_tonumber(warfare_options.options.factions[faction].max_random_squad_count) .. " !!!!")
L736 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("You are trying to spawn an empty squad [%s]!!!", settings_id)
L862 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("squad community is 'nil' for player_id [%s]", self.player_id)
L12 🔴 global_write
Global write: dbg_map_hud
Impact: low
Show code
dbg_map_hud = false

smart_terrain.script

L528 🟡 string_concat_in_loop
String concat in loop: path_name = path_name .. x
Impact: critical
Show code
path_name = path_name.."_task"
L1152 🟡 string_concat_in_loop
String concat in loop: props = props .. x
Impact: critical
Show code
props = props.."["..k.."] = "..v.num.."("..(xr_logic.pick_section_from_condlist(db.actor, self,self.respawn_params[k].num) or "0")..")\\n"
L1167 🟡 string_concat_in_loop
String concat in loop: props = props .. x
Impact: critical
Show code
props = props .. g_tostring(k) .. "\\n"
L1173 🟡 string_concat_in_loop
String concat in loop: props = props .. x
Impact: critical
Show code
props = props .. prop .. " = " .. val .. "\\n"
L199 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR!: smart_terrain: no configuration file defined in spawn ini for %s",self:name())
L210 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: There is no configuration file [%s] in smart_terrain [%s]", filename, self:name())
L217 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! SMART_TERRAIN [%s] has no terrain_mask section in smart_terrain_masks.ltx!!!",self:name())
L276 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s Wrong smart_terrain respawn_params section [%s](there is no section)",self:name(),respawn_params)
L282 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s Wrong smart_terrain respawn_params section [%s](empty params)", self:name(), respawn_params)
L293 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: %s Wrong smatr_terrain respawn_params section [%s] prop [%s](there is no section)",self:name(), respawn_params, prop_name)
L313 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return printf("fill_npc_info invalid clsid for %s",obj and obj:name())
L318 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return printf("fill_npc_info invalid stype for %s [clsid=%s]",obj and obj:name(),cls)
L351 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return printf("register_npc no clsid! %s",obj and obj:name())
L446 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("validate_patrol_path WARNING: %s: invalid game_vertex_id for point %s",path_name,i)
L451 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("validate_patrol_path ERROR: %s: path does not exist",path_name)
L471 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!CRITICAL ERROR: %s does not have a dynamic ltx!",self:name())
L491 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("gulag: ltx=%s no 'active' in section %s", self.ltx_name, section)
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("smart_terrain.load_jobs(): Cannot find path_field in section %s. ini_path=%s",active_section,job.ini_path)
L539 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s:load_jobs() There is no such patrol path %s",self:name(),path_name)
L549 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is an exclusive job with wrong smatrcover name [%s] smartterrain [%s]", tostring(smartcover_name), self:name())
L635 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return printf("%s no npc_info!",self:name())
L641 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return printf("%s no job table for %s [stype = %s]",self:name(),npc_info.se_obj:name(),npc_info.stype)
L1009 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s:STATE_Read: invalid id in npc_info table. Check for save corruption or error in smart_terrain job system.")
L1360 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s.setup_logic: NPC is nil",self:name())
L1366 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s.setup_logic: npc_info is nil! for id=%s",self:name(),npc:id())
L1371 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s.setup_logic: npc_info.se_obj is nil! for id=%s",self:name(),npc:id())
L1377 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s.setup_logic: npc_info has no job! for id=%s",self:name(),npc:id())
L1390 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[smart_terrain %s] section=%s, don't use section 'nil'!", self:name(), sect)
L1715 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("ERROR: %s Incorrect Respawn Params. respawn_params[%s].num=%s already_spawned[%s]=%s already_spawned[%s].num=%s",self:name(),k,v.num,k,type(self.already_spawned[k]),self.already_spawned[k] and self.already_spawned[k].num)
L11 🔴 global_write
Global write: nearest_to_actor_smart
Impact: low
Show code
nearest_to_actor_smart = {id = nil , dist = math.huge}
L12 🔴 global_write
Global write: dbg_hud
Impact: low
Show code
dbg_hud = false
L137 🔴 global_write
Global write: actor_level
Impact: low
Show code
actor_level = nil
L146 🔴 global_write
Global write: actor_level
Impact: low
Show code
actor_level = actor_level or sim:level_name(gg:vertex(sim:actor().m_game_vertex_id):level_id())
L1792 🔴 global_write
Global write: temp1
Impact: low
Show code
temp1, level_name, temp2 = names_ini:r_line("levels", i, "", "")
L1792 🔴 global_write
Global write: level_name
Impact: low
Show code
temp1, level_name, temp2 = names_ini:r_line("levels", i, "", "")
L1792 🔴 global_write
Global write: temp2
Impact: low
Show code
temp1, level_name, temp2 = names_ini:r_line("levels", i, "", "")
L1796 🔴 global_write
Global write: result
Impact: low
Show code
result, smart_name, value = names_ini:r_line(level_name, i, "", "")
L1796 🔴 global_write
Global write: smart_name
Impact: low
Show code
result, smart_name, value = names_ini:r_line(level_name, i, "", "")
L1796 🔴 global_write
Global write: value
Impact: low
Show code
result, smart_name, value = names_ini:r_line(level_name, i, "", "")

smr_pop.script

L10 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L827 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("level %s not found, returning nil", level_name)
L832 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("total weight is 0, return nil")
L839 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("spawn %s, dice roll %s", mutant, rand)
L933 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("ZCP Balanced Mutants enabled")
L935 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("Level name: %s", level_name)
L1061 🔵 debug_statement
Debug call: trace()
Impact: medium
Show code
trace("calling random mutant spawn")

tasks_fetch.script

L208 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: fetch_reward_and_remove | no fetch item found!")
L213 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Warning: fetch_reward_and_remove | total_cost is below 50")
L285 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR xr_effects.remove_artefact_item | no var found for %s", p[1])
L464 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: %s | fetch list [%s] is invalid", p[1], p[2])
L571 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: xr_effects:setup_generic_fetch_task - invalid section %s",sec)
L759 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! WARNING: fetch_list.ltx | wrong section name [%s]", id)

ui_mm_faction_select.script

L1534 🟡 string_concat_in_loop
String concat in loop: str_stats = str_stats .. x
Impact: critical
Show code
str_stats = str_stats .. "%c[0,150,150,150] %c[0,50,175,50]" .. game.translate_string("st_faction_" .. k) .. "\\n"
L1694 🟡 string_concat_in_loop
String concat in loop: loadout_str = loadout_str .. x
Impact: critical
Show code
loadout_str = loadout_str .. "," .. ci.section
L1258 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sec: %s | points: %s | points left: %s", ci.section, points, self.points_left)

GBOOBS_Enhanced_Recoil_Revised

2 files (🟢2 🟡0 🔴10 🔵0)

grok_bo_enhanced_recoil.script

L198 🟢 table_insert_append
table.insert(anims, v) -> anims[#anims+1] = v
Impact: high
Show code
table.insert(anims,{e = i,d = v[2] or math_random(0,1),c = cnt})
L278 🟢 repeated_wpn_section()
wpn:section() called 5x in shoot_effect
Impact: low
Show code
Cache wpn:section() result
L90 🔴 global_write
Global write: modifier_table
Impact: low
Show code
modifier_table = {
L152 🔴 global_write
Global write: abakan_state
Impact: low
Show code
abakan_state = 0
L292 🔴 global_write
Global write: abakan_state
Impact: low
Show code
abakan_state = 1
L296 🔴 global_write
Global write: abakan_state
Impact: low
Show code
abakan_state = 2
L310 🔴 global_write
Global write: abakan_state
Impact: low
Show code
abakan_state = 0
L387 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()
L390 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()

grok_bo_enhanced_recoil_mcm.script

L1 🔴 global_write
Global write: op_id
Impact: low
Show code
op_id = "demonized_grok_bo_enhanced_recoil"
L2 🔴 global_write
Global write: op_preset_id
Impact: low
Show code
op_preset_id = "presets"
L4 🔴 global_write
Global write: op
Impact: low
Show code
op = {

G_FLAT's More Measurement Task Maps

1 file (🟢0 🟡0 🔴1 🔵0)

more_measurement_task_maps_mcm.script

L2 🔴 global_write
Global write: options
Impact: low
Show code
options = {

G_FLAT's Msv Above Radiation Icon

1 file (🟢0 🟡0 🔴5 🔵0)

msv_over_radiation_status_mcm.script

L1 🔴 global_write
Global write: icon_msv_requirement
Impact: low
Show code
icon_msv_requirement = 2
L2 🔴 global_write
Global write: faster_refresh_rate
Impact: low
Show code
faster_refresh_rate = true
L65 🔴 global_write
Global write: ch_options
Impact: low
Show code
ch_options = {
L92 🔴 global_write
Global write: icon_msv_requirement
Impact: low
Show code
icon_msv_requirement = ui_mcm.get("rad_status_icon_msv/icon_msv_requirement")
L93 🔴 global_write
Global write: faster_refresh_rate
Impact: low
Show code
faster_refresh_rate = ui_mcm.get("rad_status_icon_msv/faster_refresh_rate")

G_FLAT's Remember Belt Items

1 file (🟢0 🟡0 🔴1 🔵0)

remember_outfit_belt_mcm.script

L2 🔴 global_write
Global write: options
Impact: low
Show code
options = {

G_FLAT's Unusable Parts Handler

1 file (🟢0 🟡0 🔴1 🔵0)

unusable_parts_handler_mcm.script

L2 🔴 global_write
Global write: options
Impact: low
Show code
options = {

G_FLAT's and Grok's Hunting Kit Rework

1 file (🟢0 🟡0 🔴0 🔵2)

ui_mutant_loot.script

L194 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR ui_mutant_loot | no game object passed!")
L535 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR ui_mutant_loot | can't retrieve online object of mutant [%s](%s)", self.section, self.id)

Geiger_ticks_early

1 file (🟢0 🟡0 🔴1 🔵0)

geiger_tick_mcm.script

L11 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "geiger_tick",sh=true ,gr={

Grenades Trajectory mod

1 file (🟢0 🟡0 🔴0 🔵1)

grenade_trajectory.script

L52 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[GT] " .. fmt, ...)

Grok's & Bert's Casings Falling Sounds

1 file (🟢0 🟡0 🔴15 🔵0)

grok_casings_sounds.script

L7 🔴 global_write
Global write: mat_to_sound
Impact: low
Show code
mat_to_sound = {
L24 🔴 global_write
Global write: cal_to_sound
Impact: low
Show code
cal_to_sound = {
L75 🔴 global_write
Global write: time_table
Impact: low
Show code
time_table = {
L110 🔴 global_write
Global write: no_casing_drop
Impact: low
Show code
no_casing_drop = {
L126 🔴 global_write
Global write: mat
Impact: low
Show code
mat = "default"
L133 🔴 global_write
Global write: found_mat
Impact: low
Show code
found_mat = sf(current_material, k)
L140 🔴 global_write
Global write: material_sound
Impact: low
Show code
material_sound = mat_to_sound[current_material]
L142 🔴 global_write
Global write: material_sound
Impact: low
Show code
material_sound = mat_to_sound["default"]
L174 🔴 global_write
Global write: material_sound
Impact: low
Show code
material_sound = mat_to_sound["default"]
L178 🔴 global_write
Global write: rand
Impact: low
Show code
rand = math_random(1,100)
L180 🔴 global_write
Global write: material_sound
Impact: low
Show code
material_sound = "grass"
L182 🔴 global_write
Global write: material_sound
Impact: low
Show code
material_sound = "grass"
L184 🔴 global_write
Global write: material_sound
Impact: low
Show code
material_sound = "dirt"
L194 🔴 global_write
Global write: vol
Impact: low
Show code
vol = math_random(1,6) * 0.1
L203 🔴 global_write
Global write: vol
Impact: low
Show code
vol = math_random(1,6) * 0.1

Grok's and Darkasleif's Armor Exchange

2 files (🟢0 🟡0 🔴79 🔵0)

grok_armor_convert.script

L2 🔴 global_write
Global write: all_light
Impact: low
Show code
all_light = {
L17 🔴 global_write
Global write: all_medium
Impact: low
Show code
all_medium = {
L64 🔴 global_write
Global write: all_sci
Impact: low
Show code
all_sci = {
L83 🔴 global_write
Global write: all_skat
Impact: low
Show code
all_skat = {
L98 🔴 global_write
Global write: all_exolight
Impact: low
Show code
all_exolight = {
L122 🔴 global_write
Global write: all_exo
Impact: low
Show code
all_exo = {
L139 🔴 global_write
Global write: all_noso
Impact: low
Show code
all_noso = {
L154 🔴 global_write
Global write: loner_light
Impact: low
Show code
loner_light = {
L166 🔴 global_write
Global write: loner_medium
Impact: low
Show code
loner_medium = {
L207 🔴 global_write
Global write: loner_sci
Impact: low
Show code
loner_sci = {
L224 🔴 global_write
Global write: loner_exolight
Impact: low
Show code
loner_exolight = {
L247 🔴 global_write
Global write: loner_exo
Impact: low
Show code
loner_exo = {
L270 🔴 global_write
Global write: cs_light
Impact: low
Show code
cs_light = {
L283 🔴 global_write
Global write: cs_medium
Impact: low
Show code
cs_medium = {
L328 🔴 global_write
Global write: cs_sci
Impact: low
Show code
cs_sci = {
L346 🔴 global_write
Global write: cs_skat
Impact: low
Show code
cs_skat = {
L360 🔴 global_write
Global write: cs_exolight
Impact: low
Show code
cs_exolight = {
L382 🔴 global_write
Global write: cs_exo
Impact: low
Show code
cs_exo = {
L402 🔴 global_write
Global write: merc_light
Impact: low
Show code
merc_light = {
L414 🔴 global_write
Global write: merc_medium
Impact: low
Show code
merc_medium = {
L455 🔴 global_write
Global write: merc_sci
Impact: low
Show code
merc_sci = {
L473 🔴 global_write
Global write: merc_skat
Impact: low
Show code
merc_skat = {
L487 🔴 global_write
Global write: merc_exolight
Impact: low
Show code
merc_exolight = {
L507 🔴 global_write
Global write: merc_exo
Impact: low
Show code
merc_exo = {
L523 🔴 global_write
Global write: merc_noso
Impact: low
Show code
merc_noso = {
L538 🔴 global_write
Global write: dolg_medium
Impact: low
Show code
dolg_medium = {
L580 🔴 global_write
Global write: dolg_sci
Impact: low
Show code
dolg_sci = {
L596 🔴 global_write
Global write: dolg_skat
Impact: low
Show code
dolg_skat = {
L608 🔴 global_write
Global write: dolg_exolight
Impact: low
Show code
dolg_exolight = {
L627 🔴 global_write
Global write: dolg_exo
Impact: low
Show code
dolg_exo = {
L643 🔴 global_write
Global write: dolg_noso
Impact: low
Show code
dolg_noso = {
L656 🔴 global_write
Global write: freedom_medium
Impact: low
Show code
freedom_medium = {
L699 🔴 global_write
Global write: freedom_sci
Impact: low
Show code
freedom_sci = {
L717 🔴 global_write
Global write: freedom_skat
Impact: low
Show code
freedom_skat = {
L731 🔴 global_write
Global write: freedom_exolight
Impact: low
Show code
freedom_exolight = {
L753 🔴 global_write
Global write: freedom_exo
Impact: low
Show code
freedom_exo = {
L769 🔴 global_write
Global write: freedom_noso
Impact: low
Show code
freedom_noso = {
L783 🔴 global_write
Global write: army_medium
Impact: low
Show code
army_medium = {
L831 🔴 global_write
Global write: army_skat
Impact: low
Show code
army_skat = {
L845 🔴 global_write
Global write: army_exolight
Impact: low
Show code
army_exolight = {
L868 🔴 global_write
Global write: army_exo
Impact: low
Show code
army_exo = {
L884 🔴 global_write
Global write: army_noso
Impact: low
Show code
army_noso = {
L898 🔴 global_write
Global write: bandit_light
Impact: low
Show code
bandit_light = {
L912 🔴 global_write
Global write: bandit_medium
Impact: low
Show code
bandit_medium = {
L954 🔴 global_write
Global write: bandit_sci
Impact: low
Show code
bandit_sci = {
L971 🔴 global_write
Global write: bandit_skat
Impact: low
Show code
bandit_skat = {
L985 🔴 global_write
Global write: bandit_exolight
Impact: low
Show code
bandit_exolight = {
L1008 🔴 global_write
Global write: bandit_exo
Impact: low
Show code
bandit_exo = {
L1027 🔴 global_write
Global write: renegade_medium
Impact: low
Show code
renegade_medium = {
L1074 🔴 global_write
Global write: renegade_sci
Impact: low
Show code
renegade_sci = {
L1092 🔴 global_write
Global write: renegade_exo
Impact: low
Show code
renegade_exo = {
L1114 🔴 global_write
Global write: mono_medium
Impact: low
Show code
mono_medium = {
L1158 🔴 global_write
Global write: mono_sci
Impact: low
Show code
mono_sci = {
L1175 🔴 global_write
Global write: mono_skat
Impact: low
Show code
mono_skat = {
L1189 🔴 global_write
Global write: mono_exolight
Impact: low
Show code
mono_exolight = {
L1212 🔴 global_write
Global write: mono_exo
Impact: low
Show code
mono_exo = {
L1228 🔴 global_write
Global write: mono_noso
Impact: low
Show code
mono_noso = {
L1245 🔴 global_write
Global write: greh_medium
Impact: low
Show code
greh_medium = {
L1289 🔴 global_write
Global write: greh_exo
Impact: low
Show code
greh_exo = {
L1310 🔴 global_write
Global write: isg_medium
Impact: low
Show code
isg_medium = {
L1353 🔴 global_write
Global write: isg_sci
Impact: low
Show code
isg_sci = {
L1371 🔴 global_write
Global write: isg_skat
Impact: low
Show code
isg_skat = {
L1386 🔴 global_write
Global write: isg_exolight
Impact: low
Show code
isg_exolight = {
L1409 🔴 global_write
Global write: isg_exo
Impact: low
Show code
isg_exo = {
L1425 🔴 global_write
Global write: isg_noso
Impact: low
Show code
isg_noso = {
L1438 🔴 global_write
Global write: ecolog_medium
Impact: low
Show code
ecolog_medium = {
L1484 🔴 global_write
Global write: ecolog_sci
Impact: low
Show code
ecolog_sci = {
L1503 🔴 global_write
Global write: ecolog_exo
Impact: low
Show code
ecolog_exo = {

grok_armor_trade.script

L10 🔴 global_write
Global write: armor_to_remove
Impact: low
Show code
armor_to_remove = nil
L11 🔴 global_write
Global write: to_return
Impact: low
Show code
to_return = nil
L12 🔴 global_write
Global write: condition
Impact: low
Show code
condition = nil
L16 🔴 global_write
Global write: obj
Impact: low
Show code
obj = db.actor:object(k)
L17 🔴 global_write
Global write: condition
Impact: low
Show code
condition = obj:condition()
L18 🔴 global_write
Global write: to_return
Impact: low
Show code
to_return = k
L27 🔴 global_write
Global write: obj
Impact: low
Show code
obj = db.actor:object(sec)
L36 🔴 global_write
Global write: armor_to_remove
Impact: low
Show code
armor_to_remove,reward_condition = actor_has_armor(table)
L36 🔴 global_write
Global write: reward_condition
Impact: low
Show code
armor_to_remove,reward_condition = actor_has_armor(table)
L37 🔴 global_write
Global write: reward_armor
Impact: low
Show code
reward_armor = table["reward"]
L38 🔴 global_write
Global write: trade_cost
Impact: low
Show code
trade_cost = table["cost"]

Immersive_Ambience_Expansion

2 files (🟢0 🟡0 🔴0 🔵12)

ambience_exp_mcm.script

L113 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("ze table\n%s", utils_data.print_table(a, false, true))
L115 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(a)

demonized_time_events.script

L36 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L39 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L41 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L46 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L48 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L52 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L54 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L59 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L61 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("refreshing time events")

Interaction Dot Marks

18 files (🟢2 🟡1 🔴148 🔵124)

dotmarks_hideout_furniture_mcm.script

L38 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if logtext and (ui_hud_dotmarks and ui_hud_dotmarks.debuglogs) then printf(logprefix .. logtext, ...) end
L80 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[%s][dotmarks_hideout_furniture] Suspending DotMarks operation for Hideout Furniture placement mode", time_global())
L83 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[%s][dotmarks_hideout_furniture] Placement mode over, resuming normal DotMarks operation", time_global())
L97 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("dotmarks_hideout_furniture.script is injecting blank functors into dotmarks_main.cfg.scan")
L150 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[%s][dotmarks_on_new_object_scan] Hideout Furniture patch is checking %s", time_global(), nameid(obj))
L287 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[%s][dotmarks_on_setup_pri_interact] Hideout Furniture patch is checking for a custom primary action on %s", time_global(), mark.name)
L290 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Setting up primary primary interaction as a placeable radio")
L295 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Setting primary interaction text for placeable light")
L299 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Setting up primary interaction as a placeable fan")
L303 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Setting up primary interaction as a placeable bed")
L307 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Setting up primary interaction as a placeable stove")
L311 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Setting up primary interaction text for placeable piano")
L315 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Primary pickup prompt is disabled for HF props")
L320 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Setting up default interaction text for a static prop")
L323 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("No customization found, returning mark unaltered")
L337 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[%s][dotmarks_on_setup_sec_interact] Hideout Furniture patch is setting up the secondary action for %s", time_global(), mark.name)
L355 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("[%s][dotmarks_on_manual_interact_release] Hideout Furniture patch is checking whether to handle interaction with %s | primary take enabled: %s", time_global(), mark.name, cfg.hf_add_primary_pickup)
L357 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("No special handling for HF stashes")
L360 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("%s has a custom primary interaction functor, executing it now", mark.name)
L363 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("Triggering take animation and notifying HF to pick up %s when complete", mark.name)
L29 🔴 global_write
Global write: placement_mode
Impact: low
Show code
placement_mode = false
L31 🔴 global_write
Global write: resume_delay
Impact: low
Show code
resume_delay = 0.25
L33 🔴 global_write
Global write: delaying
Impact: low
Show code
delaying = false
L73 🔴 global_write
Global write: placement_mode
Impact: low
Show code
placement_mode = placeable_furniture.in_placing_state()
L87 🔴 global_write
Global write: delaying
Impact: low
Show code
delaying = false
L107 🔴 global_write
Global write: mcm_menu_additions
Impact: low
Show code
mcm_menu_additions = {

dotmarks_main.script

L175 🟢 repeated_obj_section()
obj:section() called 27x in <global>
Impact: low
Show code
Cache obj:section() result
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "dotmarks_main"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.4.0"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250721.1
L76 🔴 global_write
Global write: dotmarks_config_file
Impact: low
Show code
dotmarks_config_file = "scripts\\dotmarks_defaults.ltx"
L82 🔴 global_write
Global write: cfg
Impact: low
Show code
cfg = nil
L1028 🔴 global_write
Global write: r
Impact: low
Show code
if r == "" then r = nil end
L1329 🔴 global_write
Global write: cfg
Impact: low
Show code
cfg = dup_table(base_config)
L1486 🔴 global_write
Global write: fonts
Impact: low
Show code
fonts = {

dotmarks_mcm.script

L74 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = log and printf("[DotMarks] MCM version string: %s | major %s | minor %s | patch %s | functors exist: %s", MCM_VERSION, maj, min, pat, UI_FUNCTORS)
L77 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_ = log and printf(pre.." MCM version check: %s", inv and "FAILED" or "Passed")
L21 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "dotmarks_mcm"
L22 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L37 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = dotmarks_main.script_version or "ersion not found!"
L39 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = tostring(dotmarks_main.release_date) or "date not found! Was ui_hud_dotmarks.script overwritten or disabled?"
L47 🔴 global_write
Global write: color_tokens
Impact: low
Show code
color_tokens = {
L498 🔴 global_write
Global write: tbl
Impact: low
Show code
tbl = {}
L736 🔴 global_write
Global write: color_tokens
Impact: low
Show code
color_tokens = utils_catspaw_text.get_color_tokens() or color_tokens
L744 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = "dotmarks", gr = {

modxml_maingame_no_item_icons.script

L55 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = DEV_DEBUG and printf("Processing DXML in %s for %s", xml_file_name, script_name)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "modxml_maingame16_no_item_icons"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.0"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250305

modxml_tutorial_hooks.script

L192 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_ = DEV_DEBUG and printf("Processing DXML functor hooks in %s for %s", xml_file_name, script_name)
L221 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[TutorialMonitor] Began tutorial state %s at %s", tut, time_global())
L235 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[TutorialMonitor] Ended tutorial state %s at %s", tut, time_global())
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "modxml_tutorial_hooks"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "2.0"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250410
L99 🔴 global_write
Global write: static_xmlfile
Impact: low
Show code
static_xmlfile = "maingame.xml"
L100 🔴 global_write
Global write: static_xmlnode
Impact: low
Show code
static_xmlnode = "quick_info"
L101 🔴 global_write
Global write: replacements_enabled
Impact: low
Show code
replacements_enabled = true -- killswitch
L102 🔴 global_write
Global write: callbacks_enabled
Impact: low
Show code
callbacks_enabled = true -- killswitch
L103 🔴 global_write
Global write: UIStaticTutorials
Impact: low
Show code
UIStaticTutorials = nil
L104 🔴 global_write
Global write: monitors
Impact: low
Show code
monitors = {}
L105 🔴 global_write
Global write: exceptions
Impact: low
Show code
exceptions = {
L256 🔴 global_write
Global write: UIStaticTutorials
Impact: low
Show code
UIStaticTutorials = xml:InitTextWnd(static_xmlnode, maingameui)

ui_hud_dotmarks.script

L4634 🟢 repeated_obj_section()
obj:section() called 5x in replace_invitem_with_bomb
Impact: low
Show code
Cache obj:section() result
L5810 🟡 string_concat_in_loop
String concat in loop: mcm_path = mcm_path .. x
Impact: critical
Show code
mcm_path = mcm_path .. k
L70 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Interaction Dot Marks %s (rel %s) began initialization at %s", script_version or "(version not found)", release_date or "missing", time_global())
L94 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return debug_dump and logtext and printf(logprefix .. logtext, ...)
L124 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s [%s][%s] Trace: [%s][%s] %s", logprefix, ts, i, fn, ev, val or "")
L130 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logprefix.."Dumping runtime metrics for %s", script_name)
L136 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[%s][%s] [%s][%s] %s", t, i, f, e, v or "")
L252 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
local _ = (not hide) and dump("[%s][%s] Visibility and UI checks for %s | dist %s", mark.id, now, mark.name or mark.tutorial or mark.text, dist)
L297 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("Checking whether to show pri interact prompt for %s | targeted %s | in_range %s", mark.name, targeted, in_range)
L408 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("Final primary interact state: %s | %s", show_pri, nameid(mark.name, mark.id))
L418 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("Secondary interactions disabled via config, hiding UI for %s", mark.name)
L421 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("No ammo in weapon, hiding secondary interact")
L424 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("No battery or charge in device, hiding secondary interact")
L428 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("No items in container, no need to show secondary interact")
L432 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("Checking whether to show alt interact prompt for %s | show_pri %s | targeted %s", mark.name, show_pri, targeted)
L440 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("[%s][%s] Done with both prompt checks:\n* final state: %s | show_pri %s | show_sec %s | forced %s", time_global(), mark.name, prompts_shown, show_pri, show_sec, forced_on)
L459 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
_=dd and dump("Mark is hidden (%s) clearing texture", hide_reason or "no reason set")
L522 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Condition %s loaded for degraded world item [%s] from loot spot [%s]", cond, nameid(obj), name)
L597 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[%s][UIHUDMarker:ActiveSwap] for %s: %s", time_global(), self.name or self.tutorial, state)
L1037 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("get_ied_text: mode %s | timer %s | str %s | text %s", cfg.mine_mode, timer, iedstr, iedtext)
L1101 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Suspending marker for %s", mark.name or mark.tutorial)
L1197 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("item_pickup_intercept fired | ret: %s | force: %s", flags and flags.ret_value, flags and flags.force)
L1229 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("flags.ret_value is true, setting to false")
L1243 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("flags.ret_value was false, returning object")
L1662 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("InteractPrompt:on_before_key_press | key %s | bind %s", key, bind)
L1684 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[InteractPrompt] Passed args:")
L1685 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
for k,v in pairs(args) do dump("|| %s = %s", k, v) end
L2482 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[%s][InteractPrompt:on_key_hold] Beginning hold of key %s", now, self.args.key)
L2502 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending callback dotmarks_on_before_marker_init for %s", nameid(get_mark_name(id), id))
L2875 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending callback dotmarks_on_prompt_visibility_change for prompt %s", self.uid)
L2887 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending callback dotmarks_on_before_prompt_visibility_change for prompt %s | %s", self.uid, nameid(get_mark_name(self.args.id), self.args.id))
L3072 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("InteractPrompt:CheckForWoundedStalkers found no health items")
L3246 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("current target: %s | L %s | T %s", locked_id or targeted_id, locked_id, targeted_id)
L3531 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending callback dotmarks_on_new_object_scan for %s", nameid(obj))
L3635 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending callback dotmarks_on_setup_pri_interact for %s", nameid(mark.name, mark.id))
L3671 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending callback dotmarks_on_setup_sec_interact for %s | verb_secondary: %s\n"..
L3698 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up unload_and_take_ammo secondary action")
L3715 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up take_and_inspect secondary action for artefact")
L3722 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up plant_bomb secondary action")
L3732 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up help_wounded_stalker secondary action")
L3740 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up pick_up_backpack secondary action")
L3745 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up trigger_autoloot secondary action")
L3753 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up take_all_from_box secondary action")
L3763 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up take_and_read secondary action")
L3773 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up unpack_batteries secondary action")
L3783 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up take_and_use secondary action for tool")
L3792 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up take_and_use secondary action for consumable")
L3806 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Setting up deploy_backpack secondary action")
L3816 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Falling back to generic usage secondary action")
L4026 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending dotmarks_on_marker_init for %s", nameid(args.name, id))
L4127 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending dotmarks_on_before_marker_init for %s", nameid(args.name, id))
L4172 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[%s] update_targeted_object: no longer targeting %s", time_global(), nameid(target))
L4182 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[%s] update_targeted_object: targeted_id is now %s (%s) | method %s", time_global(), targeted_id, target and target:name(), method_txt)
L4269 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("FDDAR found No action with item_pickup tag")
L4274 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("FDDAR has an active body search animation, aborting take")
L4958 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Executing func_pickup for marker %s", mark.name)
L5135 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("State monitor for %s: %s", k, state_monitor(k))
L5219 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[%s] Hint filter update%s", time_global(), text and (" - text is: "..text) or ", no text")
L5233 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[Targets] Lookat curr: %s last %s | Pickup curr: %s last %s | Xhair curr: %s last %s", hmm.curr_target, hmm.last_target, hmm.curr_pickup, hmm.last_pickup, hmm.curr_crosshair, hmm.last_crosshair)
L5243 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("")
L5396 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Sending callback dotmarks_on_manual_interact_release | %s | %s | %s", id, nameid(mark and mark.name, id), flags and flags.ret_value)
L5399 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Further handling aborted by callback")
L5405 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[%s] No completed hold action, item pickup should occur", time_global())
L5464 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("[%s] use key released%s | set at %s | dur held %s | hold time %s", time_global(), action_text, cfg.use_released, dur, time)
L5487 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Actor just took %s, unregistering scanned object", nameid(obj, id))
L5771 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = log and printf("Debug logging enabled: %s | verbose %s | debug_dump %s | DEV_DEBUG %s", debuglogs, verbose, debug_dump, DEV_DEBUG)
L5779 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_=log and printf("No previous DotMarks version information found in MCM, setting to current version")
L5785 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_=log and printf(vtext, last_version, last_release)
L5791 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Existing release %s is older than %s, adding opts to reset table", last_release, rel)
L5793 🔵 debug_statement
Debug call: dump()
Impact: medium
Show code
dump("Will reset opt %s", k)
L5907 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Storing found stash data for %s", nameid(v.name, id))
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "ui_hud_dotmarks"
L73 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[DotMarks] "
L74 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L75 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L76 🔴 global_write
Global write: debug_dump
Impact: low
Show code
debug_dump = false
L103 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L104 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L105 🔴 global_write
Global write: debug_dump
Impact: low
Show code
if (dump_en ~= nil) then debug_dump = dump_en end
L160 🔴 global_write
Global write: valid_mcm_version
Impact: low
Show code
valid_mcm_version = dotmarks_mcm.valid_mcm_version
L161 🔴 global_write
Global write: targeted_id
Impact: low
Show code
targeted_id, locked_id = nil
L161 🔴 global_write
Global write: locked_id
Impact: low
Show code
targeted_id, locked_id = nil
L162 🔴 global_write
Global write: scanning
Impact: low
Show code
scanning = false
L163 🔴 global_write
Global write: pickup_index
Impact: low
Show code
pickup_index = {}
L164 🔴 global_write
Global write: nearby_pickups
Impact: low
Show code
nearby_pickups = {}
L165 🔴 global_write
Global write: active_anims
Impact: low
Show code
active_anims = {}
L944 🔴 global_write
Global write: eased
Impact: low
Show code
eased = easing.easeOutElastic(cycle)
L1148 🔴 global_write
Global write: scanning
Impact: low
Show code
scanning = false
L1158 🔴 global_write
Global write: scanning
Impact: low
Show code
scanning = true
L2269 🔴 global_write
Global write: cls
Impact: low
Show code
cls = obj and obj:clsid()
L3398 🔴 global_write
Global write: cfg
Impact: low
Show code
cfg = cfg or {}
L3473 🔴 global_write
Global write: scanning
Impact: low
Show code
scanning = true
L3481 🔴 global_write
Global write: scanning
Impact: low
Show code
scanning = false
L3857 🔴 global_write
Global write: locked_id
Impact: low
Show code
locked_id = nil
L3860 🔴 global_write
Global write: targeted_id
Impact: low
Show code
targeted_id = nil
L4214 🔴 global_write
Global write: targeted_id
Impact: low
Show code
targeted_id = cfg.racked_items[id]
L4217 🔴 global_write
Global write: targeted_id
Impact: low
Show code
targeted_id = id
L4225 🔴 global_write
Global write: targeted_id
Impact: low
Show code
targeted_id = nil
L4230 🔴 global_write
Global write: targeted_id
Impact: low
Show code
targeted_id = best_hovered_id()
L4825 🔴 global_write
Global write: se_mag
Impact: low
Show code
se_mag = alife_create_item(mag_data.section, db.actor)
L5067 🔴 global_write
Global write: locked_id
Impact: low
Show code
locked_id = nearby_pickups[ind_new]
L5074 🔴 global_write
Global write: locked_id
Impact: low
Show code
locked_id = nil
L5076 🔴 global_write
Global write: nearby_pickups
Impact: low
Show code
nearby_pickups = {}
L5077 🔴 global_write
Global write: pickup_index
Impact: low
Show code
pickup_index = {}
L5082 🔴 global_write
Global write: actor_moving
Impact: low
Show code
actor_moving = (level.actor_moving_state() > 0)
L5088 🔴 global_write
Global write: actor_moving
Impact: low
Show code
actor_moving = dist > (cfg.actor_move_threshold or 0.1)
L5768 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = get_mcm("dotmarks/dmarkadv/debuglogs", debuglogs)
L5769 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = get_mcm("dotmarks/dmarkadv/verbose", verbose)
L5915 🔴 global_write
Global write: valid_mcm_version
Impact: low
Show code
valid_mcm_version = dotmarks_mcm and dotmarks_mcm.valid_mcm_version
L5923 🔴 global_write
Global write: mags_installed
Impact: low
Show code
mags_installed = (magazines and magazine_binder)
L5954 🔴 global_write
Global write: cfg
Impact: low
Show code
cfg = nil
L5959 🔴 global_write
Global write: cfg
Impact: low
Show code
cfg = nil

ui_mcm_argb_input.script

L198 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Setting up colorblind control")
L25 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "ui_mcm_argb_input"
L26 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "2.1.1"
L27 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250428

utils_catspaw_common.script

L47 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((caller.logprefix or logprefix) .. logtext, ...)
L56 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((caller.logprefix or logprefix) .. (caller.vprefix or vprefix) .. logtext, ...)
L66 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((raw_prefix or "") .. logtext, ...)
L133 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "! Modded exes not detected! No extra features available.\n" ..
L139 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logdiv .. "@ Modded exes %s feature support (GAMMA: %s)", exes_version, using_gamma_modpack)
L141 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s %s (added %s): %s", v.enabled and "-" or "!", v.name, v.ver, v.func())
L143 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logdiv)
L499 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! ERROR: no INI filename passed to %s.load_file_data%s, cannot continue!", script_name, args.called_by and (" by " ..args.called_by) or "")
L504 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local function dl(s, ...) return log and printf(s, ...) end
L630 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_common"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.15"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250530
L73 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L74 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L75 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[CatsyUtils] " -- gets prefixed, optional
L76 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = "[V] " -- gets added to verbose log entries, optional
L94 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L95 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L101 🔴 global_write
Global write: logdiv
Impact: low
Show code
logdiv = "~ ------------------------------------------------------------------------\n"
L107 🔴 global_write
Global write: engine_features
Impact: low
Show code
engine_features = {
L119 🔴 global_write
Global write: using_gamma_modpack
Impact: low
Show code
using_gamma_modpack = game_version:find("G.A.M.M.A.") and true or false
L121 🔴 global_write
Global write: using_modded_exes
Impact: low
Show code
using_modded_exes = using_gamma_modpack or exes_version and true or false
L246 🔴 global_write
Global write: easing
Impact: low
Show code
easing = {

utils_catspaw_hudmarks.script

L281 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[utils_catspaw_hudmarks.fade_by_dist] Fading elements by dist %s:\n"..
L1427 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = debug_dump and printf("[UIHUDMarker:Update][%s][%s] Killswitch checks passed", self.mark_id, time_global())
L1529 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ ========================================================================")
L1530 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[UIHUDMarker:Update][First update for ID %s]%s", self.mark_id, typedata)
L1531 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_ = self.custom_argb and printf("Found custom_argb: %s,%s,%s,%s", self.custom_argb.a, self.custom_argb.r, self.custom_argb.g, self.custom_argb.b)
L1532 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("HUD Marker %s (%s) | obj %s - online: %s\n* Level: %s | Dist: %sm%s",
L1535 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ ========================================================================")
L1695 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_hudmarks"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.3"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250717
L54 🔴 global_write
Global write: debug_dump
Impact: low
Show code
debug_dump = false -- flag used to dump one-time detailed info for certain things
L55 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L56 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L57 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = ""
L58 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = ""
L74 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L75 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L76 🔴 global_write
Global write: debug_dump
Impact: low
Show code
if (debug_dump ~= nil) then debug_dump = dump_en end
L118 🔴 global_write
Global write: marker_presets
Impact: low
Show code
marker_presets = {

utils_catspaw_mapspots.script

L281 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_mapspots"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.1"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250406
L35 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[Catsy:Mapspots] "
L36 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L37 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L38 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = ""
L54 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L55 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L66 🔴 global_write
Global write: task_mapspot_whitelist
Impact: low
Show code
task_mapspot_whitelist = {
L73 🔴 global_write
Global write: mapspot_data_cache
Impact: low
Show code
mapspot_data_cache = {}
L221 🔴 global_write
Global write: mapspot_data_cache
Impact: low
Show code
mapspot_data_cache = {}

utils_catspaw_taskmonitor.script

L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_taskmonitor"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.0"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250324

utils_catspaw_text.script

L797 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loaded %s v%s (rel %s)", script_name, script_version, release_date)
L4 🔴 global_write
Global write: script_name
Impact: low
Show code
script_name = "utils_catspaw_text"
L5 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.11"
L6 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20250717
L37 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = false
L38 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = false
L39 🔴 global_write
Global write: logprefix
Impact: low
Show code
logprefix = "[CatsyText] "
L40 🔴 global_write
Global write: vprefix
Impact: low
Show code
vprefix = ""
L56 🔴 global_write
Global write: debuglogs
Impact: low
Show code
if (debug_en ~= nil) then debuglogs = debug_en end
L57 🔴 global_write
Global write: verbose
Impact: low
Show code
if (verbose_en ~= nil) then verbose = verbose_en end
L82 🔴 global_write
Global write: tokens_generated
Impact: low
Show code
tokens_generated = false
L297 🔴 global_write
Global write: state_tokens
Impact: low
Show code
state_tokens = {}
L298 🔴 global_write
Global write: state_colors
Impact: low
Show code
state_colors = {
L423 🔴 global_write
Global write: wpo_thresholds
Impact: low
Show code
wpo_thresholds = {
L771 🔴 global_write
Global write: safename
Impact: low
Show code
safename = bestname -- alias for backwards compatibility

z_apm_popup_pickup_dotmarks.script

L29 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = (DEV_DEBUG or (ui_hud_dotmarks and ui_hud_dotmarks.debuglogs)) and printf("z_apm_popup_pickup_dotmarks is monkeypatching APM to fix duplicate pop-up messages")
L25 🔴 global_write
Global write: timeout
Impact: low
Show code
timeout = 2000
L26 🔴 global_write
Global write: pickups
Impact: low
Show code
pickups = {}

z_fdda_pickup_intercept_dotmarks.script

L19 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = (DEV_DEBUG or (ui_hud_dotmarks and ui_hud_dotmarks.debuglogs)) and printf("[DotMarks] FDDA Redone detected, patching liz_fdda_redone_item_pickups.actor_on_item_before_pickup")
L31 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = (DEV_DEBUG or (ui_hud_dotmarks and ui_hud_dotmarks.debuglogs)) and printf("[DotMarks] FDDA detected, patching take_item_anim.actor_on_item_before_pickup")
L13 🔴 global_write
Global write: fddar_oibp
Impact: low
Show code
fddar_oibp = liz_fdda_redone_item_pickup and liz_fdda_redone_item_pickup.actor_on_item_before_pickup
L14 🔴 global_write
Global write: fdda_oibp
Impact: low
Show code
fdda_oibp = take_item_anim and take_item_anim.actor_on_item_before_pickup
L15 🔴 global_write
Global write: patched
Impact: low
Show code
patched = false
L18 🔴 global_write
Global write: patched
Impact: low
Show code
patched = true
L30 🔴 global_write
Global write: patched
Impact: low
Show code
patched = true

z_hf_furniture_types_init_stash_name.script

L44 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = (DEV_DEBUG or (ui_hud_dotmarks and ui_hud_dotmarks.debuglogs)) and printf("z_hf_furniture_types_init_stash_name is monkeypatching hf_furniture types to give stashes more useful names")

z_ui_inventory_dotmarks.script

L18 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = log and printf("[%s] Trying to start inventory in %s mode for container %s (%s)", time_global(), mode, obj and obj:name(), obj and obj:id())
L26 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
_ = log and printf("[%s][z_ui_inventory_dotmarks] cfg.block_loot_window is true, blocking access to container %s (%s)", time_global(), obj and obj:name(), obj and obj:id())

zz_autoloot_dotmarks.script

L44 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = (DEV_DEBUG or (ui_hud_dotmarks and ui_hud_dotmarks.debuglogs)) and printf("zz_autoloot_dotmarks is monkeypatching z_auto_looter")
L39 🔴 global_write
Global write: override_id
Impact: low
Show code
override_id = nil
L40 🔴 global_write
Global write: last_loot_remote
Impact: low
Show code
last_loot_remote = false
L47 🔴 global_write
Global write: last_loot_remote
Impact: low
Show code
last_loot_remote = false
L49 🔴 global_write
Global write: last_loot_remote
Impact: low
Show code
last_loot_remote = true
L51 🔴 global_write
Global write: override_id
Impact: low
Show code
override_id = nil
L69 🔴 global_write
Global write: last_loot_remote
Impact: low
Show code
last_loot_remote = true

zzzz_wounded_heal_anim_dotmarks.script

L26 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
local _ = (DEV_DEBUG or (ui_hud_dotmarks and ui_hud_dotmarks.debuglogs)) and printf("zzzz_wounded_heal_anim_dotmarks is monkeypatching zzz_wounded_heal_anim to allow integration")

Interactive 3D PDA Redux (unofficial update 5)

17 files (🟢3 🟡7 🔴77 🔵7)

pda_inter_gui.script

L903 🟡 string_concat_in_loop
String concat in loop: s1 = s1 .. x
Impact: critical
Show code
for i = 1, #t do s1 = s1 .. string.char(t[i]) end
L1233 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L19 🔴 global_write
Global write: xml
Impact: low
Show code
xml = CScriptXmlInit()
L22 🔴 global_write
Global write: actions_to_unbind
Impact: low
Show code
actions_to_unbind = {
L38 🔴 global_write
Global write: keys_ini
Impact: low
Show code
keys_ini = ini_file_ex("plugins\\key_to_DIK.ltx")
L39 🔴 global_write
Global write: last_3d_state
Impact: low
Show code
last_3d_state = false
L40 🔴 global_write
Global write: exc_key_btns
Impact: low
Show code
exc_key_btns = {
L48 🔴 global_write
Global write: pda_max_tasks
Impact: low
Show code
pda_max_tasks = pda_inter_mcm.get_config("task_max_tasks")
L50 🔴 global_write
Global write: pda_open_key
Impact: low
Show code
pda_open_key = pda_inter_mcm.get_config("int_pda_key")
L52 🔴 global_write
Global write: Custom_PDA_debug
Impact: low
Show code
Custom_PDA_debug = pda_inter_mcm.get_config("debugx")
L55 🔴 global_write
Global write: main_menu_btns
Impact: low
Show code
main_menu_btns = 7
L56 🔴 global_write
Global write: task_menu_btns
Impact: low
Show code
task_menu_btns = 10
L97 🔴 global_write
Global write: pda_msg_states
Impact: low
Show code
pda_msg_states = {
L107 🔴 global_write
Global write: pda_notes_t
Impact: low
Show code
pda_notes_t = {}
L110 🔴 global_write
Global write: pdax_level_list
Impact: low
Show code
pdax_level_list = {
L158 🔴 global_write
Global write: pdax_mutant_list
Impact: low
Show code
pdax_mutant_list = {
L180 🔴 global_write
Global write: pdax_artefact_list
Impact: low
Show code
pdax_artefact_list = {
L227 🔴 global_write
Global write: pda_inter_bp
Impact: low
Show code
pda_inter_bp = false
L231 🔴 global_write
Global write: pda_opened
Impact: low
Show code
pda_opened = false -- just in case
L322 🔴 global_write
Global write: M_locked
Impact: low
Show code
M_locked = false
L323 🔴 global_write
Global write: removelet
Impact: low
Show code
removelet = false
L342 🔴 global_write
Global write: removelet
Impact: low
Show code
removelet = false
L362 🔴 global_write
Global write: removelet
Impact: low
Show code
removelet = true
L405 🔴 global_write
Global write: pda_opened
Impact: low
Show code
pda_opened = true
L412 🔴 global_write
Global write: last_3d_state
Impact: low
Show code
last_3d_state = get_console_cmd(1,"g_3d_pda")
L917 🔴 global_write
Global write: pda_inter_bp
Impact: low
Show code
if gt_snake_b1t then pda_inter_bp = true end
L1047 🔴 global_write
Global write: pda_opened
Impact: low
Show code
pda_opened = false
L1245 🔴 global_write
Global write: pda_msg_states
Impact: low
Show code
pda_msg_states = m_data.pda_msg_states or { { state = 0, big_menu = true }, { state = 0, big_menu = true }, { state = 0, big_menu = false }, { state = 0, big_menu = true }, { state = 0, big_menu = false }, { state = 0, big_menu = false }, { state = 0, big_menu = true } }
L1247 🔴 global_write
Global write: pda_notes_t
Impact: low
Show code
pda_notes_t = m_data.pda_notes_t or {}
L1260 🔴 global_write
Global write: pda_opened
Impact: low
Show code
pda_opened = false
L1307 🔴 global_write
Global write: pda_open_key
Impact: low
Show code
pda_open_key = pda_inter_mcm.get_config("int_pda_key")
L1308 🔴 global_write
Global write: pda_max_tasks
Impact: low
Show code
pda_max_tasks = pda_inter_mcm.get_config("task_max_tasks")
L1309 🔴 global_write
Global write: Custom_PDA_debug
Impact: low
Show code
Custom_PDA_debug = pda_inter_mcm.get_config("debugx")
L1313 🔴 global_write
Global write: dik_to_num
Impact: low
Show code
dik_to_num = keys_ini:collect_section(section)

pda_inter_gui_a_raid.script

L1 🔴 global_write
Global write: pmain
Impact: low
Show code
pmain = pda_inter_gui

pda_inter_gui_b_info.script

L1 🔴 global_write
Global write: pmain
Impact: low
Show code
pmain = pda_inter_gui

pda_inter_gui_c_games.script

L207 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("slots launch")
L10 🔴 global_write
Global write: pmain
Impact: low
Show code
pmain = pda_inter_gui
L15 🔴 global_write
Global write: games_amount
Impact: low
Show code
games_amount = 5
L17 🔴 global_write
Global write: puzzle_reward
Impact: low
Show code
puzzle_reward = pda_inter_mcm.get_config("puzzle_reward")
L18 🔴 global_write
Global write: slots_bet
Impact: low
Show code
slots_bet = pda_inter_mcm.get_config("slots_bet")
L19 🔴 global_write
Global write: sudoku_reward
Impact: low
Show code
sudoku_reward = pda_inter_mcm.get_config("sudoku_reward")
L20 🔴 global_write
Global write: sudoku_diff
Impact: low
Show code
sudoku_diff = pda_inter_mcm.get_config("sudoku_diff")
L1175 🔴 global_write
Global write: puzzle_reward
Impact: low
Show code
puzzle_reward = pda_inter_mcm.get_config("puzzle_reward")
L1176 🔴 global_write
Global write: slots_bet
Impact: low
Show code
slots_bet = pda_inter_mcm.get_config("slots_bet")
L1177 🔴 global_write
Global write: sudoku_reward
Impact: low
Show code
sudoku_reward = pda_inter_mcm.get_config("sudoku_reward")
L1178 🔴 global_write
Global write: sudoku_diff
Impact: low
Show code
sudoku_diff = pda_inter_mcm.get_config("sudoku_diff")

pda_inter_gui_c_games_rogue.script

L9 🔴 global_write
Global write: pda_rogue_game
Impact: low
Show code
pda_rogue_game = {}
L477 🔴 global_write
Global write: pda_rogue_game
Impact: low
Show code
pda_rogue_game = m_data.pda_rogue_game or {}

pda_inter_gui_c_games_rogue_level_gen.script

L137 🟡 string_concat_in_loop
String concat in loop: adj_str = adj_str .. x
Impact: critical
Show code
adj_str = adj_str .. "u"
L225 🟡 string_concat_in_loop
String concat in loop: adj_str = adj_str .. x
Impact: critical
Show code
adj_str = adj_str .. "u"
L27 🔴 global_write
Global write: start_cells
Impact: low
Show code
walls_map, start_cells = self:LevelWildGenerate(self.grid_w, self.grid_h, wall_percents)

pda_inter_gui_d_trade.script

L1 🔴 global_write
Global write: pmain
Impact: low
Show code
pmain = pda_inter_gui

pda_inter_gui_e_notes.script

L34 🟡 string_concat_in_loop
String concat in loop: big_str = big_str .. x
Impact: critical
Show code
big_str = big_str .. yel_clr_str .. pmain.pda_notes_t[i][1] .. white_clr_str .. pmain.pda_notes_t[i][2] .. def_clr_str .. pmain.pda_notes_t[i][3]
L336 🟡 string_concat_in_loop
String concat in loop: big_str = big_str .. x
Impact: critical
Show code
big_str = big_str .. yel_clr_str .. pmain.pda_notes_t[i][1] .. white_clr_str .. pmain.pda_notes_t[i][2] .. def_clr_str .. pmain.pda_notes_t[i][3]
L1 🔴 global_write
Global write: pmain
Impact: low
Show code
pmain = pda_inter_gui

pda_inter_gui_f_banter.script

L1 🔴 global_write
Global write: pmain
Impact: low
Show code
pmain = pda_inter_gui

pda_inter_gui_g_tasks.script

L182 🟡 string_concat_in_loop
String concat in loop: reward = reward .. x
Impact: critical
Show code
reward = reward .. " " .. gt("pda_task_reward_hour")
L1 🔴 global_write
Global write: pmain
Impact: low
Show code
pmain = pda_inter_gui

pda_inter_mcm.script

L339 🟡 string_concat_in_loop
String concat in loop: new_str = new_str .. x
Impact: critical
Show code
new_str = new_str .. t[i][j] .. "\n"
L163 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "pda_inter" ,gr={

pda_inter_utils.script

L13 🔴 global_write
Global write: pda_inter_utils
Impact: low
Show code
pda_inter_utils = {}

pda_inter_x_banter.script

L527 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L425 🔴 global_write
Global write: npc_name
Impact: low
Show code
npc_name = gt("st_faction_" .. se_npc:community())
L428 🔴 global_write
Global write: npc_name
Impact: low
Show code
npc_name = str and gt(strings[str])

pda_inter_x_buyinfo.script

L391 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L1 🔴 global_write
Global write: Find_available_messages
Impact: low
Show code
Find_available_messages = {} -- slowly add npcs to this table
L319 🔴 global_write
Global write: Find_available_messages
Impact: low
Show code
Find_available_messages = {}

pda_inter_x_raid.script

L431 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L1 🔴 global_write
Global write: Raid_available_squads
Impact: low
Show code
Raid_available_squads = {}
L2 🔴 global_write
Global write: Hired_squad
Impact: low
Show code
Hired_squad = { id = false, start_time = false, duration = false, danger = false, icon = "default" }
L439 🔴 global_write
Global write: Hired_squad
Impact: low
Show code
Hired_squad = m_data.Hired_squad or { id = false, start_time = false, duration = false, danger = false, icon = "default" }

pda_inter_x_tasks.script

L728 🟢 repeated_alife
alife called 4x in add_giver
Impact: low
Show code
local sim = alife()
L1476 🟢 repeated_item_section()
item:section() called 3x in manage_fetch_items_task
Impact: low
Show code
Cache item:section() result
L1497 🟢 repeated_itm_section()
itm:section() called 3x in release_items
Impact: low
Show code
Cache itm:section() result
L3155 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L44 🔴 global_write
Global write: Tasks_available_givers
Impact: low
Show code
Tasks_available_givers = {} -- clear this (to display in GUI)
L45 🔴 global_write
Global write: Active_pda_tasks
Impact: low
Show code
Active_pda_tasks = {} -- save this (tasks that we took)
L49 🔴 global_write
Global write: all_potential_givers
Impact: low
Show code
all_potential_givers = {} -- first update collects all possible givers (global for banter)
L3145 🔴 global_write
Global write: Active_pda_tasks
Impact: low
Show code
Active_pda_tasks = m_data.Active_pda_tasks or {}

pda_inter_x_trade.script

L717 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L2 🔴 global_write
Global write: Trade_available_messages
Impact: low
Show code
Trade_available_messages = {}
L3 🔴 global_write
Global write: Ordered_items
Impact: low
Show code
Ordered_items = {}
L4 🔴 global_write
Global write: delivered_stashes
Impact: low
Show code
delivered_stashes = {}
L8 🔴 global_write
Global write: categorized_items
Impact: low
Show code
categorized_items = {}
L38 🔴 global_write
Global write: Delivery_blacklisted_levels
Impact: low
Show code
Delivery_blacklisted_levels = { ["l03u_agr_underground"] = true, ["y04_pole"] = true, ["k01_darkscape"] = true, ["l04u_labx18"] = true, ["l08u_brainlab"] = true, ["jupiter_underground"] = true, ["l10u_bunker"] = true, ["labx8"] = true, ["l12u_control_monolith"] = true, ["l12u_sarcofag"] = true, ["l13u_warlab"] = true, ["bunker_a1"] = true, ["collaider"] = true }
L365 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = trade_ini:r_line_ex(to_collect[i], j, "", "")
L365 🔴 global_write
Global write: id
Impact: low
Show code
result, id, value = trade_ini:r_line_ex(to_collect[i], j, "", "")
L365 🔴 global_write
Global write: value
Impact: low
Show code
result, id, value = trade_ini:r_line_ex(to_collect[i], j, "", "")
L614 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = stash_ini:r_line_ex(selected_level, i, "", "")
L614 🔴 global_write
Global write: id
Impact: low
Show code
result, id, value = stash_ini:r_line_ex(selected_level, i, "", "")
L614 🔴 global_write
Global write: value
Impact: low
Show code
result, id, value = stash_ini:r_line_ex(selected_level, i, "", "")
L726 🔴 global_write
Global write: Ordered_items
Impact: low
Show code
Ordered_items = m_data.Ordered_items or {}
L727 🔴 global_write
Global write: delivered_stashes
Impact: low
Show code
delivered_stashes = m_data.delivered_stashes or {}

IntroScreen

2 files (🟢0 🟡0 🔴4 🔵0)

serious_intro_screen_mcm.script

L6 🔴 global_write
Global write: op
Impact: low
Show code
op = {

stolen_from_catspaws_secret_lab.script

L1 🔴 global_write
Global write: abort_fade
Impact: low
Show code
abort_fade = false
L15 🔴 global_write
Global write: alpha_start
Impact: low
Show code
alpha_start = 255
L16 🔴 global_write
Global write: alpha_end
Impact: low
Show code
alpha_end = 0

IntroScreenAddon

2 files (🟢0 🟡0 🔴4 🔵0)

serious_intro_screen_mcm.script

L6 🔴 global_write
Global write: op
Impact: low
Show code
op = {

stolen_from_catspaws_secret_lab.script

L1 🔴 global_write
Global write: abort_fade
Impact: low
Show code
abort_fade = false
L15 🔴 global_write
Global write: alpha_start
Impact: low
Show code
alpha_start = 255
L16 🔴 global_write
Global write: alpha_end
Impact: low
Show code
alpha_end = 0

Inventory_Weights_Revised

1 file (🟢0 🟡0 🔴3 🔵0)

utils_ui_demonized_inventory_weights.script

L5 🔴 global_write
Global write: ui_cell_item_update
Impact: low
Show code
ui_cell_item_update = utils_ui.UICellItem.Update
L8 🔴 global_write
Global write: obj
Impact: low
Show code
obj = obj or (self.ID and level.object_by_id(self.ID))
L23 🔴 global_write
Global write: ui_cell_item_reset
Impact: low
Show code
ui_cell_item_reset = utils_ui.UICellItem.Reset

Kalishs_More_PDA_News

5 files (🟢0 🟡1 🔴20 🔵34)

axr_turn_on_campfire.script

L81 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("RUNNING KALISH CAMPFIRE SCRIPT")
L324 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_corpse_detection: no action id p[%s]",i)
L9 🔴 global_write
Global write: evaid
Impact: low
Show code
evaid = 188114
L10 🔴 global_write
Global write: actid
Impact: low
Show code
actid = 188114
L16 🔴 global_write
Global write: already_selected
Impact: low
Show code
already_selected = {}
L84 🔴 global_write
Global write: se
Impact: low
Show code
se = npc:character_name()

dynamic_news_manager.script

L1169 🟡 string_concat_in_loop
String concat in loop: msg = msg .. x
Impact: critical
Show code
msg = msg .. strformat("\\n%s-%s %s%s-%s%s%s, %s %s, %s.",clr_1,clr_2,y1,y2,z1,z2,z3,a,b,c)
L398 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Picking random news event")
L670 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("s_type: %s", s_type)
L2001 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ News couldn't be sent because it involves special character [%s], he's missing? \nMessage: %s", fac_profile[k], msg_pick)
L2079 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Gossip failed to get npc")
L2241 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("BANTER PAIR, banter: %s, reply: %s", banter, reply)
L2248 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("KALISH RANDOM FACT CALL")
L2256 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("KALISH RANDOM FACT: unable to find sender")
L2275 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Attempting to REPLY TO RANDOM FACT")
L2278 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("KALISH RANDOM FACT: unable to find sender")
L12 🔴 global_write
Global write: enable_news
Impact: low
Show code
enable_news = true -- useful for pausing news if set to false
L2341 🔴 global_write
Global write: actor_name
Impact: low
Show code
actor_name = se_actor:character_name()

sim_offline_combat.script

L143 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% OCS | Battle in smart [%s]", smart:name())
L144 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("------------------------------------------------------------------------")
L155 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% OCS | Battle in smart [%s]", smart:name())
L156 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("------------------------------------------------------------------------")
L170 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!!! TRYING TO REGISTER NON-SQUAD AS SQUAD")
L209 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("------------------------------------------------------------------------")
L220 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("------------------------------------------------------------------------")
L363 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- OCS | Combat Distance: %s - Execlude special characters: %s - Mutants included: %s", opt_dist, opt_exclude, can_fight_mutant)
L426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% OCS | [%s] is special, [%s] is removed", squad_1:name(), squad_2:name())
L440 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("% OCS | [%s] is special, [%s] is removed", squad_2:name(), squad_1:name())
L511 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("BANTER PAIR, banter: %s, reply: %s", banter, reply)
L518 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Attempting to send battle banter")
L527 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Attempting to send battle banter 1")
L532 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Attempting to send battle banter 2")
L577 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("OFFLINE BATTLE OCCURRED BETWEEN %s and %s", squad_1:name(), squad_2:name())
L585 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ OCS | %s | Attacker [%s](Power: %s) vs Victim [%s](Power: %s) | Damage: %s",
L596 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! OCS | Squad gone [%s] | Moment: %s sec", squad_2:name(), math_ceil(time_global()/1000))
L615 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ OCS | Squad [%s] lost NPC [%s] | Remaining power: %s | Moment: %s sec", squad_2:name(), se_victim:name(), ocs_power[id_2], math_ceil(time_global()/1000))
L622 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! OCS | Squad gone [%s] | Moment: %s sec", squad_2:name(), math_ceil(time_global()/1000))
L53 🔴 global_write
Global write: task_squads
Impact: low
Show code
task_squads = {}
L55 🔴 global_write
Global write: story_id_communities
Impact: low
Show code
story_id_communities = {}
L56 🔴 global_write
Global write: ignore_list
Impact: low
Show code
ignore_list = {}
L59 🔴 global_write
Global write: ocs_power
Impact: low
Show code
ocs_power = {}
L60 🔴 global_write
Global write: opponents
Impact: low
Show code
opponents = {}
L61 🔴 global_write
Global write: squads_by_level
Impact: low
Show code
squads_by_level = {}
L140 🔴 global_write
Global write: in_combat
Impact: low
Show code
in_combat = validate_enemy(sim, lid_1, squad_1, id_1, id_t, community_1)
L152 🔴 global_write
Global write: in_combat
Impact: low
Show code
in_combat = validate_enemy(sim, lid_1, squad_1, id_1, id_2, community_1)
L533 🔴 global_write
Global write: npc_c
Impact: low
Show code
npc_c = npc_a
L831 🔴 global_write
Global write: task_squads
Impact: low
Show code
task_squads = m_data.offline_task_squads or {}

tasks_guide.script

L138 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log('! , = '..cycle_id..' !')
L343 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("TRYING TO SEND DYNAMIC REQUEST FOR ESCORT")
L489 🔴 global_write
Global write: action
Impact: low
Show code
then action=""
L509 🔴 global_write
Global write: action
Impact: low
Show code
action=""

xr_wounded.script

L162 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("wrong wounded animation %s", self.object:name())
L198 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("wrong wounded animation %s", self.object:name())
L240 🔴 global_write
Global write: hp
Impact: low
Show code
hp = 100*self.npc.health
L241 🔴 global_write
Global write: psy
Impact: low
Show code
psy = 100*self.npc.psy_health

Kute's Free Zoom Rewrite

2 files (🟢0 🟡0 🔴89 🔵9)

Free_ZoomV2_mcm.script

L3 🔴 global_write
Global write: target_fov
Impact: low
Show code
target_fov = 60
L4 🔴 global_write
Global write: mouse_to_fov
Impact: low
Show code
mouse_to_fov = 0.5
L5 🔴 global_write
Global write: hud_to_fov
Impact: low
Show code
hud_to_fov = 0.5
L7 🔴 global_write
Global write: adsing
Impact: low
Show code
adsing = false
L8 🔴 global_write
Global write: freezooming
Impact: low
Show code
freezooming = false
L9 🔴 global_write
Global write: special_gun
Impact: low
Show code
special_gun = false
L10 🔴 global_write
Global write: is_pistol
Impact: low
Show code
is_pistol = false
L15 🔴 global_write
Global write: GuiOpening
Impact: low
Show code
GuiOpening = {}
L18 🔴 global_write
Global write: special_weapons
Impact: low
Show code
special_weapons={
L60 🔴 global_write
Global write: fov_before
Impact: low
Show code
fov_before = get_console_cmd(2, "fov")
L61 🔴 global_write
Global write: hud_fov_before
Impact: low
Show code
hud_fov_before = get_console_cmd(2, "hud_fov")
L62 🔴 global_write
Global write: mouse_sens_before
Impact: low
Show code
mouse_sens_before = get_console_cmd(2, "mouse_sens")
L63 🔴 global_write
Global write: mouse_to_fov
Impact: low
Show code
mouse_to_fov = mouse_sens_before/fov_before
L64 🔴 global_write
Global write: hud_to_fov
Impact: low
Show code
hud_to_fov = hud_fov_before/fov_before
L66 🔴 global_write
Global write: hud_fov_backup
Impact: low
Show code
hud_fov_backup = get_console_cmd(2, "hud_fov")
L69 🔴 global_write
Global write: hud_fov_backup
Impact: low
Show code
hud_fov_backup=hud_fov_before/pistol_mult
L74 🔴 global_write
Global write: pistol_mult
Impact: low
Show code
pistol_mult = ui_mcm.get("free_zoom/pistol_mult") or 1.15
L75 🔴 global_write
Global write: ads_mult
Impact: low
Show code
ads_mult = ui_mcm.get("free_zoom/ads_mult") or 0.85
L76 🔴 global_write
Global write: free_zoom_mult
Impact: low
Show code
free_zoom_mult = ui_mcm.get("free_zoom/free_zoom_mult") or 0.61
L77 🔴 global_write
Global write: freezoom_toggleable
Impact: low
Show code
freezoom_toggleable = ui_mcm.get("free_zoom/freezoom_toggleable") or false
L79 🔴 global_write
Global write: target_fov
Impact: low
Show code
target_fov = fov_before
L136 🔴 global_write
Global write: fov_before
Impact: low
Show code
fov_before = get_console_cmd(2, "fov")
L137 🔴 global_write
Global write: hud_fov_before
Impact: low
Show code
hud_fov_before = get_console_cmd(2, "hud_fov")
L138 🔴 global_write
Global write: mouse_sens_before
Impact: low
Show code
mouse_sens_before = get_console_cmd(2, "mouse_sens")
L139 🔴 global_write
Global write: mouse_to_fov
Impact: low
Show code
mouse_to_fov = mouse_sens_before/fov_before
L140 🔴 global_write
Global write: hud_to_fov
Impact: low
Show code
hud_to_fov = hud_fov_before/fov_before
L141 🔴 global_write
Global write: target_fov
Impact: low
Show code
target_fov = fov_before
L151 🔴 global_write
Global write: is_pistol
Impact: low
Show code
is_pistol = SYS_GetParam(0, sec, "kind", "") == "w_pistol"
L153 🔴 global_write
Global write: hud_fov_before
Impact: low
Show code
hud_fov_before = hud_fov_backup * pistol_mult
L155 🔴 global_write
Global write: hud_fov_before
Impact: low
Show code
hud_fov_before = hud_fov_backup
L159 🔴 global_write
Global write: special_gun
Impact: low
Show code
special_gun = true
L160 🔴 global_write
Global write: hud_fov_before
Impact: low
Show code
hud_fov_before = special_weapons[sec_p]
L162 🔴 global_write
Global write: special_gun
Impact: low
Show code
special_gun = false
L163 🔴 global_write
Global write: hud_fov_before
Impact: low
Show code
hud_fov_before = hud_fov_backup
L166 🔴 global_write
Global write: hud_to_fov
Impact: low
Show code
hud_to_fov = hud_fov_before/fov_before
L168 🔴 global_write
Global write: target_fov
Impact: low
Show code
target_fov = fov_before * free_zoom_mult
L170 🔴 global_write
Global write: target_fov
Impact: low
Show code
target_fov = fov_before
L194 🔴 global_write
Global write: scoped
Impact: low
Show code
scoped = wpn:cast_Weapon():IsScopeAttached()
L195 🔴 global_write
Global write: zoomed
Impact: low
Show code
zoomed = wpn:cast_Weapon():IsZoomed()
L199 🔴 global_write
Global write: target_fov
Impact: low
Show code
target_fov=target_fov*free_zoom_mult
L201 🔴 global_write
Global write: freezooming
Impact: low
Show code
freezooming = true
L207 🔴 global_write
Global write: hud_to_fov
Impact: low
Show code
hud_to_fov = get_console_cmd(2, "hud_fov")/(fov_before*ads_mult)
L211 🔴 global_write
Global write: hud_to_fov
Impact: low
Show code
hud_to_fov = hud_fov_before/fov_before
L217 🔴 global_write
Global write: scoped
Impact: low
Show code
scoped = wpn:cast_Weapon():IsScopeAttached()
L218 🔴 global_write
Global write: zoomed
Impact: low
Show code
zoomed = wpn:cast_Weapon():IsZoomed()
L222 🔴 global_write
Global write: freezooming
Impact: low
Show code
freezooming = false
L223 🔴 global_write
Global write: target_fov
Impact: low
Show code
target_fov = target_fov / free_zoom_mult
L229 🔴 global_write
Global write: hud_to_fov
Impact: low
Show code
hud_to_fov = (get_console_cmd(2, "hud_fov")/free_zoom_mult)/(fov_before*ads_mult)
L233 🔴 global_write
Global write: hud_to_fov
Impact: low
Show code
hud_to_fov = hud_fov_before/fov_before
L247 🔴 global_write
Global write: scoped
Impact: low
Show code
scoped = wpn:cast_Weapon():IsScopeAttached()
L248 🔴 global_write
Global write: zoomed
Impact: low
Show code
zoomed = wpn:cast_Weapon():IsZoomed()
L252 🔴 global_write
Global write: target_fov
Impact: low
Show code
target_fov=target_fov*free_zoom_mult
L254 🔴 global_write
Global write: freezooming
Impact: low
Show code
freezooming = true
L260 🔴 global_write
Global write: hud_to_fov
Impact: low
Show code
hud_to_fov = get_console_cmd(2, "hud_fov")/(fov_before*ads_mult)
L264 🔴 global_write
Global write: hud_to_fov
Impact: low
Show code
hud_to_fov = hud_fov_before/fov_before
L278 🔴 global_write
Global write: scoped
Impact: low
Show code
scoped = wpn:cast_Weapon():IsScopeAttached()
L279 🔴 global_write
Global write: zoomed
Impact: low
Show code
zoomed = wpn:cast_Weapon():IsZoomed()
L283 🔴 global_write
Global write: freezooming
Impact: low
Show code
freezooming = false
L284 🔴 global_write
Global write: target_fov
Impact: low
Show code
target_fov = target_fov / free_zoom_mult
L290 🔴 global_write
Global write: hud_to_fov
Impact: low
Show code
hud_to_fov = (get_console_cmd(2, "hud_fov")/free_zoom_mult)/(fov_before*ads_mult)
L294 🔴 global_write
Global write: hud_to_fov
Impact: low
Show code
hud_to_fov = hud_fov_before/fov_before
L303 🔴 global_write
Global write: scoped
Impact: low
Show code
scoped = wpn:cast_Weapon():IsScopeAttached()
L304 🔴 global_write
Global write: zoomed
Impact: low
Show code
zoomed = wpn:cast_Weapon():IsZoomed()
L306 🔴 global_write
Global write: freezooming
Impact: low
Show code
freezooming = false
L311 🔴 global_write
Global write: target_fov
Impact: low
Show code
target_fov = target_fov/free_zoom_mult
L318 🔴 global_write
Global write: target_fov
Impact: low
Show code
target_fov = target_fov * ads_mult
L319 🔴 global_write
Global write: adsing
Impact: low
Show code
adsing = true
L329 🔴 global_write
Global write: adsing
Impact: low
Show code
adsing = false
L330 🔴 global_write
Global write: target_fov
Impact: low
Show code
target_fov = target_fov / ads_mult
L338 🔴 global_write
Global write: scoped
Impact: low
Show code
scoped = wpn:cast_Weapon():IsScopeAttached()
L339 🔴 global_write
Global write: zoomed
Impact: low
Show code
zoomed = wpn:cast_Weapon():IsZoomed()
L341 🔴 global_write
Global write: freezooming
Impact: low
Show code
freezooming = false
L342 🔴 global_write
Global write: target_fov
Impact: low
Show code
target_fov = target_fov / free_zoom_mult
L348 🔴 global_write
Global write: hud_to_fov
Impact: low
Show code
hud_to_fov = (get_console_cmd(2, "hud_fov")/free_zoom_mult)/(fov_before*ads_mult)
L352 🔴 global_write
Global write: hud_to_fov
Impact: low
Show code
hud_to_fov = hud_fov_before/fov_before
L361 🔴 global_write
Global write: target_fov
Impact: low
Show code
target_fov = fov_before
L363 🔴 global_write
Global write: freezooming
Impact: low
Show code
freezooming = false
L380 🔴 global_write
Global write: adsing
Impact: low
Show code
adsing = false
L381 🔴 global_write
Global write: freezooming
Impact: low
Show code
freezooming = false
L382 🔴 global_write
Global write: special_gun
Impact: low
Show code
special_gun = false
L383 🔴 global_write
Global write: is_pistol
Impact: low
Show code
is_pistol = false
L387 🔴 global_write
Global write: hud_fov_before
Impact: low
Show code
hud_fov_before = hud_fov_backup
L388 🔴 global_write
Global write: hud_to_fov
Impact: low
Show code
hud_to_fov = hud_fov_before/fov_before
L389 🔴 global_write
Global write: mouse_to_fov
Impact: low
Show code
mouse_to_fov = mouse_sens_before/fov_before
L390 🔴 global_write
Global write: target_fov
Impact: low
Show code
target_fov = fov_before
L392 🔴 global_write
Global write: GuiOpening
Impact: low
Show code
GuiOpening = {}
L400 🔴 global_write
Global write: freezooming
Impact: low
Show code
freezooming = false
L401 🔴 global_write
Global write: target_fov
Impact: low
Show code
target_fov = target_fov / free_zoom_mult
L437 🔴 global_write
Global write: hud_fov_backup
Impact: low
Show code
hud_fov_backup = get_console_cmd(2, "hud_fov")

demonized_time_events.script

L36 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L39 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L41 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L46 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L48 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L52 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L54 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L59 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L61 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)

Log spam remover

1 file (🟢0 🟡0 🔴18 🔵56)

_g.script

L76 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("S.T.A.L.K.E.R. Anomaly version %s",GAME_VERSION)
L79 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("using marshal library")
L594 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: Trying to load scheme that does not exist! %s",filename)
L627 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(fmt,...)
L631 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if DEV_DEBUG then printf(fmt,...) end
L652 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log(fmt)
L693 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log( "STACK TRACEBACK: " .. str )
L696 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log( "~ ------------------------------------------------------------------------" )
L697 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log( "~ STACK TRACEBACK:" )
L698 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log( str )
L699 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log( "~ ------------------------------------------------------------------------" )
L708 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR exec_console_cmd | missing command")
L725 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR exec_console_cmd | missing command")
L878 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR str_explode | missing parameter str = %s, sep = %s",str,sep)
L1055 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: get_clsid - obj is nil!")
L1060 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: no clsid method for %s",obj:name())
L1128 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR set_save_marker:%s: WARNING! may be this is problem save point dif=%s",prefix,dif)
L1135 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR set_save_marker:%s: INCORRECT LOAD dif=%s c_dif=%s", prefix, dif, c_dif)
L1385 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~IsMoveState | state {%s) not found ", state)
L1410 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# reload_system_ini")
L1412 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! reload_system_ini is not supported in engine")
L1472 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: section [%s] don't exist! Reading from section: %s - value: %s", result, s, k)
L1524 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: section [%s] don't exist! Reading from section: %s - value: %s", result, s, k)
L1679 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR SYS_GetParam(%s, %s, %s) | What's missing?", typ, sec, param)
L1868 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."{")
L1871 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = ", g_tostring(k))
L1874 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = \"func\",", g_tostring(k))
L1876 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = \"userdata\",", g_tostring(k))
L1878 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = \"%s\",", g_tostring(k), g_tostring(v))
L1880 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s,", g_tostring(k), g_tostring(v))
L1883 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."},")
L2028 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ALIFE OBJECT ID IS %s!",id)
L2073 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: alife_create | invalid usedata type")
L2081 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: alife_create | section [%s] is invalid!",sec)
L2085 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: invalid parameter for alife():create!",sec)
L2103 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: alife_create | failed to create object [%s]!",sec)
L2172 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: alife_release | no server object!")
L2178 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ alife_release [%s] (%s) | %s", se_obj:section_name(), se_obj.id, msg)
L2214 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: alife_release_id | no id passed!")
L2224 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: alife_clone_weapon | no server object passed!")
L2279 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("~WARNING alife ID storage is almost filled: %s", _ALIFE_CNT)
L2373 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR get_object_by_id | id (%s) is invalid", id)
L2383 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR get_object_by_id | no game object recieved from id (%s)", id)
L2538 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!save_var: Warning: no db.storage for %s, db.storage is for online objects only",id)
L2549 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!save_var: not registered type '%s' encountered [name=%s varname=%s ]", tv,obj:name(),varname)
L2555 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!WARNING: save_var ONLY USE LUA DATA TYPES!!! %s",varname)
L2565 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("load_var failed for %s", varname)
L2570 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!load_var: Warning: no db.storage for %s, db.storage is for online objects only", id)
L2584 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!save_ctime: Warning: no db.storage for %s, db.storage is for online objects only",id)
L2603 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!load_var: Warning: no db.storage for %s, db.storage is for online objects only",id)
L2715 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR SetEvent | no key is passed")
L2722 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~WARNING SetEvent | key: %s has value (%s) that got overwritten with a new table", k, _EVENT[k])
L2728 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR SetEvent | invalid arguments | k: %s - v: %s", k, v1)
L3295 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('a command named "%s" already exists', name)
L3425 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('%s online object is not available, %s will choose gun from engine', se_gun:name(), npc:name())
L3429 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('%s does not point to a valid gun in npc inventory, %s will choose gun from engine', flags.gun_id, npc:name())
L45 🔴 global_write
Global write: marshal
Impact: low
Show code
marshal = require "marshal"
L50 🔴 global_write
Global write: ini_sys
Impact: low
Show code
ini_sys = system_ini() -- global use for cached system_ini()
L53 🔴 global_write
Global write: mus_vol
Impact: low
Show code
mus_vol = 0 -- Used for temp sound muting
L54 🔴 global_write
Global write: amb_vol
Impact: low
Show code
amb_vol = 0 -- Used for temp sound muting
L55 🔴 global_write
Global write: timer_transparent
Impact: low
Show code
timer_transparent = 0 --
L501 🔴 global_write
Global write: lvl
Impact: low
Show code
lvl = sim:level_name(cvertex:level_id())
L590 🔴 global_write
Global write: schemes
Impact: low
Show code
schemes = {}
L591 🔴 global_write
Global write: schemes_by_stype
Impact: low
Show code
schemes_by_stype = {}
L738 🔴 global_write
Global write: time_infinite
Impact: low
Show code
time_infinite = 100000000
L1359 🔴 global_write
Global write: actor_move_states
Impact: low
Show code
actor_move_states = {
L1409 🔴 global_write
Global write: ini_sys
Impact: low
Show code
ini_sys = system_ini()
L1935 🔴 global_write
Global write: BoneID
Impact: low
Show code
BoneID = {
L1962 🔴 global_write
Global write: HitTypeID
Impact: low
Show code
HitTypeID = {
L1976 🔴 global_write
Global write: BoosterID
Impact: low
Show code
BoosterID = {
L2326 🔴 global_write
Global write: is_squad_monster
Impact: low
Show code
is_squad_monster = {
L2336 🔴 global_write
Global write: squad_community_by_behaviour
Impact: low
Show code
squad_community_by_behaviour = {
L3102 🔴 global_write
Global write: grenade_classes
Impact: low
Show code
grenade_classes = {
L3293 🔴 global_write
Global write: cmd
Impact: low
Show code
cmd = debug_cmd_list.command_get_list()

Looting takes time redux

1 file (🟢0 🟡1 🔴0 🔵7)

zzzz_loot_searching.script

L1634 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. " ."
L230 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LootTime] %s", msg)
L1770 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LootTime] Checking for Magazines Redux: magazines=%s, inventory_refresh=%s",
L1777 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LootTime] Magazines Redux detected, hooking inventory_refresh (block_sort=%s)", g_tostring(block_mags_redux_sort))
L1816 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LootTime] Checking for Sorting Plus: rax_icon_layers=%s, refresh=%s",
L1823 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LootTime] Sorting Plus detected, hooking rax_icon_layers.refresh")
L1854 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LootTime] Checking for iTheon Autolooter: z_auto_looter=%s, auto_looter=%s",
L1861 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LootTime] iTheon Autolooter detected, hooking auto_looter")

Looting_takes_time_

2 files (🟢0 🟡1 🔴1 🔵1)

loot_searching.script

L294 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. " ."
L55 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)

loot_searching_mcm.script

L28 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "loot_searching",sh=true ,gr={

Lower_Weapon_Sprint_Optimized

1 file (🟢0 🟡0 🔴1 🔵0)

lower_weapon_sprint_mcm.script

L14 🔴 global_write
Global write: opt
Impact: low
Show code
opt = {

Momopate's Anti Savecum

1 file (🟢0 🟡0 🔴0 🔵5)

momopate_savescummer_v2.script

L149 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/// SAVESCUMMER: G.A.M.M.A. is loaded!")
L182 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/// SAVESCUMMER: HarukaSai's skill system is loaded!")
L216 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/// SAVESCUMMER: WPO is loaded!")
L220 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s", wpn:parent():id())
L245 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/// SAVESCUMMER: ZCP is loaded!")

Momopate's Barrel Condition Effects Display

1 file (🟢0 🟡2 🔴25 🔵4)

zzzz_arti_jamming_repairs.script

L616 🟡 string_concat_in_loop
String concat in loop: display_str = display_str .. x
Impact: critical
Show code
display_str = display_str .. process_part(k, v)
L879 🟡 string_concat_in_loop
String concat in loop: str_msg = str_msg .. x
Impact: critical
Show code
str_msg = str_msg .. "\\n -" .. ui_item.get_sec_name(k)
L193 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts timer | no owner found")
L243 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ item_parts | no owner found for [%s]", obj:name())
L452 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIWorkshopRepair:Repair() | can't discharge toolkit with id (%s). Object not found!", self.toolkit_pick[i])
L470 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopRepair:Repair() | object with id (%s) is either not found. Or didn't register new condition (%s)!", id, final_con)
L7 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L8 🔴 global_write
Global write: has_parts
Impact: low
Show code
has_parts = arti_jamming.has_parts
L9 🔴 global_write
Global write: is_part
Impact: low
Show code
is_part = arti_jamming.is_part
L10 🔴 global_write
Global write: print_dbg
Impact: low
Show code
print_dbg = arti_jamming.print_dbg
L11 🔴 global_write
Global write: print_ws
Impact: low
Show code
print_ws = ui_workshop.print_ws
L12 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = a_arti_jamming_mcm.get_config
L13 🔴 global_write
Global write: math_floor
Impact: low
Show code
math_floor = math.floor
L14 🔴 global_write
Global write: current_id
Impact: low
Show code
current_id = arti_jamming.current_id
L15 🔴 global_write
Global write: reset_cgd
Impact: low
Show code
reset_cgd = arti_jamming.reset_cgd
L16 🔴 global_write
Global write: SetTip
Impact: low
Show code
SetTip = ui_workshop.SetTip
L83 🔴 global_write
Global write: EvaluateParts
Impact: low
Show code
EvaluateParts = item_parts.evaluate_parts
L221 🔴 global_write
Global write: DisassemblyWeapon
Impact: low
Show code
DisassemblyWeapon = item_parts.disassembly_weapon
L331 🔴 global_write
Global write: WorkshopReplacePart
Impact: low
Show code
WorkshopReplacePart = ui_workshop.UIWorkshopRepair.ReplacePart
L400 🔴 global_write
Global write: WorkshopRepair
Impact: low
Show code
WorkshopRepair = ui_workshop.UIWorkshopRepair.Repair
L496 🔴 global_write
Global write: HowMuch
Impact: low
Show code
HowMuch = inventory_upgrades_mp.how_much_repair
L507 🔴 global_write
Global write: quality_map
Impact: low
Show code
quality_map = {
L514 🔴 global_write
Global write: unique_mapping
Impact: low
Show code
unique_mapping = {
L525 🔴 global_write
Global write: name_mapping
Impact: low
Show code
name_mapping = {
L580 🔴 global_write
Global write: jam_prob
Impact: low
Show code
jam_prob = arti_jamming.get_jam_chance(wpn)
L582 🔴 global_write
Global write: clr
Impact: low
Show code
if jam_prob <= 5 then clr = clr_g
L583 🔴 global_write
Global write: clr
Impact: low
Show code
elseif jam_prob <= 10 then clr = clr_y
L584 🔴 global_write
Global write: clr
Impact: low
Show code
elseif jam_prob <= 20 then clr = clr_o
L585 🔴 global_write
Global write: clr
Impact: low
Show code
else clr = clr_r end
L587 🔴 global_write
Global write: jam_prob
Impact: low
Show code
jam_prob = tonumber(string.format("%.0f", jam_prob))
L602 🔴 global_write
Global write: original_build_desc_header
Impact: low
Show code
original_build_desc_header = ui_item.build_desc_header

Momopate's Detailed Weapon Stats

2 files (🟢0 🟡0 🔴4 🔵1)

ish_item_stats.script

L189 🔴 global_write
Global write: Base_UIInfoItem_Update
Impact: low
Show code
Base_UIInfoItem_Update = nil
L236 🔴 global_write
Global write: Base_UIInfoItem_Update
Impact: low
Show code
Base_UIInfoItem_Update = utils_ui.UIInfoItem.Update

momopate_weaponstats.script

L74 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!!! no effects exist for %s", sec_p)
L136 🔴 global_write
Global write: end_recoil
Impact: low
Show code
end_recoil = recoil_b * recoil_s * recoil_e * 100.0
L137 🔴 global_write
Global write: final_recoil
Impact: low
Show code
final_recoil = (450 + end_recoil * 5.0) / end_recoil * 5.0

Momopate's Improved Pulses

1 file (🟢0 🟡0 🔴4 🔵0)

pulse_vortex_consistency_fix.script

L5 🔴 global_write
Global write: sm_power
Impact: low
Show code
sm_power = surge_manager.CSurgeManager.hit_power
L23 🔴 global_write
Global write: baf_pulse
Impact: low
Show code
baf_pulse = bind_anomaly_field.pulse_anomaly_hit
L85 🔴 global_write
Global write: psm_vortex_hit
Impact: low
Show code
psm_vortex_hit = psi_storm_manager.CPsiStormManager.vortex_actor_hit
L132 🔴 global_write
Global write: psm_initialize
Impact: low
Show code
psm_initialize = psi_storm_manager.CPsiStormManager.initialize

Momopate's Loot Stabilizer

1 file (🟢0 🟡0 🔴0 🔵5)

momopate_savescummer_v2.script

L45 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ MASS: Context [%s]", context and context or "Unknown or undefined")
L49 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ MASS: Actor ID was used!")
L54 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ MASS: RNG Seed [%s] is blacklisted!", seed)
L63 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ MASS: RNG Seed [%s] chosen!", seed)
L259 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/// SAVESCUMMER: WPO is loaded!")

NPC_Limping_and_Healing

4 files (🟢0 🟡0 🔴20 🔵19)

axr_light_wound.script

L18 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("wrong movement type %s", npc:movement_type())
L22 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("wrong mental state %s", npc:mental_state())
L26 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("wrong body state %s", npc:body_state())
L30 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("wrong state %s", state_mgr.get_state(npc))
L34 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("too much hp")
L37 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("all okay")
L3 🔴 global_write
Global write: limping_npcs
Impact: low
Show code
limping_npcs={}
L4 🔴 global_write
Global write: limp_health_threshold
Impact: low
Show code
limp_health_threshold = 0.65
L12 🔴 global_write
Global write: modenable
Impact: low
Show code
modenable = medkit_bandage_heal_mcm.get_config("enable")
L13 🔴 global_write
Global write: limp_health_threshold
Impact: low
Show code
limp_health_threshold = medkit_bandage_heal_mcm.get_config("limp_health_thres")

axr_otheal.script

L56 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[NPC HEALING] wounded")
L64 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[NPC HEALING] has enemy")
L71 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[NPC HEALING] not free %s", npc:mental_state())
L78 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[NPC HEALING] not standing %s", npc:body_state())
L85 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[NPC HEALING] in danger")
L105 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[NPC HEALING] no bandages")
L121 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[NPC HEALING] no medkit")
L137 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[NPC HEALING] init healing")
L154 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[NPC HEALING] medkit")
L165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[NPC HEALING] fin")
L178 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[NPC HEALING] bandage")
L189 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[NPC HEALING] fin")
L205 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[NPC HEALING]finalize")
L4 🔴 global_write
Global write: actid
Impact: low
Show code
actid = 188124
L5 🔴 global_write
Global write: evaid
Impact: low
Show code
evaid = 188124
L19 🔴 global_write
Global write: modenable
Impact: low
Show code
modenable = true
L20 🔴 global_write
Global write: allow_bandage
Impact: low
Show code
allow_bandage = true
L21 🔴 global_write
Global write: allow_medkit
Impact: low
Show code
allow_medkit = true
L22 🔴 global_write
Global write: medkit_health_threshold
Impact: low
Show code
medkit_health_threshold = 0.65
L23 🔴 global_write
Global write: enable_cheat
Impact: low
Show code
enable_cheat = false
L24 🔴 global_write
Global write: debug
Impact: low
Show code
debug = false
L27 🔴 global_write
Global write: modenable
Impact: low
Show code
modenable = medkit_bandage_heal_mcm.get_config("enable")
L28 🔴 global_write
Global write: allow_bandage
Impact: low
Show code
allow_bandage = medkit_bandage_heal_mcm.get_config("enablebandage")
L29 🔴 global_write
Global write: allow_medkit
Impact: low
Show code
allow_medkit = medkit_bandage_heal_mcm.get_config("enablemedkit")
L30 🔴 global_write
Global write: medkit_health_threshold
Impact: low
Show code
medkit_health_threshold = medkit_bandage_heal_mcm.get_config("med_health_thres")
L31 🔴 global_write
Global write: enable_cheat
Impact: low
Show code
enable_cheat = medkit_bandage_heal_mcm.get_config("cheatnpc")
L32 🔴 global_write
Global write: debug
Impact: low
Show code
debug = medkit_bandage_heal_mcm.get_config("enabledebug")

medkit_bandage_heal_mcm.script

L19 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "healmed",sh=true ,gr={

state_mgr_animation_list.script

L1 🔴 global_write
Global write: animations
Impact: low
Show code
animations = {

NPCs_Die_in_Anomalies_

1 file (🟢0 🟡0 🔴1 🔵0)

z_npc_die_in_anomalies.script

L14 🔴 global_write
Global write: death_chance
Impact: low
Show code
death_chance = rank_to_val[ranks.get_se_obj_rank_name(npc)]

New Tasks - iTheon (fixed by Priler)

2 files (🟢0 🟡0 🔴11 🔵2)

tasks_baba_yaga.script

L285 🔴 global_write
Global write: scared_npcs
Impact: low
Show code
scared_npcs = {}

ui_pda_taskboard_tab.script

L209 🔵 debug_statement
Debug call: print()
Impact: medium
Show code
print("Warning: entry_info is nil for row_index:", row_index)
L214 🔵 debug_statement
Debug call: print()
Impact: medium
Show code
print("Warning: prev_task is nil for row_index:", row_index)
L124 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = nil -- required for fetch quest override
L126 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = task_data.npc_id
L141 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = nil
L164 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = task_details.npc_id
L166 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = nil
L312 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = npc:id()
L318 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = nil
L547 🔴 global_write
Global write: normalizer
Impact: low
Show code
normalizer = {
L569 🔴 global_write
Global write: config
Impact: low
Show code
config = load_defaults()
L572 🔴 global_write
Global write: config
Impact: low
Show code
config = load_defaults()

New_Recoil

2 files (🟢0 🟡0 🔴16 🔵1)

new_recoil_eff.script

L572 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[VodoXleb Recoil] "..msg, ...)
L3 🔴 global_write
Global write: mod_enabled
Impact: low
Show code
mod_enabled = true
L6 🔴 global_write
Global write: r_const
Impact: low
Show code
r_const = {
L12 🔴 global_write
Global write: r_vars
Impact: low
Show code
r_vars = {
L23 🔴 global_write
Global write: r_settings
Impact: low
Show code
r_settings = {
L47 🔴 global_write
Global write: r_bw_params
Impact: low
Show code
r_bw_params = {}
L77 🔴 global_write
Global write: mod_enabled
Impact: low
Show code
mod_enabled = new_recoil_mcm.get_config("enable")
L249 🔴 global_write
Global write: x
Impact: low
Show code
x = new_ori[0]
L250 🔴 global_write
Global write: y
Impact: low
Show code
y = new_ori[1]
L274 🔴 global_write
Global write: cwpn
Impact: low
Show code
cwpn = wpn and wpn:cast_Weapon()
L284 🔴 global_write
Global write: cwpn
Impact: low
Show code
cwpn = wpn and wpn:cast_Weapon()
L306 🔴 global_write
Global write: value1
Impact: low
Show code
value1 = SYS_GetParam(0,hud_sec, "aim_hud_offset_alt_rot_16x9")
L307 🔴 global_write
Global write: value1
Impact: low
Show code
if not value1 then value1 = SYS_GetParam(0,hud_sec, "aim_hud_offset_alt_rot")end
L312 🔴 global_write
Global write: value2
Impact: low
Show code
value2 = SYS_GetParam(0,hud_sec, "gl_hud_offset_rot_16x9")
L313 🔴 global_write
Global write: value2
Impact: low
Show code
if not value2 then value2 = SYS_GetParam(0,hud_sec, "gl_hud_offset_rot")end
L366 🔴 global_write
Global write: r_bw_params
Impact: low
Show code
r_bw_params = {}

new_recoil_mcm.script

L35 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "new_recoil",sh=true ,gr={

No BNVG FDDA Redone Patch

2 files (🟢0 🟡0 🔴19 🔵2)

item_device.script

L140 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR item_device | reading from items\\settings\\devices.ltx | section [%s] or power consumption values don't exist", sec)
L155 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("item_device | %s | " .. txt, time_global(), ...)
L18 🔴 global_write
Global write: dev_consumption
Impact: low
Show code
dev_consumption = {} -- [sec] = {...} | Power consumption of device per stage
L19 🔴 global_write
Global write: dev_consumption_act
Impact: low
Show code
dev_consumption_act = {} -- [sec] = {...} | Power consumption of device per action (stage 2)
L20 🔴 global_write
Global write: dev_consumption_tot
Impact: low
Show code
dev_consumption_tot = {} -- [sec] = num | Total power consumption of a device
L21 🔴 global_write
Global write: dev_critical
Impact: low
Show code
dev_critical = {} -- [sec] = num | Power limit, devices go off when their power go below this value
L40 🔴 global_write
Global write: devices
Impact: low
Show code
devices = {}
L41 🔴 global_write
Global write: device_battery
Impact: low
Show code
device_battery = nil
L42 🔴 global_write
Global write: device_geiger
Impact: low
Show code
device_geiger = nil
L43 🔴 global_write
Global write: device_npc_pda
Impact: low
Show code
device_npc_pda = {}
L61 🔴 global_write
Global write: nv_state
Impact: low
Show code
nv_state = false
L79 🔴 global_write
Global write: dosimeter_env_rads_mode
Impact: low
Show code
dosimeter_env_rads_mode = false
L94 🔴 global_write
Global write: device_battery
Impact: low
Show code
device_battery = ini_device:r_sec_ex("settings","battery","batteries_dead")
L95 🔴 global_write
Global write: device_geiger
Impact: low
Show code
device_geiger = ini_device:r_sec_ex("settings","geiger","detector_geiger")
L243 🔴 global_write
Global write: dosimeter_env_rads_mode
Impact: low
Show code
dosimeter_env_rads_mode = not dosimeter_env_rads_mode
L244 🔴 global_write
Global write: dosimeter_mode_string
Impact: low
Show code
dosimeter_mode_string = dosimeter_env_rads_mode and game.translate_string("st_environment_rads") or game.translate_string("st_actor_rads")
L595 🔴 global_write
Global write: nv_state
Impact: low
Show code
nv_state = true
L601 🔴 global_write
Global write: nv_state
Impact: low
Show code
nv_state = false

z_vanilla_nvgs.script

L1 🔴 global_write
Global write: play_animation
Impact: low
Show code
play_animation = false
L24 🔴 global_write
Global write: play_animation
Impact: low
Show code
play_animation = false
L188 🔴 global_write
Global write: torch_anm_state
Impact: low
Show code
torch_anm_state = 0

No Inspection on Unjam

1 file (🟢0 🟡0 🔴0 🔵2)

zzz_prilers_no_inspect_on_unjam.script

L61 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No Inspection Animation: arti_jamming not found, skipping patches")
L71 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No Inspection Animation: Patches applied successfully")

No logs

1 file (🟢0 🟡0 🔴17 🔵56)

_g.script

L76 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("S.T.A.L.K.E.R. Anomaly version %s",GAME_VERSION)
L79 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("using marshal library")
L590 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: Trying to load scheme that does not exist! %s",filename)
L623 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(fmt,...)
L627 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if DEV_DEBUG then printf(fmt,...) end
L648 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log(fmt)
L689 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log( "STACK TRACEBACK: " .. str )
L692 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log( "~ ------------------------------------------------------------------------" )
L693 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log( "~ STACK TRACEBACK:" )
L694 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log( str )
L695 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log( "~ ------------------------------------------------------------------------" )
L704 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR exec_console_cmd | missing command")
L721 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR exec_console_cmd | missing command")
L877 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR str_explode | missing parameter str = %s, sep = %s",str,sep)
L1054 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: get_clsid - obj is nil!")
L1059 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: no clsid method for %s",obj:name())
L1127 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR set_save_marker:%s: WARNING! may be this is problem save point dif=%s",prefix,dif)
L1134 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR set_save_marker:%s: INCORRECT LOAD dif=%s c_dif=%s", prefix, dif, c_dif)
L1361 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~IsMoveState | state {%s) not found ", state)
L1386 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# reload_system_ini")
L1388 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! reload_system_ini is not supported in engine")
L1448 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: section [%s] don't exist! Reading from section: %s - value: %s", result, s, k)
L1500 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: section [%s] don't exist! Reading from section: %s - value: %s", result, s, k)
L1655 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR SYS_GetParam(%s, %s, %s) | What's missing?", typ, sec, param)
L1839 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."{")
L1842 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = ", g_tostring(k))
L1845 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = \"func\",", g_tostring(k))
L1847 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = \"userdata\",", g_tostring(k))
L1849 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = \"%s\",", g_tostring(k), g_tostring(v))
L1851 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s,", g_tostring(k), g_tostring(v))
L1854 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."},")
L1999 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ALIFE OBJECT ID IS %s!",id)
L2044 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: alife_create | invalid usedata type")
L2052 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: alife_create | section [%s] is invalid!",sec)
L2056 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: invalid parameter for alife():create!",sec)
L2074 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: alife_create | failed to create object [%s]!",sec)
L2143 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: alife_release | no server object!")
L2149 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ alife_release [%s] (%s) | %s", se_obj:section_name(), se_obj.id, msg)
L2185 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: alife_release_id | no id passed!")
L2195 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: alife_clone_weapon | no server object passed!")
L2250 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("~WARNING alife ID storage is almost filled: %s", _ALIFE_CNT)
L2344 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR get_object_by_id | id (%s) is invalid", id)
L2354 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR get_object_by_id | no game object recieved from id (%s)", id)
L2509 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!save_var: Warning: no db.storage for %s, db.storage is for online objects only",id)
L2520 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!save_var: not registered type '%s' encountered [name=%s varname=%s ]", tv,obj:name(),varname)
L2526 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!WARNING: save_var ONLY USE LUA DATA TYPES!!! %s",varname)
L2536 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("load_var failed for %s", varname)
L2541 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!load_var: Warning: no db.storage for %s, db.storage is for online objects only", id)
L2555 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!save_ctime: Warning: no db.storage for %s, db.storage is for online objects only",id)
L2574 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!load_var: Warning: no db.storage for %s, db.storage is for online objects only",id)
L2686 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR SetEvent | no key is passed")
L2693 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~WARNING SetEvent | key: %s has value (%s) that got overwritten with a new table", k, _EVENT[k])
L2699 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!ERROR SetEvent | invalid arguments | k: %s - v: %s", k, v1)
L3245 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('a command named "%s" already exists', name)
L3371 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('%s does not point to a valid gun in npc inventory, %s will choose gun from engine', flags.gun_id, npc:name())
L3374 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('%s online object is not available, %s will choose gun from engine', se_gun:name(), npc:name())
L45 🔴 global_write
Global write: marshal
Impact: low
Show code
marshal = require "marshal"
L50 🔴 global_write
Global write: ini_sys
Impact: low
Show code
ini_sys = system_ini() -- global use for cached system_ini()
L53 🔴 global_write
Global write: mus_vol
Impact: low
Show code
mus_vol = 0 -- Used for temp sound muting
L54 🔴 global_write
Global write: amb_vol
Impact: low
Show code
amb_vol = 0 -- Used for temp sound muting
L55 🔴 global_write
Global write: timer_transparent
Impact: low
Show code
timer_transparent = 0 --���������
L497 🔴 global_write
Global write: lvl
Impact: low
Show code
lvl = sim:level_name(cvertex:level_id())
L586 🔴 global_write
Global write: schemes
Impact: low
Show code
schemes = {}
L587 🔴 global_write
Global write: schemes_by_stype
Impact: low
Show code
schemes_by_stype = {}
L734 🔴 global_write
Global write: time_infinite
Impact: low
Show code
time_infinite = 100000000
L1385 🔴 global_write
Global write: ini_sys
Impact: low
Show code
ini_sys = system_ini()
L1906 🔴 global_write
Global write: BoneID
Impact: low
Show code
BoneID = {
L1933 🔴 global_write
Global write: HitTypeID
Impact: low
Show code
HitTypeID = {
L1947 🔴 global_write
Global write: BoosterID
Impact: low
Show code
BoosterID = {
L2297 🔴 global_write
Global write: is_squad_monster
Impact: low
Show code
is_squad_monster = {
L2307 🔴 global_write
Global write: squad_community_by_behaviour
Impact: low
Show code
squad_community_by_behaviour = {
L3049 🔴 global_write
Global write: grenade_classes
Impact: low
Show code
grenade_classes = {
L3243 🔴 global_write
Global write: cmd
Impact: low
Show code
cmd = debug_cmd_list.command_get_list()

Oleh's Extended MovementSFX

4 files (🟢0 🟡0 🔴16 🔵2)

eft_jump_sounds.script

L187 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[eft_jump_sounds] " .. txt, ...)
L8 🔴 global_write
Global write: available_materials
Impact: low
Show code
available_materials = {
L45 🔴 global_write
Global write: fake_materials
Impact: low
Show code
fake_materials = {
L53 🔴 global_write
Global write: water_materials
Impact: low
Show code
water_materials = {
L112 🔴 global_write
Global write: ray_cast_offsets
Impact: low
Show code
ray_cast_offsets = {

extended_movement_sounds_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op = {

freelook_state.script

L1 🔴 global_write
Global write: FreelookActive
Impact: low
Show code
FreelookActive = false
L7 🔴 global_write
Global write: FreelookActive
Impact: low
Show code
FreelookActive = true
L14 🔴 global_write
Global write: FreelookActive
Impact: low
Show code
FreelookActive = false

move_effects.script

L190 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L9 🔴 global_write
Global write: MovementAllowed
Impact: low
Show code
MovementAllowed = true
L173 🔴 global_write
Global write: MovementAllowed
Impact: low
Show code
RegisterScriptCallback("actor_on_climb_start", function() MovementAllowed = false end)
L174 🔴 global_write
Global write: MovementAllowed
Impact: low
Show code
RegisterScriptCallback("actor_on_climb_end", function() MovementAllowed = true end)
L177 🔴 global_write
Global write: MovementAllowed
Impact: low
Show code
RegisterScriptCallback("actor_on_attach_vehicle", function() MovementAllowed = false end)
L178 🔴 global_write
Global write: MovementAllowed
Impact: low
Show code
RegisterScriptCallback("actor_on_detach_vehicle", function() MovementAllowed = true end)
L179 🔴 global_write
Global write: MovementAllowed
Impact: low
Show code
RegisterScriptCallback("actor_on_before_death", function() MovementAllowed = false end)
L180 🔴 global_write
Global write: MovementAllowed
Impact: low
Show code
RegisterScriptCallback("actor_on_net_destroy", function() MovementAllowed = false end)
L181 🔴 global_write
Global write: MovementAllowed
Impact: low
Show code
RegisterScriptCallback("actor_on_first_update", function() MovementAllowed = true end)

Oleh's Weapons Sounds Tweaks and Fixes

7 files (🟢1 🟡0 🔴44 🔵1)

dryfire_prefire_sounds.script

L44 🟢 repeated_wpn_section()
wpn:section() called 2x in actor_on_weapon_fired
Impact: low
Show code
Cache wpn:section() result
L29 🔴 global_write
Global write: sound_to_play
Impact: low
Show code
sound_to_play = sound_object(dryfire)
L50 🔴 global_write
Global write: sound_to_play
Impact: low
Show code
sound_to_play = sound_object(prefire)
L64 🔴 global_write
Global write: isMisfireWeapon
Impact: low
Show code
isMisfireWeapon = function(wpn, wpn_id)
L76 🔴 global_write
Global write: isMisfireWeapon
Impact: low
Show code
isMisfireWeapon = function(wpn, wpn_id)
L80 🔴 global_write
Global write: isMisfireWeapon
Impact: low
Show code
isMisfireWeapon = function(wpn, wpn_id)
L85 🔴 global_write
Global write: isMisfireWeapon
Impact: low
Show code
isMisfireWeapon = function(wpn, wpn_id)

eft_rattle.script

L39 🔴 global_write
Global write: wpn_kinds
Impact: low
Show code
wpn_kinds = {
L44 🔴 global_write
Global write: limit
Impact: low
Show code
limit = {
L49 🔴 global_write
Global write: count
Impact: low
Show code
count = 1
L55 🔴 global_write
Global write: count
Impact: low
Show code
count = count + 1
L56 🔴 global_write
Global write: count
Impact: low
Show code
if count > limit[class] then count = 1 end
L62 🔴 global_write
Global write: sec
Impact: low
Show code
sec = wpn:section()
L65 🔴 global_write
Global write: class
Impact: low
Show code
class = wpn_kinds[SYS_GetParam(0, sec, "kind")] or "rifle\\rifle_aim"
L66 🔴 global_write
Global write: weight
Impact: low
Show code
weight = ini_sys:r_string_ex(sec, "inv_weight") or 3.3
L67 🔴 global_write
Global write: aim_time
Impact: low
Show code
aim_time = ini_sys:r_string_ex(sec, "zoom_rotate_time") or 0.25
L68 🔴 global_write
Global write: volume
Impact: low
Show code
volume = (0.25 + weight*0.04)
L69 🔴 global_write
Global write: frequency
Impact: low
Show code
frequency = 1.3 - aim_time
L70 🔴 global_write
Global write: frequency
Impact: low
Show code
if frequency < 0.77 then frequency = 0.77 end

grok_casings_sounds.script

L88 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Grok's Casing Falling Sounds are disabled in MCM, unregistering callbacks")
L42 🔴 global_write
Global write: mat_to_sound
Impact: low
Show code
mat_to_sound = {
L63 🔴 global_write
Global write: soft_mats
Impact: low
Show code
soft_mats = {
L99 🔴 global_write
Global write: current_material
Impact: low
Show code
current_material = tostring(material)
L102 🔴 global_write
Global write: found_mat
Impact: low
Show code
found_mat = string.find(current_material, k)
L104 🔴 global_write
Global write: current_material
Impact: low
Show code
current_material = k
L108 🔴 global_write
Global write: current_material_sound
Impact: low
Show code
current_material_sound = mat_to_sound[current_material]
L114 🔴 global_write
Global write: current_material_sound
Impact: low
Show code
current_material_sound = "_mud_"
L147 🔴 global_write
Global write: eject_delay
Impact: low
Show code
eject_delay, fall_delay, offset, casing_class = get_const_params(wpn)
L147 🔴 global_write
Global write: fall_delay
Impact: low
Show code
eject_delay, fall_delay, offset, casing_class = get_const_params(wpn)
L147 🔴 global_write
Global write: offset
Impact: low
Show code
eject_delay, fall_delay, offset, casing_class = get_const_params(wpn)
L147 🔴 global_write
Global write: casing_class
Impact: low
Show code
eject_delay, fall_delay, offset, casing_class = get_const_params(wpn)
L193 🔴 global_write
Global write: sound_to_play
Impact: low
Show code
sound_to_play = sound_object("casings\\" .. casing_class .. material_sound .. math.random(4))
L220 🔴 global_write
Global write: offset_x
Impact: low
Show code
offset_x, offset_z = _offset[1], _offset[2]
L220 🔴 global_write
Global write: offset_z
Impact: low
Show code
offset_x, offset_z = _offset[1], _offset[2]
L285 🔴 global_write
Global write: sound_to_play
Impact: low
Show code
sound_to_play = sound_object("casings\\" .. casing_class .. material_sound .. math.random(4))
L316 🔴 global_write
Global write: pos
Impact: low
Show code
pos, dir = actor:position(), actor:direction()
L316 🔴 global_write
Global write: dir
Impact: low
Show code
pos, dir = actor:position(), actor:direction()
L320 🔴 global_write
Global write: body_st
Impact: low
Show code
body_st = get_body_state()
L322 🔴 global_write
Global write: fall_delay
Impact: low
Show code
fall_delay = 0.15 / velocity
L328 🔴 global_write
Global write: fall_delay
Impact: low
Show code
fall_delay = 0.35 / velocity
L334 🔴 global_write
Global write: fall_delay
Impact: low
Show code
fall_delay = 0.4 / velocity
L340 🔴 global_write
Global write: sound_to_play
Impact: low
Show code
sound_to_play = sound_object("magazines\\" .. class .. "_dirt_" .. 1) --check params

grok_casings_sounds_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op = {

reload_hint.script

L34 🔴 global_write
Global write: sound_to_play
Impact: low
Show code
sound_to_play = sound_object(sound_path)

weapon_sprint_rattle.script

L31 🔴 global_write
Global write: section
Impact: low
Show code
section = item:section()

z_weapon_cover_tilt_rattle_wstfg.script

L5 🔴 global_write
Global write: play_sound
Impact: low
Show code
play_sound = weapon_cover_tilt_rattle.play_sound

PDA_Hacking_v

2 files (🟢0 🟡0 🔴16 🔵3)

pda_hacking_mcm.script

L5 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "pda_hacking",sh=true ,gr={

z_pda_hacking.script

L10 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L92 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!PDA Hacking: Unable to get PDA rarity. Section: " .. (pda_sec or "nil"))
L978 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("-PDA Hacking mod: Error modifying locked PDA/stash chance. Please update your Modded Exes")
L3 🔴 global_write
Global write: script_table
Impact: low
Show code
script_table = {}
L14 🔴 global_write
Global write: faction_encyption
Impact: low
Show code
faction_encyption = {
L30 🔴 global_write
Global write: colors_str
Impact: low
Show code
colors_str = {
L42 🔴 global_write
Global write: colors_argb
Impact: low
Show code
colors_argb = {
L53 🔴 global_write
Global write: pda_rarity_encryption_mult
Impact: low
Show code
pda_rarity_encryption_mult = {
L58 🔴 global_write
Global write: base_reset
Impact: low
Show code
base_reset = ui_pda_npc_tab.pda_npc_tab.Reset
L241 🔴 global_write
Global write: script_table
Impact: low
Show code
script_table = {}
L259 🔴 global_write
Global write: base_update
Impact: low
Show code
base_update = ui_pda_npc_tab.pda_npc_tab.Update
L861 🔴 global_write
Global write: fonts
Impact: low
Show code
fonts = {
L874 🔴 global_write
Global write: name_key
Impact: low
Show code
name_key = {
L895 🔴 global_write
Global write: drop_table
Impact: low
Show code
drop_table = {
L942 🔴 global_write
Global write: SpawnCosmetics
Impact: low
Show code
SpawnCosmetics = death_manager.spawn_cosmetics
L957 🔴 global_write
Global write: base_register_pda
Impact: low
Show code
base_register_pda = ui_pda_npc_tab.register_pda
L993 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()
L996 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()

Persistent weather by Priler

1 file (🟢0 🟡0 🔴0 🔵4)

priler_persistent_weather.script

L37 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ pw: " .. msg)
L97 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ pw: ERROR - cannot start rain sound, no actor")
L103 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ pw: ERROR - could not create sound object [%s]", RAIN_SOUND_PATH)
L244 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ pw: initialized (replace_rain_sound=%s, debug=%s)",

Persistent_PDA_Radio_v

1 file (🟢0 🟡0 🔴0 🔵2)

persistent_pda_radio.script

L50 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[PPDAR] PDA radio started according to saved data")
L72 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[PPDAR] PDA music player started according to saved data")

Portraits of The Zone - BETA

1 file (🟢0 🟡2 🔴0 🔵1)

ui_mm_faction_select.script

L1563 🟡 string_concat_in_loop
String concat in loop: str_stats = str_stats .. x
Impact: critical
Show code
str_stats = str_stats .. "%c[0,150,150,150] %c[0,50,175,50]" .. game.translate_string("st_faction_" .. k) .. "\\n"
L1723 🟡 string_concat_in_loop
String concat in loop: loadout_str = loadout_str .. x
Impact: critical
Show code
loadout_str = loadout_str .. "," .. ci.section
L1287 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sec: %s | points: %s | points left: %s", ci.section, points, self.points_left)

Pre-0.9.3.1 Saves Fix

10 files (🟢1 🟡0 🔴77 🔵3)

a_the_living_fire_configs.script

L1 🔴 global_write
Global write: garbage_prometheus_location
Impact: low
Show code
garbage_prometheus_location = {
L8 🔴 global_write
Global write: garbage_prometheus_spawn_activation_distance
Impact: low
Show code
garbage_prometheus_spawn_activation_distance = 79.5
L9 🔴 global_write
Global write: garbage_mutant_spawn_activation_distance
Impact: low
Show code
garbage_mutant_spawn_activation_distance = 30
L11 🔴 global_write
Global write: garbage_mutant_location
Impact: low
Show code
garbage_mutant_location = {
L19 🔴 global_write
Global write: garbage_zhar_location
Impact: low
Show code
garbage_zhar_location = {
L26 🔴 global_write
Global write: garbage_zharka_locations
Impact: low
Show code
garbage_zharka_locations = {{
L52 🔴 global_write
Global write: garbage_trash_location
Impact: low
Show code
garbage_trash_location = {
L59 🔴 global_write
Global write: swamp_spawn_activation_distance
Impact: low
Show code
swamp_spawn_activation_distance = 90
L61 🔴 global_write
Global write: swamp_explosion_locations
Impact: low
Show code
swamp_explosion_locations = {{
L93 🔴 global_write
Global write: swamp_mutant_locations
Impact: low
Show code
swamp_mutant_locations = {{
L150 🔴 global_write
Global write: x18_prometheus_location
Impact: low
Show code
x18_prometheus_location = {
L157 🔴 global_write
Global write: x18_prometheus_msg_trigger_distance
Impact: low
Show code
x18_prometheus_msg_trigger_distance = 10
L159 🔴 global_write
Global write: dark_valley_corpses_locations
Impact: low
Show code
dark_valley_corpses_locations = {{
L191 🔴 global_write
Global write: dark_valley_actor_msg_trigger_location
Impact: low
Show code
dark_valley_actor_msg_trigger_location = {
L197 🔴 global_write
Global write: dark_valley_actor_msg_trigger_distance
Impact: low
Show code
dark_valley_actor_msg_trigger_distance = 10
L199 🔴 global_write
Global write: x18_military_locations
Impact: low
Show code
x18_military_locations = {{
L236 🔴 global_write
Global write: x16_greh_locations
Impact: low
Show code
x16_greh_locations = {{
L268 🔴 global_write
Global write: x16_prometheus_location
Impact: low
Show code
x16_prometheus_location = {
L274 🔴 global_write
Global write: x16_prometheus_msg_trigger_distance
Impact: low
Show code
x16_prometheus_msg_trigger_distance = 40
L276 🔴 global_write
Global write: x16_middle
Impact: low
Show code
x16_middle = {
L281 🔴 global_write
Global write: x16_mutant_scanning_range
Impact: low
Show code
x16_mutant_scanning_range = 200
L283 🔴 global_write
Global write: x16_corpse_locations
Impact: low
Show code
x16_corpse_locations = {{
L363 🔴 global_write
Global write: red_forest_greh_locations
Impact: low
Show code
red_forest_greh_locations = {{
L380 🔴 global_write
Global write: red_forest_mutants_trigger
Impact: low
Show code
red_forest_mutants_trigger = {
L386 🔴 global_write
Global write: red_forest_mutants_trigger_range
Impact: low
Show code
red_forest_mutants_trigger_range = 5
L388 🔴 global_write
Global write: red_forest_explosion_locations
Impact: low
Show code
red_forest_explosion_locations = {{
L415 🔴 global_write
Global write: red_forest_mutant_locations
Impact: low
Show code
red_forest_mutant_locations = {{
L487 🔴 global_write
Global write: red_forest_isg_locations
Impact: low
Show code
red_forest_isg_locations = {{
L509 🔴 global_write
Global write: red_forest_actor_msg_trigger
Impact: low
Show code
red_forest_actor_msg_trigger = {
L516 🔴 global_write
Global write: red_forest_actor_msg_trigger_range
Impact: low
Show code
red_forest_actor_msg_trigger_range = 8
L518 🔴 global_write
Global write: outskirts_prometheus_location
Impact: low
Show code
outskirts_prometheus_location = {
L525 🔴 global_write
Global write: outskirts_greh_locations
Impact: low
Show code
outskirts_greh_locations = {{
L567 🔴 global_write
Global write: outskirts_mutant_locations
Impact: low
Show code
outskirts_mutant_locations = {{
L589 🔴 global_write
Global write: outskirts_prometheus_msg_trigger_distance
Impact: low
Show code
outskirts_prometheus_msg_trigger_distance = 28
L592 🔴 global_write
Global write: outskirts_anomaly_xz_data
Impact: low
Show code
outskirts_anomaly_xz_data = {{217.3464, 332.1511},{217.2378700635549, 335.6045785741122},{216.91270857229628, 339.04442784603674},{216.37219879007787, 342.45707230221484},{215.6184738620747, 345.829043794067},{214.65450839623344, 349.1470346906221},{213.4841067238538, 352.39795039765727},{212.11188788563106, 355.568961036079},{210.54326740241248, 358.6475520755943},{208.78443590261082, 361.6215737238448},{206.8423346906221, 364.479288876086},{204.7246283526684, 367.20941943617794},{202.43967450817763, 369.80119082607786},{199.99649082607786, 372.2443745081776},{197.4047194361779, 374.5293283526684},{194.674588876086, 376.6470346906221},{191.8168737238448, 378.5891359026108},{188.84285207559432, 380.3479674024125},{185.76426103607898, 381.9165878856311},{182.59325039765727, 383.28880672385384},{179.3423346906221, 384.4592083962334},{176.024343794067, 385.4231738620747},{172.65237230221484, 386.17689879007787},{169.23972784603671, 386.7174085722963},{165.79987857411223, 387.04257006355493},{162.3464, 387.1511},{158.89292142588775, 387.04257006355493},{155.45307215396326, 386.7174085722963},{152.04042769778513, 386.17689879007787},{148.66845620593298, 385.4231738620747},{145.35046530937788, 384.4592083962334},{142.0995496023427, 383.28880672385384},{138.928538963921, 381.91658788563103},{135.84994792440563, 380.34796740241245},{132.87592627615516, 378.5891359026108},{130.01821112391397, 376.6470346906221},{127.28808056382205, 374.5293283526684},{124.69630917392212, 372.2443745081776},{122.25312549182235, 369.80119082607786},{119.96817164733157, 367.2094194361779},{117.85046530937788, 364.479288876086},{115.90836409738915, 361.6215737238448},{114.1495325975875, 358.6475520755943},{112.58091211436891, 355.568961036079},{111.20869327614616, 352.39795039765727},{110.03829160376654, 349.1470346906221},{109.07432613792528, 345.829043794067},{108.3206012099221, 342.45707230221484},{107.7800914277037, 339.0444278460367},{107.45492993644505, 335.6045785741122},{107.34639999999999, 332.1511},{107.45492993644505, 328.69762142588775},{107.7800914277037, 325.25777215396323},{108.32060120992212, 321.84512769778513},{109.07432613792528, 318.473156205933},{110.03829160376654, 315.1551653093779},{111.20869327614616, 311.9042496023427},{112.58091211436891, 308.733238963921},{114.1495325975875, 305.65464792440565},{115.90836409738917, 302.6806262761552},{117.85046530937788, 299.82291112391397},{119.96817164733159, 297.09278056382203},{122.25312549182235, 294.5010091739221},{124.69630917392212, 292.05782549182237},{127.28808056382206, 289.77287164733156},{130.01821112391394, 287.6551653093779},{132.87592627615518, 285.7130640973891},{135.84994792440565, 283.9542325975875},{138.92853896392103, 282.3856121143689},{142.0995496023427, 281.01339327614613},{145.35046530937788, 279.84299160376656},{148.66845620593298, 278.8790261379253},{152.04042769778513, 278.1253012099221},{155.4530721539633, 277.5847914277037},{158.89292142588775, 277.25962993644504},{162.3464, 277.1511},{165.79987857411226, 277.25962993644504},{169.23972784603671, 277.5847914277037},{172.65237230221487, 278.1253012099221},{176.02434379406702, 278.8790261379253},{179.3423346906221, 279.84299160376656},{182.5932503976573, 281.0133932761462},{185.76426103607898, 282.3856121143689},{188.84285207559435, 283.9542325975875},{191.81687372384482, 285.7130640973892},{194.67458887608603, 287.6551653093779},{197.40471943617794, 289.7728716473316},{199.99649082607786, 292.05782549182237},{202.43967450817763, 294.5010091739221},{204.7246283526684, 297.09278056382203},{206.84233469062212, 299.82291112391397},{208.78443590261082, 302.6806262761552},{210.54326740241248, 305.65464792440565},{212.11188788563106, 308.733238963921},{213.4841067238538, 311.9042496023427},{214.65450839623344, 315.15516530937794},{215.6184738620747, 318.473156205933},{216.37219879007787, 321.84512769778513},{216.91270857229628, 325.2577721539633},{217.2378700635549, 328.69762142588775}}
L594 🔴 global_write
Global write: outskirts_endgame_greh_locations
Impact: low
Show code
outskirts_endgame_greh_locations = {{

baba_yaga_configs.script

L1 🔴 global_write
Global write: art_location
Impact: low
Show code
art_location = {
L7 🔴 global_write
Global write: teleport_to_location
Impact: low
Show code
teleport_to_location = {
L13 🔴 global_write
Global write: karlik_spots
Impact: low
Show code
karlik_spots = {{
L27 🔴 global_write
Global write: hag_spot
Impact: low
Show code
hag_spot = {
L34 🔴 global_write
Global write: art_sections
Impact: low
Show code
art_sections = {

big_game_configs.script

L1 🔴 global_write
Global write: small_giants_spots
Impact: low
Show code
small_giants_spots = {{
L15 🔴 global_write
Global write: big_giant_spot
Impact: low
Show code
big_giant_spot = {

dead_night_configs.script

L9 🔴 global_write
Global write: spawn_configs
Impact: low
Show code
spawn_configs = {{

house_of_horrors_configs.script

L1 🔴 global_write
Global write: house_location
Impact: low
Show code
house_location = {
L7 🔴 global_write
Global write: zombie_location
Impact: low
Show code
zombie_location = {
L14 🔴 global_write
Global write: dog_location
Impact: low
Show code
dog_location = {
L21 🔴 global_write
Global write: board_location
Impact: low
Show code
board_location = {
L29 🔴 global_write
Global write: hanged_man_location
Impact: low
Show code
hanged_man_location = {

mirage_configs.script

L1 🔴 global_write
Global write: teleport_activator_center_point
Impact: low
Show code
teleport_activator_center_point = vector():set(-423.5822,39.9999,-392.2540)
L2 🔴 global_write
Global write: teleport_activation_distance
Impact: low
Show code
teleport_activation_distance = 190
L4 🔴 global_write
Global write: first_spawn_activator
Impact: low
Show code
first_spawn_activator = vector():set(-350.9619,40.0389,-333.7500)
L5 🔴 global_write
Global write: first_spawn_activation_distance
Impact: low
Show code
first_spawn_activation_distance = 15
L6 🔴 global_write
Global write: first_spawn_spots
Impact: low
Show code
first_spawn_spots = {{
L20 🔴 global_write
Global write: second_spawn_activator
Impact: low
Show code
second_spawn_activator = vector():set(-409.0541,40.0467,-379.4803)
L21 🔴 global_write
Global write: second_spawn_activation_distance
Impact: low
Show code
second_spawn_activation_distance = 20
L22 🔴 global_write
Global write: second_spawn_spots
Impact: low
Show code
second_spawn_spots = {{
L36 🔴 global_write
Global write: third_spawn_activator
Impact: low
Show code
third_spawn_activator = vector():set(-407.9597,32.1984,-376.7980)
L37 🔴 global_write
Global write: third_spawn_activation_distance
Impact: low
Show code
third_spawn_activation_distance = 5
L38 🔴 global_write
Global write: third_spawn_spots
Impact: low
Show code
third_spawn_spots = {{
L48 🔴 global_write
Global write: sidor_spawn_activator
Impact: low
Show code
sidor_spawn_activator = vector():set(-404.8524,32.1999,-339.5040)
L49 🔴 global_write
Global write: sidor_spawn_activation_distance
Impact: low
Show code
sidor_spawn_activation_distance = 2
L51 🔴 global_write
Global write: med_table_spawn_config
Impact: low
Show code
med_table_spawn_config = {
L58 🔴 global_write
Global write: sidor_spawn_config
Impact: low
Show code
sidor_spawn_config = {
L66 🔴 global_write
Global write: sidor_controller_1_spawn_config
Impact: low
Show code
sidor_controller_1_spawn_config = {
L73 🔴 global_write
Global write: sidor_controller_2_spawn_config
Impact: low
Show code
sidor_controller_2_spawn_config = {
L80 🔴 global_write
Global write: burer_spawn_config
Impact: low
Show code
burer_spawn_config = {

new_tasks_addon_mcm.script

L2 🔴 global_write
Global write: config
Impact: low
Show code
config = {
L34 🔴 global_write
Global write: op
Impact: low
Show code
op = {

new_tasks_addon_tasks_utils.script

L190 🔴 global_write
Global write: southern_maps
Impact: low
Show code
southern_maps = {
L205 🔴 global_write
Global write: nothern_maps
Impact: low
Show code
nothern_maps = {
L217 🔴 global_write
Global write: sim_stalkers
Impact: low
Show code
sim_stalkers = nil
L219 🔴 global_write
Global write: sim_stalkers
Impact: low
Show code
sim_stalkers = {}
L335 🔴 global_write
Global write: levels
Impact: low
Show code
levels = {
L369 🔴 global_write
Global write: mcm_config
Impact: low
Show code
mcm_config = load_defaults()
L372 🔴 global_write
Global write: mcm_config
Impact: low
Show code
mcm_config = load_defaults()
L412 🔴 global_write
Global write: se_id
Impact: low
Show code
se_id = spawn_helicopter(true, vector():set(-178.07975769043,5.3180623054504,-181.78283691406))

tasks_skyfall.script

L218 🟢 repeated_who_section()
who:section() called 3x in physic_object_on_hit_callback
Impact: low
Show code
Cache who:section() result

z_nta_compatibility.script

L4 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('went here')
L6 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('went here 2')
L9 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("removed prometheus from spawn")

Private's Aim Stamina

4 files (🟢0 🟡0 🔴110 🔵4)

aim_stamina.script

L30 🔴 global_write
Global write: AS_op_mode
Impact: low
Show code
AS_op_mode = aim_stamina_mcm.get_config("AS_op_mode") or 1
L31 🔴 global_write
Global write: AS_mode
Impact: low
Show code
AS_mode = aim_stamina_mcm.get_config("AS_mode") or 1
L34 🔴 global_write
Global write: stamina_modifier
Impact: low
Show code
stamina_modifier = aim_stamina_mcm.get_config("aim_stamina") or 60
L35 🔴 global_write
Global write: drain_weight_influence
Impact: low
Show code
drain_weight_influence = aim_stamina_mcm.get_config("drain_weight_influence") or 5
L36 🔴 global_write
Global write: recover_weight_influence
Impact: low
Show code
recover_weight_influence = aim_stamina_mcm.get_config("recover_weight_influence") or 5
L37 🔴 global_write
Global write: rate_range
Impact: low
Show code
rate_range = aim_stamina_mcm.get_config("rate_range") or 10
L40 🔴 global_write
Global write: AS_prone_modifier
Impact: low
Show code
AS_prone_modifier = aim_stamina_mcm.get_config("AS_prone_modifier") or 0.2
L41 🔴 global_write
Global write: AS_satiety_influence
Impact: low
Show code
AS_satiety_influence = aim_stamina_mcm.get_config("AS_satiety_influence") or 1
L42 🔴 global_write
Global write: AS_boost_influence
Impact: low
Show code
AS_boost_influence = aim_stamina_mcm.get_config("AS_boost_influence") or 1
L43 🔴 global_write
Global write: AS_artefact_influence
Impact: low
Show code
AS_artefact_influence = aim_stamina_mcm.get_config("AS_artefact_influence") or 1
L46 🔴 global_write
Global write: AS_wpn_sway_start
Impact: low
Show code
AS_wpn_sway_start = aim_stamina_mcm.get_config("AS_wpn_sway_start") or 20
L47 🔴 global_write
Global write: AS_wpn_sway_power
Impact: low
Show code
AS_wpn_sway_power = aim_stamina_mcm.get_config("AS_wpn_sway_power") or 1
L50 🔴 global_write
Global write: show_AS_counter
Impact: low
Show code
show_AS_counter = aim_stamina_mcm.get_config("show_AS_counter") or true
L51 🔴 global_write
Global write: show_AS_bar
Impact: low
Show code
show_AS_bar = aim_stamina_mcm.get_config("show_AS_bar") or true
L52 🔴 global_write
Global write: AS_hud_x_pos
Impact: low
Show code
AS_hud_x_pos = aim_stamina_mcm.get_config("AS_hud_x_pos") or 462
L53 🔴 global_write
Global write: AS_hud_y_pos
Impact: low
Show code
AS_hud_y_pos = aim_stamina_mcm.get_config("AS_hud_y_pos") or 720
L54 🔴 global_write
Global write: AS_counter_x_pos
Impact: low
Show code
AS_counter_x_pos = aim_stamina_mcm.get_config("AS_counter_x_pos") or 2
L55 🔴 global_write
Global write: AS_counter_y_pos
Impact: low
Show code
AS_counter_y_pos = aim_stamina_mcm.get_config("AS_counter_y_pos") or 1
L56 🔴 global_write
Global write: AS_hud_hide_timer
Impact: low
Show code
AS_hud_hide_timer = aim_stamina_mcm.get_config("AS_hud_hide_timer") or 5
L59 🔴 global_write
Global write: AS_disable
Impact: low
Show code
AS_disable = aim_stamina_mcm.get_config("AS_disable") or false
L60 🔴 global_write
Global write: AS_show_disabled
Impact: low
Show code
AS_show_disabled = aim_stamina_mcm.get_config("AS_show_disabled") or false
L63 🔴 global_write
Global write: AS_boost_end_time
Impact: low
Show code
AS_boost_end_time = 0
L64 🔴 global_write
Global write: AS_boost_weight_modifier
Impact: low
Show code
AS_boost_weight_modifier = 0
L65 🔴 global_write
Global write: boost_wght_buffer
Impact: low
Show code
boost_wght_buffer = 0
L66 🔴 global_write
Global write: boost_infl_buffer
Impact: low
Show code
boost_infl_buffer = 0
L67 🔴 global_write
Global write: AS_artefact_weight_boost
Impact: low
Show code
AS_artefact_weight_boost = 0
L68 🔴 global_write
Global write: art_infl_buffer
Impact: low
Show code
art_infl_buffer = 0
L69 🔴 global_write
Global write: AS_satiety_modifier
Impact: low
Show code
AS_satiety_modifier = 1
L75 🔴 global_write
Global write: AS_op_mode
Impact: low
Show code
AS_op_mode = aim_stamina_mcm.get_config("AS_op_mode")
L76 🔴 global_write
Global write: AS_mode
Impact: low
Show code
AS_mode = aim_stamina_mcm.get_config("AS_mode")
L78 🔴 global_write
Global write: stamina_modifier
Impact: low
Show code
stamina_modifier = aim_stamina_mcm.get_config("aim_stamina")
L79 🔴 global_write
Global write: aim_stamina_round
Impact: low
Show code
aim_stamina_round = stamina_modifier
L80 🔴 global_write
Global write: drain_weight_influence
Impact: low
Show code
drain_weight_influence = aim_stamina_mcm.get_config("drain_weight_influence")
L81 🔴 global_write
Global write: recover_weight_influence
Impact: low
Show code
recover_weight_influence = aim_stamina_mcm.get_config("recover_weight_influence")
L82 🔴 global_write
Global write: rate_range
Impact: low
Show code
rate_range = aim_stamina_mcm.get_config("rate_range")
L84 🔴 global_write
Global write: AS_prone_modifier
Impact: low
Show code
AS_prone_modifier = aim_stamina_mcm.get_config("AS_prone_modifier")
L85 🔴 global_write
Global write: AS_satiety_influence
Impact: low
Show code
AS_satiety_influence = aim_stamina_mcm.get_config("AS_satiety_influence")
L86 🔴 global_write
Global write: AS_boost_influence
Impact: low
Show code
AS_boost_influence = aim_stamina_mcm.get_config("AS_boost_influence")
L87 🔴 global_write
Global write: AS_artefact_influence
Impact: low
Show code
AS_artefact_influence = aim_stamina_mcm.get_config("AS_artefact_influence")
L89 🔴 global_write
Global write: AS_wpn_sway_start
Impact: low
Show code
AS_wpn_sway_start = aim_stamina_mcm.get_config("AS_wpn_sway_start")
L90 🔴 global_write
Global write: AS_wpn_sway_power
Impact: low
Show code
AS_wpn_sway_power = aim_stamina_mcm.get_config("AS_wpn_sway_power")
L92 🔴 global_write
Global write: show_AS_counter
Impact: low
Show code
show_AS_counter = aim_stamina_mcm.get_config("show_AS_counter")
L93 🔴 global_write
Global write: show_AS_bar
Impact: low
Show code
show_AS_bar = aim_stamina_mcm.get_config("show_AS_bar")
L94 🔴 global_write
Global write: AS_hud_x_pos
Impact: low
Show code
AS_hud_x_pos = aim_stamina_mcm.get_config("AS_hud_x_pos")
L95 🔴 global_write
Global write: AS_hud_y_pos
Impact: low
Show code
AS_hud_y_pos = aim_stamina_mcm.get_config("AS_hud_y_pos")
L96 🔴 global_write
Global write: AS_counter_x_pos
Impact: low
Show code
AS_counter_x_pos = aim_stamina_mcm.get_config("AS_counter_x_pos")
L97 🔴 global_write
Global write: AS_counter_y_pos
Impact: low
Show code
AS_counter_y_pos = aim_stamina_mcm.get_config("AS_counter_y_pos")
L98 🔴 global_write
Global write: AS_hud_hide_timer
Impact: low
Show code
AS_hud_hide_timer = aim_stamina_mcm.get_config("AS_hud_hide_timer")
L100 🔴 global_write
Global write: AS_disable
Impact: low
Show code
AS_disable = aim_stamina_mcm.get_config("AS_disable")
L101 🔴 global_write
Global write: AS_show_disabled
Impact: low
Show code
AS_show_disabled = aim_stamina_mcm.get_config("AS_show_disabled")
L106 🔴 global_write
Global write: aim_stamina
Impact: low
Show code
aim_stamina = stamina_modifier or 60 -- exact value
L107 🔴 global_write
Global write: aim_stamina_round
Impact: low
Show code
aim_stamina_round = aim_stamina -- exact value rounded to 1 digit after comma
L114 🔴 global_write
Global write: AS_op_mode
Impact: low
Show code
AS_op_mode = m_data.AS_op_mode or aim_stamina_mcm.get_config("AS_op_mode")
L115 🔴 global_write
Global write: AS_mode
Impact: low
Show code
AS_mode = m_data.AS_mode or aim_stamina_mcm.get_config("AS_mode")
L117 🔴 global_write
Global write: aim_stamina
Impact: low
Show code
aim_stamina = m_data.aim_stamina or aim_stamina_mcm.get_config("aim_stamina")
L118 🔴 global_write
Global write: stamina_modifier
Impact: low
Show code
stamina_modifier = m_data.stamina_modifier or aim_stamina_mcm.get_config("aim_stamina")
L119 🔴 global_write
Global write: drain_weight_influence
Impact: low
Show code
drain_weight_influence = m_data.drain_weight_influence or aim_stamina_mcm.get_config("drain_weight_influence")
L120 🔴 global_write
Global write: recover_weight_influence
Impact: low
Show code
recover_weight_influence = m_data.recover_weight_influence or aim_stamina_mcm.get_config("recover_weight_influence")
L121 🔴 global_write
Global write: rate_range
Impact: low
Show code
rate_range = m_data.rate_range or aim_stamina_mcm.get_config("rate_range")
L123 🔴 global_write
Global write: AS_prone_modifier
Impact: low
Show code
AS_prone_modifier = m_data.AS_prone_modifier or aim_stamina_mcm.get_config("AS_prone_modifier")
L124 🔴 global_write
Global write: AS_satiety_influence
Impact: low
Show code
AS_satiety_influence = m_data.AS_satiety_influence or aim_stamina_mcm.get_config("AS_satiety_influence")
L125 🔴 global_write
Global write: AS_boost_influence
Impact: low
Show code
AS_boost_influence = m_data.AS_boost_influence or aim_stamina_mcm.get_config("AS_boost_influence")
L126 🔴 global_write
Global write: AS_artefact_influence
Impact: low
Show code
AS_artefact_influence = m_data.AS_artefact_influence or aim_stamina_mcm.get_config("AS_artefact_influence")
L128 🔴 global_write
Global write: AS_wpn_sway_start
Impact: low
Show code
AS_wpn_sway_start = m_data.AS_wpn_sway_start or aim_stamina_mcm.get_config("AS_wpn_sway_start")
L129 🔴 global_write
Global write: AS_wpn_sway_power
Impact: low
Show code
AS_wpn_sway_power = m_data.AS_wpn_sway_power or aim_stamina_mcm.get_config("AS_wpn_sway_power")
L131 🔴 global_write
Global write: show_AS_counter
Impact: low
Show code
show_AS_counter = m_data.show_AS_counter or aim_stamina_mcm.get_config("show_AS_counter")
L132 🔴 global_write
Global write: show_AS_bar
Impact: low
Show code
show_AS_bar = m_data.show_AS_bar or aim_stamina_mcm.get_config("show_AS_bar")
L133 🔴 global_write
Global write: AS_hud_x_pos
Impact: low
Show code
AS_hud_x_pos = m_data.AS_hud_x_pos or aim_stamina_mcm.get_config("AS_hud_x_pos")
L134 🔴 global_write
Global write: AS_hud_y_pos
Impact: low
Show code
AS_hud_y_pos = m_data.AS_hud_y_pos or aim_stamina_mcm.get_config("AS_hud_y_pos")
L135 🔴 global_write
Global write: AS_counter_x_pos
Impact: low
Show code
AS_counter_x_pos = m_data.AS_counter_x_pos or aim_stamina_mcm.get_config("AS_counter_x_pos")
L136 🔴 global_write
Global write: AS_counter_y_pos
Impact: low
Show code
AS_counter_y_pos = m_data.AS_counter_y_pos or aim_stamina_mcm.get_config("AS_counter_y_pos")
L137 🔴 global_write
Global write: AS_hud_hide_timer
Impact: low
Show code
AS_hud_hide_timer = m_data.AS_hud_hide_timer or aim_stamina_mcm.get_config("AS_hud_hide_timer")
L139 🔴 global_write
Global write: AS_disable
Impact: low
Show code
AS_disable = m_data.AS_disable or aim_stamina_mcm.get_config("AS_disable")
L140 🔴 global_write
Global write: AS_show_disabled
Impact: low
Show code
AS_show_disabled = m_data.AS_show_disabled or aim_stamina_mcm.get_config("AS_show_disabled")
L187 🔴 global_write
Global write: AS_boost_weight_modifier
Impact: low
Show code
AS_boost_weight_modifier = 4*boost_max_weight*AS_boost_influence
L188 🔴 global_write
Global write: AS_boost_end_time
Impact: low
Show code
AS_boost_end_time = time_global() + boost_time*1000
L191 🔴 global_write
Global write: AS_boost_weight_modifier
Impact: low
Show code
AS_boost_weight_modifier = 0
L193 🔴 global_write
Global write: boost_wght_buffer
Impact: low
Show code
boost_wght_buffer = boost_max_weight
L194 🔴 global_write
Global write: boost_infl_buffer
Impact: low
Show code
boost_infl_buffer = AS_boost_influence
L201 🔴 global_write
Global write: AS_artefact_weight_boost
Impact: low
Show code
AS_artefact_weight_boost = 0
L206 🔴 global_write
Global write: AS_artefact_weight_boost
Impact: low
Show code
AS_artefact_weight_boost = AS_artefact_weight_boost + (c_obj and c_obj:AdditionalInventoryWeight() or 0)
L209 🔴 global_write
Global write: AS_artefact_weight_boost
Impact: low
Show code
AS_artefact_weight_boost = AS_artefact_weight_boost*AS_artefact_influence
L210 🔴 global_write
Global write: art_infl_buffer
Impact: low
Show code
art_infl_buffer = AS_artefact_influence
L233 🔴 global_write
Global write: AS_satiety_modifier
Impact: low
Show code
AS_satiety_modifier = 1+AS_satiety_influence*(1-player_satiety)
L238 🔴 global_write
Global write: AS_boost_weight_modifier
Impact: low
Show code
AS_boost_weight_modifier = 4*boost_wght_buffer*AS_boost_influence
L239 🔴 global_write
Global write: boost_infl_buffer
Impact: low
Show code
boost_infl_buffer = AS_boost_influence
L246 🔴 global_write
Global write: AS_boost_weight_modifier
Impact: low
Show code
AS_boost_weight_modifier = 0
L275 🔴 global_write
Global write: aim_stamina
Impact: low
Show code
aim_stamina = aim_stamina
L280 🔴 global_write
Global write: aim_stamina
Impact: low
Show code
aim_stamina = aim_stamina - (0.05*actor_moving_state_modifier + 0.00065*drain_weight_influence * (1+wpn_weight - AS_boost_weight_modifier - AS_artefact_weight_boost) ^ (rate_range/10)) * AS_satiety_modifier
L285 🔴 global_write
Global write: aim_stamina
Impact: low
Show code
aim_stamina = aim_stamina - (0.1*actor_moving_state_modifier + 0.00065*drain_weight_influence * (1+wpn_weight - AS_boost_weight_modifier - AS_artefact_weight_boost) ^ (rate_range/10)) * AS_satiety_modifier
L306 🔴 global_write
Global write: aim_stamina
Impact: low
Show code
aim_stamina = 0
L313 🔴 global_write
Global write: aim_stamina
Impact: low
Show code
aim_stamina = aim_stamina + (0.1/actor_moving_state_modifier - 0.00065*recover_weight_influence * (1+wpn_weight - AS_boost_weight_modifier - AS_artefact_weight_boost) ^ (rate_range/10)) / AS_satiety_modifier
L317 🔴 global_write
Global write: aim_stamina
Impact: low
Show code
aim_stamina = aim_stamina + (0.1/actor_moving_state_modifier - 0.000325*recover_weight_influence * (1+wpn_weight - AS_boost_weight_modifier - AS_artefact_weight_boost) ^ (rate_range/10)) / AS_satiety_modifier
L324 🔴 global_write
Global write: aim_stamina
Impact: low
Show code
aim_stamina = aim_stamina + (0.1/(actor_moving_state_modifier) - 0.00065*recover_weight_influence * (1+wpn_weight - AS_boost_weight_modifier - AS_artefact_weight_boost) ^ (rate_range/10)) / AS_satiety_modifier
L330 🔴 global_write
Global write: aim_stamina
Impact: low
Show code
aim_stamina = stamina_modifier
L334 🔴 global_write
Global write: aim_stamina_round
Impact: low
Show code
aim_stamina_round = tonumber(string.format("%.1f", aim_stamina))
L342 🔴 global_write
Global write: AS_wpn_sway
Impact: low
Show code
AS_wpn_sway = false
L354 🔴 global_write
Global write: AS_wpn_sway
Impact: low
Show code
AS_wpn_sway = false
L365 🔴 global_write
Global write: AS_wpn_sway
Impact: low
Show code
AS_wpn_sway = false
L368 🔴 global_write
Global write: AS_wpn_sway
Impact: low
Show code
AS_wpn_sway = true

aim_stamina_mcm.script

L6 🔴 global_write
Global write: op
Impact: low
Show code
op = { id = "aim_stamina", gr={

pos_previewer_mcm.script

L173 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(logprefix..logtext,...)
L86 🔴 global_write
Global write: script_version
Impact: low
Show code
script_version = "1.5-b3"
L87 🔴 global_write
Global write: release_date
Impact: low
Show code
release_date = 20240624
L88 🔴 global_write
Global write: debuglogs
Impact: low
Show code
debuglogs = true
L89 🔴 global_write
Global write: verbose
Impact: low
Show code
verbose = true -- does nothing without debuglogs
L90 🔴 global_write
Global write: use_debug_images
Impact: low
Show code
use_debug_images = false
L124 🔴 global_write
Global write: aspects
Impact: low
Show code
aspects = {

zzzzz_monkey_paw_ui_mcm.script

L304 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("ui_mcm.script monkeypatched by zzzzz_monkey_paw_ui_mcm.script")
L306 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("zzzzz_monkey_paw_ui_mcm.script: installed MCM already supports UI functors, aborting monkeypatch")
L308 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("zzzzz_monkey_paw_ui_mcm.script: MCM not found, aborting monkeypatch")
L72 🔴 global_write
Global write: cache_value
Impact: low
Show code
cache_value = ui_mcm.UIMCM.CacheValue
L76 🔴 global_write
Global write: wrapbox
Impact: low
Show code
wrapbox = xml:InitStatic("elements:image", anchor)
L83 🔴 global_write
Global write: pos
Impact: low
Show code
pos = wrapbox:GetWndPos()

REBOUND ENCOUNTERS 2.0.6

5 files (🟢0 🟡1 🔴12 🔵17)

rebound_encounters.script

L1391 🟡 string_concat_in_loop
String concat in loop: squad_sec_to_compare = squad_sec_to_compare .. x
Impact: critical
Show code
squad_sec_to_compare = squad_sec_to_compare .. squad.sec .. " - "
L655 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)

rebound_encounters_mcm.script

L87 🔴 global_write
Global write: op
Impact: low
Show code
op = {

ui_debug_launcher.script

L819 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Debug Launcher | Execute (%s)", content[tab][index].name)
L988 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Debug Console: %s",out)
L1417 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("UIDebug_ItemSpawn: No spawn table could be created for %s",name)
L1510 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((mark or "") .. " " .. text)
L1611 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Spawned item [%s](%s)", spawntbl[i].sec, se_obj.id)
L1997 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("UIDebug_ObjSpawn: No spawn table could be created for %s",name)
L2165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((mark or "") .. " " .. text)
L2207 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~" .. lvl)
L2408 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf((mark or "") .. " " .. text)
L2692 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(txt,...)
L2729 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L13 🔴 global_write
Global write: ini_cc
Impact: low
Show code
ini_cc = nil
L16 🔴 global_write
Global write: content
Impact: low
Show code
content = {}
L18 🔴 global_write
Global write: ini_cc
Impact: low
Show code
ini_cc = ini_file_ex("cache_dbg.ltx",true)
L20 🔴 global_write
Global write: content
Impact: low
Show code
content = {
L350 🔴 global_write
Global write: debug_mode
Impact: low
Show code
debug_mode = false
L1049 🔴 global_write
Global write: itm_to_spawn_table
Impact: low
Show code
itm_to_spawn_table = {
L1637 🔴 global_write
Global write: obj_to_spawn_table
Impact: low
Show code
obj_to_spawn_table = {

utility_functions.script

L112 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)

zzz_rebound_encounters_patches.script

L396 🔵 debug_statement
Debug call: print()
Impact: medium
Show code
print("Error: killed_mutant_tbl[mutant_id].file nil")
L402 🔵 debug_statement
Debug call: print()
Impact: medium
Show code
print("Error: killed_mutant_tbl[mutant_id].x nil")
L408 🔵 debug_statement
Debug call: print()
Impact: medium
Show code
print("Error: killed_mutant_tbl[mutant_id].y nil")
L411 🔵 debug_statement
Debug call: print()
Impact: medium
Show code
print("Error: killed_mutant_tbl[mutant_id] nil")
L11 🔴 global_write
Global write: kind_to_section
Impact: low
Show code
kind_to_section = {
L92 🔴 global_write
Global write: clsid_to_section
Impact: low
Show code
clsid_to_section = {
L114 🔴 global_write
Global write: clsdbg_to_section
Impact: low
Show code
clsdbg_to_section = {
L195 🔴 global_write
Global write: killed_mutant_tbl
Impact: low
Show code
killed_mutant_tbl = { -- ponney68: This table based on "species" of mutants

REPACK MINIMAL COLLECTION 1.0

1 file (🟢0 🟡0 🔴5 🔵0)

alticons.script

L10 🔴 global_write
Global write: size_adjust
Impact: low
Show code
size_adjust = 0.75
L12 🔴 global_write
Global write: basethrst
Impact: low
Show code
basethrst = actor_status_thirst.create
L19 🔴 global_write
Global write: basesleep
Impact: low
Show code
basesleep = actor_status_sleep.create
L46 🔴 global_write
Global write: ratio
Impact: low
Show code
ratio = (device().height / device().width) / (768 / 1024)
L56 🔴 global_write
Global write: pos
Impact: low
Show code
pos = self.dialog:GetWndPos()

REPACK NITPICKER 1.2

3 files (🟢1 🟡0 🔴6 🔵6)

campfire_placeable.script

L49 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("tbl is empty || .level_name is now: %s", prev_level.level_name)
L51 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("tbl is not empty")
L53 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(".level_name is not equal curr_level")
L59 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Object deleted (id): %s", se_obj.id)
L217 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s degraded for: %s %", sec, degr_for * 100)
L229 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Time spent on chopping wood: %s Minutes", minutes)
L252 🔴 global_write
Global write: NameCustom
Impact: low
Show code
NameCustom = ui_inventory.UIInventory.Name_Custom
L269 🔴 global_write
Global write: ActionCustom
Impact: low
Show code
ActionCustom = ui_inventory.UIInventory.Action_Custom
L413 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

campfire_placeable_mcm.script

L14 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "campfire_placeable",sh=true ,gr={

trader_autoinject.script

L182 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

REVISION for Enhanced Visual Awareness and Motion Perception 0.89

3 files (🟢1 🟡0 🔴6 🔵2)

revision_mcm.script

L62 🔴 global_write
Global write: op
Impact: low
Show code
op = {id= "revision", sh=true , gr={

stealth_nvg.script

L154 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L1 🔴 global_write
Global write: stealth_nvg_ps
Impact: low
Show code
stealth_nvg_ps = {}
L71 🔴 global_write
Global write: scuffed_sr_light_patch
Impact: low
Show code
scuffed_sr_light_patch = sr_light.check_light
L149 🔴 global_write
Global write: stealth_nvg_ps
Impact: low
Show code
stealth_nvg_ps = m_data.stealth_nvg_ps or {}

visual_memory_manager.script

L756 🟢 repeated_current_outfit_section()
current_outfit:section() called 3x in on_item_equipped_or_removed
Impact: low
Show code
Cache current_outfit:section() result
L1057 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L759 🔴 global_write
Global write: jacketmult
Impact: low
Show code
jacketmult = kind and jacket_t[kind] or 1
L1049 🔴 global_write
Global write: stealth_light_ind
Impact: low
Show code
stealth_light_ind = { 0, false }

Raven's Tooltips on the Side

2 files (🟢0 🟡0 🔴10 🔵1)

zz_move_tooltip.script

L9 🔴 global_write
Global write: wind_x
Impact: low
Show code
wind_x = 10
L10 🔴 global_write
Global write: wind_y
Impact: low
Show code
wind_y = 10
L11 🔴 global_write
Global write: move_to_bottom
Impact: low
Show code
move_to_bottom = true
L14 🔴 global_write
Global write: curPos
Impact: low
Show code
curPos = GetCursorPosition()

zz_parts_in_tooltip.script

L7 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(error_or_result)
L19 🔴 global_write
Global write: wind_x
Impact: low
Show code
wind_x = 10
L20 🔴 global_write
Global write: wind_y
Impact: low
Show code
wind_y = 10
L21 🔴 global_write
Global write: move_to_bottom
Impact: low
Show code
move_to_bottom = true
L24 🔴 global_write
Global write: curPos
Impact: low
Show code
curPos = GetCursorPosition()
L55 🔴 global_write
Global write: og_info_item_init
Impact: low
Show code
og_info_item_init = utils_ui.UIInfoItem.__init
L179 🔴 global_write
Global write: og_info_item_update
Impact: low
Show code
og_info_item_update = utils_ui.UIInfoItem.Update

ReDone_Collection_NORTH

5 files (🟢0 🟡0 🔴23 🔵39)

gamma_dynamic_radiation_areas_from_arzsi.script

L318 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("spawn_radiation_fields_at_new_game()")
L338 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("get blacklisted smarts")
L341 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Iterate through smarts")
L348 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Spawn default radiation zone for smart: "..name_of_smart)
L359 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Smart: "..name_of_smart.." is black listed, skip")
L367 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("create_radiation_field: "..anomaly_type.." Radius: "..radius.. " *****************")
L369 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("spawn anomaly")
L373 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("NO ANOMALY WERE SPAWNED")
L379 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "Error: Unable to set dynamic anomaly properties" )
L390 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(se_obj.id)
L391 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Radiation field was spawned succesfully")
L396 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("get_smart_terrains_of_level("..level_name..")")
L414 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("INITIALIZE - dosimeter_volume")
L311 🔴 global_write
Global write: environmental_radiation
Impact: low
Show code
environmental_radiation = 0
L321 🔴 global_write
Global write: run_script
Impact: low
Show code
run_script = 1
L325 🔴 global_write
Global write: run_script
Impact: low
Show code
run_script = 0
L397 🔴 global_write
Global write: smarts_of_level
Impact: low
Show code
smarts_of_level = {}
L400 🔴 global_write
Global write: cvertex
Impact: low
Show code
cvertex = smart and game_graph():vertex(smart.m_game_vertex_id)

redone_extended_bs_psy_field.script

L18 🔴 global_write
Global write: psy_damage
Impact: low
Show code
psy_damage = 0
L25 🔴 global_write
Global write: psy_damage
Impact: low
Show code
psy_damage = 1
L30 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L31 🔴 global_write
Global write: delay
Impact: low
Show code
delay = 8500
L33 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L36 🔴 global_write
Global write: redone_delay
Impact: low
Show code
redone_delay = tg + delay
L37 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 1
L41 🔴 global_write
Global write: damage
Impact: low
Show code
damage = 0.08
L47 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0

redone_extended_da_psy_field.script

L16 🔴 global_write
Global write: psy_damage
Impact: low
Show code
psy_damage = 0
L23 🔴 global_write
Global write: psy_damage
Impact: low
Show code
psy_damage = 1
L28 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0
L29 🔴 global_write
Global write: delay
Impact: low
Show code
delay = 8500
L31 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L34 🔴 global_write
Global write: redone_delay
Impact: low
Show code
redone_delay = tg + delay
L35 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 1
L39 🔴 global_write
Global write: damage
Impact: low
Show code
damage = 0.08
L45 🔴 global_write
Global write: trigger
Impact: low
Show code
trigger = 0

tasks_agent_rescue.script

L79 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L110 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('! join_message: se_obj (%s) is nil!', id)
L121 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('! leave_message: se_obj (%s) is nil!', id)
L195 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('var nil in task %s', task_id)
L201 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('squad_id nil in task %s', task_id)
L207 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('se_squad nil in task %s', task_id)
L280 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('var nil in task %s', task_id)
L289 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('se_squad nil in task %s', task_id)
L295 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('se_spy nil in task %s', task_id)
L300 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('se_spy has died in task %s', task_id)
L349 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('var nil in task %s', task_id)
L358 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('se_squad nil in task %s', task_id)
L477 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | no faction_lookup table", task_id)

xr_logic_ex.script

L189 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: animpoint %s | %s",st.active_section,dt.level_vertex_id)
L228 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: load_campfire_actions [%s] %s is_in_camp %s %s",npc:name(),dt.active_section,is_in_camp,v and v.name)
L240 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: [%s] %s no camp",npc:name(),dt.active_section)
L275 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: animpoint load campfire action %s %s",dt.active_section,v)
L319 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex can not find %s %s",dt.active_section,dt.delay_animation)
L723 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: %s [%s] no dt.position",st.ini_filename,st.active_section)
L726 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: %s [%s] no dt.level_vertex_id",st.ini_filename,st.active_section)
L729 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: %s [%s] no dt.look_position",st.ini_filename,st.active_section)
L789 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex | load_storage_squad file %s doesn't exist.",ini_name)
L824 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex | load_storage_logic file %s doesn't exist.",ini_name)
L899 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: squad_target_update teleport [%s] %s %s",squad:name(),new_target,squad.scripted_target)
L951 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex | old logic [%s] %s %s",npc:name(),st.section_logic,st.active_section)
L966 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex | new logic [%s] %s %s %s",npc:name(),ini_name,new_logic,new_section)

ReDone_Collection_SOUTH

3 files (🟢0 🟡0 🔴0 🔵27)

redone_remove_labx16_object.script

L23 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Release [%s]",se:name())

tasks_agent_rescue.script

L79 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L110 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('! join_message: se_obj (%s) is nil!', id)
L121 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('! leave_message: se_obj (%s) is nil!', id)
L195 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('var nil in task %s', task_id)
L201 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('squad_id nil in task %s', task_id)
L207 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('se_squad nil in task %s', task_id)
L280 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('var nil in task %s', task_id)
L289 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('se_squad nil in task %s', task_id)
L295 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('se_spy nil in task %s', task_id)
L300 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('se_spy has died in task %s', task_id)
L349 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('var nil in task %s', task_id)
L358 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('se_squad nil in task %s', task_id)
L477 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | no faction_lookup table", task_id)

xr_logic_ex.script

L189 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: animpoint %s | %s",st.active_section,dt.level_vertex_id)
L228 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: load_campfire_actions [%s] %s is_in_camp %s %s",npc:name(),dt.active_section,is_in_camp,v and v.name)
L240 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: [%s] %s no camp",npc:name(),dt.active_section)
L275 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: animpoint load campfire action %s %s",dt.active_section,v)
L319 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex can not find %s %s",dt.active_section,dt.delay_animation)
L723 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: %s [%s] no dt.position",st.ini_filename,st.active_section)
L726 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: %s [%s] no dt.level_vertex_id",st.ini_filename,st.active_section)
L729 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: %s [%s] no dt.look_position",st.ini_filename,st.active_section)
L789 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex | load_storage_squad file %s doesn't exist.",ini_name)
L824 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex | load_storage_logic file %s doesn't exist.",ini_name)
L899 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: squad_target_update teleport [%s] %s %s",squad:name(),new_target,squad.scripted_target)
L951 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex | old logic [%s] %s %s",npc:name(),st.section_logic,st.active_section)
L966 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex | new logic [%s] %s %s %s",npc:name(),ini_name,new_logic,new_section)

ReDone_Combat_AI_v

9 files (🟢1 🟡0 🔴23 🔵47)

axr_beh.script

L9 🔴 global_write
Global write: beh_evid
Impact: low
Show code
beh_evid = 188111
L10 🔴 global_write
Global write: beh_actid
Impact: low
Show code
beh_actid = 188111

axr_fight_from_cover.script

L424 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("axr_fight_from_cover: no action id p[%s]",i)
L9 🔴 global_write
Global write: actid
Impact: low
Show code
actid = 188118
L10 🔴 global_write
Global write: evaid
Impact: low
Show code
evaid = 188118

redone_ai_schemes.script

L83 🔴 global_write
Global write: table_npc
Impact: low
Show code
table_npc = m_data.table_npc
L84 🔴 global_write
Global write: dumb_table
Impact: low
Show code
dumb_table = m_data.dumb_table
L85 🔴 global_write
Global write: coward_table
Impact: low
Show code
coward_table = m_data.coward_table
L86 🔴 global_write
Global write: stupid_table
Impact: low
Show code
stupid_table = m_data.stupid_table
L87 🔴 global_write
Global write: swicth_table
Impact: low
Show code
swicth_table = m_data.swicth_table
L88 🔴 global_write
Global write: swicth_table2
Impact: low
Show code
swicth_table2 = m_data.swicth_table2
L89 🔴 global_write
Global write: swicth_table3
Impact: low
Show code
swicth_table3 = m_data.swicth_table3

visual_memory_manager.script

L251 🟢 repeated_outfit_section()
outfit:section() called 3x in slot_in_out
Impact: low
Show code
Cache outfit:section() result
L178 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('---------------------------------------------------------------')
L179 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Weather is: " .. (wthrs))
L180 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1. Luminocity ---------- %s", Luminocity)
L181 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1.a) luminocity --------- %s", luminocity)
L182 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1.b) lights_lum() ------- %s", lights_lum())
L183 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1.c) who:get_lum() ---- %s", who:get_luminocity())
L184 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("2. Velocity ------------- %s", Velocity)
L185 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("3. dist_original --------- %s", distance)
L186 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("4. weight&outfit ------- %s", weight)
L187 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("5. crouch ------------- %s", crouch)
L188 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.a) shot_mult --------- %s", shot_mult)
L189 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.b) danger ------------ %s", danger_mult)
L190 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.c) camo ------------- %s", camo_x)
L191 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.d) ai scheme --------- %s", scheme_mult)
L192 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.e) get_camo_k ------ %s", get_camo_k)
L193 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("6.f) jacketmult --------- %s", jacketmult)
L194 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("7. memory ------------- %s", memory_factor)
L195 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("8. Step incr --- %s", step_incr)

xr_combat_ignore.script

L460 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_combat_ignore: reset_generic_scheme storage is nil! npc=%s scheme=%s section=%s",npc and npc:name(),scheme,section)
L7 🔴 global_write
Global write: fighting_with_actor_npcs
Impact: low
Show code
fighting_with_actor_npcs = {}
L8 🔴 global_write
Global write: safe_zone_npcs
Impact: low
Show code
safe_zone_npcs = {}

xr_conditions.script

L359 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("couldnt find talking npc")
L744 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameter in 'dist_to_actor_le' function!!!")
L752 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameter in 'dist_to_actor_ge' function!!!")
L928 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong number of params in npc_community")
L948 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong number of params in npc_rank")
L959 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong number of params in npc_profile")
L1394 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Not enough arguments in 'is_squad_enemy_to_actor' funciton!")
L1456 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if detector_section == nil then printf("Wrong parameters in function 'actor_active_detector'") end
L1583 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Insufficient params in squad_in_zone function. story_id[%s], zone_name[%s]", tostring(story_id), tostring(zone_name))
L1617 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Insufficient params in squad_has_enemy function. story_id [%s]", tostring(story_id))
L1642 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Insufficient params in squad_in_zone_all function. story_id[%s], zone_name[%s]", tostring(story_id), tostring(zone_name))
L1720 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters")
L1742 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters")
L1752 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("Wrong parameter story_id[%s] in squad_exist function", tostring(story_id))
L1770 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("~ERROR squad_name_exist | section [%s] doesn't exist in system_ini", tostring(story_id))
L1779 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~WARNING squad_name_exist | cant' get smart obeject [%s]", smart_name)
L1811 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameter squad_id[%s] in 'squad_npc_count_ge' function", tostring(squad_id))
L1850 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Signal rocket name is not set!")
L1855 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such signal rocket: [%s] on level", tostring(p[1]))
L1862 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("wrong story id")
L1961 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if (p and p[1]) == nil then printf("Wrong parameters in function 'check_bloodsucker_state'!!!") end
L2206 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("jup_b221_who_will_start: table reachable_theme ------------------------------> [%s]", g_tostring(k))
L2210 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("No such parameters in function 'jup_b221_who_will_start'")
L2218 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Wrong parameters in function 'jup_b221_who_will_start'")
L1800 🔴 global_write
Global write: npc_id
Impact: low
Show code
npc_id = npc.id
L1802 🔴 global_write
Global write: npc_id
Impact: low
Show code
npc_id = npc:id()

xr_cover.script

L178 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is no path_center or smart in xr_cover.")

xr_danger.script

L1052 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_danger: no action id p[%s]",i)
L8 🔴 global_write
Global write: evaid
Impact: low
Show code
evaid = 188113
L9 🔴 global_write
Global write: actid
Impact: low
Show code
actid = 188113
L17 🔴 global_write
Global write: DangerInertion
Impact: low
Show code
DangerInertion = utils_data.collect_section(ini,"danger_inertion",true)
L18 🔴 global_write
Global write: DangerInertionActor
Impact: low
Show code
DangerInertionActor = utils_data.collect_section(ini,"danger_inertion_actor",true)
L19 🔴 global_write
Global write: DangerIgnore
Impact: low
Show code
DangerIgnore = utils_data.collect_section(ini,"danger_object",true)
L20 🔴 global_write
Global write: DangerIgnoreActor
Impact: low
Show code
DangerIgnoreActor = utils_data.collect_section(ini,"danger_object_actor",true)

xr_smartcover.script

L79 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("setting smartcover [gps] [%s] used [%s] for npc[%s]", self.cover_name , tostring(used), object:name())
L129 🔴 global_write
Global write: used
Impact: low
Show code
self.target_path, used = get_param_string(target_path, object)
L308 🔴 global_write
Global write: cover
Impact: low
Show code
cover = se_smart_cover.registered_smartcovers_by_lv_id[level_id][tcover.cover_vertex_id]

Reworked_Anomaly_grass_meshes_

1 file (🟢0 🟡0 🔴1 🔵0)

ssfx_florafixes_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "florafixes", sh=true, text="ui_mcm_ssfx_module_florafixes", gr ={

S2 Ambience Sounds

50 files (🟢0 🟡0 🔴61 🔵0)

amb_defs.script

L6 🔴 global_write
Global write: generic_day_outdoor_sounds
Impact: low
Show code
generic_day_outdoor_sounds = {
L17 🔴 global_write
Global write: generic_night_outdoor_sounds
Impact: low
Show code
generic_night_outdoor_sounds = {
L28 🔴 global_write
Global write: event_list_cover_indoor
Impact: low
Show code
event_list_cover_indoor = {
L33 🔴 global_write
Global write: event_list_underground
Impact: low
Show code
event_list_underground = {
L47 🔴 global_write
Global write: event_list_on_rain_outdoor
Impact: low
Show code
event_list_on_rain_outdoor = {
L56 🔴 global_write
Global write: event_list_on_rain_indoor
Impact: low
Show code
event_list_on_rain_indoor = {
L61 🔴 global_write
Global write: event_list_on_storm_outdoor
Impact: low
Show code
event_list_on_storm_outdoor = {
L71 🔴 global_write
Global write: event_list_on_storm_indoor
Impact: low
Show code
event_list_on_storm_indoor = {
L76 🔴 global_write
Global write: map_specific_outdoor_sounds
Impact: low
Show code
map_specific_outdoor_sounds = {
L326 🔴 global_write
Global write: map_specific_underground_sounds
Impact: low
Show code
map_specific_underground_sounds = {
L356 🔴 global_write
Global write: underground_levels
Impact: low
Show code
underground_levels = {

amb_map_jupiter.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_k00_marsh.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_k01_darkscape.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_k02_trucks_cemetery.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l01_escape.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l02_garbage.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l03_agroprom.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l04_darkvalley.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l05_bar.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l06_rostok.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l07_military.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l08_yantar.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l09_deadcity.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l10_limansk.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l10_radar.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l10_red_forest.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l11_hospital.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l11_pripyat.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l12_stancia.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l12_stancia_2.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_pripyat.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_y04_pole.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_zaton.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_mcm.script

L38 🔴 global_write
Global write: sound_categories
Impact: low
Show code
sound_categories = {

amb_static.script

L8 🔴 global_write
Global write: static_sound_emitters
Impact: low
Show code
static_sound_emitters = {} -- Sonidos Globales (Siempre activos)
L9 🔴 global_write
Global write: rain_sound_emitters
Impact: low
Show code
rain_sound_emitters = {} -- Sonidos de Lluvia (Solo activos con lluvia)

rain_amb_map_jupiter.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_k00_marsh.script

L5 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_k01_darkscape.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_k02_trucks_cemetery.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l01_escape.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l02_garbage.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l03_agroprom.script

L5 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l04_darkvalley.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l05_bar.script

L5 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l06_rostok.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l07_military.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l08_yantar.script

L5 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l09_deadcity.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l10_limansk.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l10_radar.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l10_red_forest.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l11_hospital.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l11_pripyat.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l12_stancia.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l12_stancia_2.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l13_generators.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_pripyat.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_y04_pole.script

L5 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_zaton.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

S2 Ambience Sounds MCM

2 files (🟢0 🟡0 🔴1 🔵24)

amb_main.script

L54 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[S2_AMB] " .. tostring(msg))
L183 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("play_sound: No player position!")
L189 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("play_sound: " .. sound_name .. " BLOCKED by MCM")
L217 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("play_sound: Failed to load " .. sound_path)
L244 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[S2_AMB] actor_on_first_update called")
L248 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[S2_AMB] ERROR: amb_defs is nil! Sounds will not work!")
L313 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("process_sound_list: sound_list is nil!")
L329 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Played: " .. event.name .. sound_index)
L421 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log(string.format("Rain cache rebuilt: %d nearby emitters (of %d total)", #rain_nearby_cache, #emitters))
L485 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Mod is DISABLED")
L516 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("ERROR: amb_defs is nil!")
L526 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log(string_format("Level: %s | Hour: %d | Night: %s | Rain: %.2f | Underground: %s | Cover: %s",
L538 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log(string_format("Rain check: is_raining=%s, is_storming=%s, rain_enabled=%s",
L548 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Mode: UNDERGROUND")
L559 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Mode: INDOOR (safe cover)")
L573 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Mode: OUTDOOR STORM")
L576 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Mode: OUTDOOR RAIN - processing event_list_on_rain_outdoor")
L581 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Mode: OUTDOOR NIGHT")
L585 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Night sounds DISABLED in MCM")
L588 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Mode: OUTDOOR DAY")
L590 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Processing generic_day_outdoor_sounds: " .. g_tostring(D.generic_day_outdoor_sounds and #D.generic_day_outdoor_sounds or "nil"))
L593 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Day sounds DISABLED in MCM")
L616 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[S2_AMB] amb_main.script loaded. MCM available: %s", tostring(amb_mcm ~= nil))

amb_mcm.script

L88 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[S2_AMB] is_context_enabled(%s) key=%s result=%s", context, key, tostring(result))
L38 🔴 global_write
Global write: sound_categories
Impact: low
Show code
sound_categories = {

S2 Ambience Sounds PATCHED new version

51 files (🟢0 🟡0 🔴62 🔵24)

amb_defs.script

L6 🔴 global_write
Global write: generic_day_outdoor_sounds
Impact: low
Show code
generic_day_outdoor_sounds = {
L17 🔴 global_write
Global write: generic_night_outdoor_sounds
Impact: low
Show code
generic_night_outdoor_sounds = {
L28 🔴 global_write
Global write: event_list_cover_indoor
Impact: low
Show code
event_list_cover_indoor = {
L33 🔴 global_write
Global write: event_list_underground
Impact: low
Show code
event_list_underground = {
L47 🔴 global_write
Global write: event_list_on_rain_outdoor
Impact: low
Show code
event_list_on_rain_outdoor = {
L56 🔴 global_write
Global write: event_list_on_rain_indoor
Impact: low
Show code
event_list_on_rain_indoor = {
L61 🔴 global_write
Global write: event_list_on_storm_outdoor
Impact: low
Show code
event_list_on_storm_outdoor = {
L71 🔴 global_write
Global write: event_list_on_storm_indoor
Impact: low
Show code
event_list_on_storm_indoor = {
L76 🔴 global_write
Global write: map_specific_outdoor_sounds
Impact: low
Show code
map_specific_outdoor_sounds = {
L332 🔴 global_write
Global write: map_specific_underground_sounds
Impact: low
Show code
map_specific_underground_sounds = {
L362 🔴 global_write
Global write: underground_levels
Impact: low
Show code
underground_levels = {
L378 🔴 global_write
Global write: rain_loop_settings
Impact: low
Show code
rain_loop_settings = {

amb_main.script

L57 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[S2_AMB] " .. tostring(msg))
L168 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("play_sound: No player position!")
L173 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("play_sound: " .. sound_name .. " BLOCKED by MCM")
L199 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("play_sound: Failed to load " .. sound_path)
L222 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[S2_AMB] actor_on_first_update called")
L226 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[S2_AMB] ERROR: amb_defs is nil! Sounds will not work!")
L284 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("process_sound_list: sound_list is nil!")
L299 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Played: " .. event.name .. sound_index)
L382 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log(string.format("Rain cache rebuilt: %d nearby emitters (of %d total)", #rain_nearby_cache, #emitters))
L443 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Mod is DISABLED")
L469 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("ERROR: amb_defs is nil!")
L482 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log(string_format("Level: %s | Hour: %d | Night: %s | Rain: %.2f | Weather: %s | Underground: %s | Cover: %s",
L492 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log(string_format("Rain check: is_raining=%s, is_storming=%s, rain_enabled=%s",
L504 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Mode: UNDERGROUND")
L515 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Mode: INDOOR (safe cover)")
L529 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Mode: OUTDOOR STORM")
L532 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Mode: OUTDOOR RAIN - processing event_list_on_rain_outdoor")
L536 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Mode: OUTDOOR NIGHT")
L540 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Night sounds DISABLED in MCM")
L543 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Mode: OUTDOOR DAY")
L545 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Processing generic_day_outdoor_sounds: " .. g_tostring(D.generic_day_outdoor_sounds and #D.generic_day_outdoor_sounds or "nil"))
L548 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log("Day sounds DISABLED in MCM")
L568 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[S2_AMB] amb_main.script loaded. MCM available: %s", tostring(amb_mcm ~= nil))

amb_map_jupiter.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_k00_marsh.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_k01_darkscape.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_k02_trucks_cemetery.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l01_escape.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l02_garbage.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l03_agroprom.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l04_darkvalley.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l05_bar.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l06_rostok.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l07_military.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l08_yantar.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l09_deadcity.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l10_limansk.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l10_radar.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l10_red_forest.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l11_hospital.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l11_pripyat.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l12_stancia.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l12_stancia_2.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_pripyat.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_y04_pole.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_zaton.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_mcm.script

L91 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[S2_AMB] is_context_enabled(%s) key=%s result=%s", context, key, tostring(result))
L38 🔴 global_write
Global write: sound_categories
Impact: low
Show code
sound_categories = {

amb_static.script

L8 🔴 global_write
Global write: static_sound_emitters
Impact: low
Show code
static_sound_emitters = {} -- Sonidos Globales (Siempre activos)
L9 🔴 global_write
Global write: rain_sound_emitters
Impact: low
Show code
rain_sound_emitters = {} -- Sonidos de Lluvia (Solo activos con lluvia)

rain_amb_map_jupiter.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_k00_marsh.script

L5 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_k01_darkscape.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_k02_trucks_cemetery.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l01_escape.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l02_garbage.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l03_agroprom.script

L5 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l04_darkvalley.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l05_bar.script

L5 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l06_rostok.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l07_military.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l08_yantar.script

L5 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l09_deadcity.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l10_limansk.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l10_radar.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l10_red_forest.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l11_hospital.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l11_pripyat.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l12_stancia.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l12_stancia_2.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l13_generators.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_pripyat.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_y04_pole.script

L5 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_zaton.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

S2 Ambience Sounds PATCHED new version (Rainy update)

51 files (🟢0 🟡0 🔴62 🔵3)

amb_defs.script

L6 🔴 global_write
Global write: generic_day_outdoor_sounds
Impact: low
Show code
generic_day_outdoor_sounds = {
L17 🔴 global_write
Global write: generic_night_outdoor_sounds
Impact: low
Show code
generic_night_outdoor_sounds = {
L28 🔴 global_write
Global write: event_list_cover_indoor
Impact: low
Show code
event_list_cover_indoor = {
L33 🔴 global_write
Global write: event_list_underground
Impact: low
Show code
event_list_underground = {
L47 🔴 global_write
Global write: event_list_on_rain_outdoor
Impact: low
Show code
event_list_on_rain_outdoor = {
L56 🔴 global_write
Global write: event_list_on_rain_indoor
Impact: low
Show code
event_list_on_rain_indoor = {
L61 🔴 global_write
Global write: event_list_on_storm_outdoor
Impact: low
Show code
event_list_on_storm_outdoor = {
L71 🔴 global_write
Global write: event_list_on_storm_indoor
Impact: low
Show code
event_list_on_storm_indoor = {
L76 🔴 global_write
Global write: map_specific_outdoor_sounds
Impact: low
Show code
map_specific_outdoor_sounds = {
L332 🔴 global_write
Global write: map_specific_underground_sounds
Impact: low
Show code
map_specific_underground_sounds = {
L362 🔴 global_write
Global write: underground_levels
Impact: low
Show code
underground_levels = {
L378 🔴 global_write
Global write: rain_loop_settings
Impact: low
Show code
rain_loop_settings = {

amb_main.script

L47 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[S2_AMB] " .. tostring(msg))
L518 🔵 debug_statement
Debug call: debug_log()
Impact: medium
Show code
debug_log(string_format("RainLogic: Factor=%.2f | Effective=%.2f | Weather=%s", rain_factor, effective_rain, current_weather))

amb_map_jupiter.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_k00_marsh.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_k01_darkscape.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_k02_trucks_cemetery.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l01_escape.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l02_garbage.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l03_agroprom.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l04_darkvalley.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l05_bar.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l06_rostok.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l07_military.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l08_yantar.script

L1 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l09_deadcity.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l10_limansk.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l10_radar.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l10_red_forest.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l11_hospital.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l11_pripyat.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l12_stancia.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_l12_stancia_2.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_pripyat.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_y04_pole.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_map_zaton.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

amb_mcm.script

L91 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[S2_AMB] is_context_enabled(%s) key=%s result=%s", context, key, tostring(result))
L38 🔴 global_write
Global write: sound_categories
Impact: low
Show code
sound_categories = {

amb_static.script

L8 🔴 global_write
Global write: static_sound_emitters
Impact: low
Show code
static_sound_emitters = {} -- Sonidos Globales (Siempre activos)
L9 🔴 global_write
Global write: rain_sound_emitters
Impact: low
Show code
rain_sound_emitters = {} -- Sonidos de Lluvia (Solo activos con lluvia)

rain_amb_map_jupiter.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_k00_marsh.script

L5 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_k01_darkscape.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_k02_trucks_cemetery.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l01_escape.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l02_garbage.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l03_agroprom.script

L5 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l04_darkvalley.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l05_bar.script

L5 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l06_rostok.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l07_military.script

L6 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l08_yantar.script

L5 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l09_deadcity.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l10_limansk.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l10_radar.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l10_red_forest.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l11_hospital.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l11_pripyat.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l12_stancia.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l12_stancia_2.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_l13_generators.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_pripyat.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_y04_pole.script

L5 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

rain_amb_map_zaton.script

L3 🔴 global_write
Global write: emitters
Impact: low
Show code
emitters = {

Serious Tasks QoL Pack

24 files (🟢0 🟡0 🔴44 🔵62)

blacklist_helper.script

L2 🔴 global_write
Global write: TaskBlacklist
Impact: low
Show code
TaskBlacklist = {} --If a task failed to find a target I'll put it's Id here so I can later prevent the task from entering the task pool.

monkey_axr_task_manager.script

L1 🔴 global_write
Global write: OldAxrTaskManagerGetFirstAvailableTask
Impact: low
Show code
OldAxrTaskManagerGetFirstAvailableTask = axr_task_manager.get_first_available_task

monkey_news_manager.script

L1 🔴 global_write
Global write: OldSendTask
Impact: low
Show code
OldSendTask = news_manager.send_task

monkey_rioc.script

L1 🔴 global_write
Global write: OldRiocOnDescr
Impact: low
Show code
OldRiocOnDescr = tasks_recover_item_on_corpse.on_descr

monkey_tasks_multifetch.script

L1 🔴 global_write
Global write: OldTasksMultifetchOnDescrNews
Impact: low
Show code
OldTasksMultifetchOnDescrNews = tasks_multifetch.on_descr_news

monkey_tasks_recover_mutant_data.script

L1 🔴 global_write
Global write: OldXrEffectsRecoverMutantDataLocation
Impact: low
Show code
OldXrEffectsRecoverMutantDataLocation = xr_effects.recover_mutant_data_location

monkey_tasks_smart_control.script

L1 🔴 global_write
Global write: OldSmartControlPFNF
Impact: low
Show code
OldSmartControlPFNF = tasks_smart_control.postpone_for_next_frame

new_tasks_addon_tasks_utils.script

L190 🔴 global_write
Global write: southern_maps
Impact: low
Show code
southern_maps = {
L205 🔴 global_write
Global write: nothern_maps
Impact: low
Show code
nothern_maps = {
L217 🔴 global_write
Global write: sim_stalkers
Impact: low
Show code
sim_stalkers = nil
L219 🔴 global_write
Global write: sim_stalkers
Impact: low
Show code
sim_stalkers = {}
L335 🔴 global_write
Global write: levels
Impact: low
Show code
levels = {
L369 🔴 global_write
Global write: mcm_config
Impact: low
Show code
mcm_config = load_defaults()
L372 🔴 global_write
Global write: mcm_config
Impact: low
Show code
mcm_config = load_defaults()
L412 🔴 global_write
Global write: se_id
Impact: low
Show code
se_id = spawn_helicopter(true, vector():set(-178.07975769043,5.3180623054504,-181.78283691406))

nta_utils.script

L181 🔴 global_write
Global write: southern_maps
Impact: low
Show code
southern_maps = {
L196 🔴 global_write
Global write: northern_maps
Impact: low
Show code
northern_maps = {
L208 🔴 global_write
Global write: sim_stalkers
Impact: low
Show code
sim_stalkers = nil
L210 🔴 global_write
Global write: sim_stalkers
Impact: low
Show code
sim_stalkers = {}
L435 🔴 global_write
Global write: levels
Impact: low
Show code
levels = {
L539 🔴 global_write
Global write: story_ids
Impact: low
Show code
story_ids = {
L563 🔴 global_write
Global write: mcm_config
Impact: low
Show code
mcm_config = load_defaults()
L566 🔴 global_write
Global write: mcm_config
Impact: low
Show code
mcm_config = load_defaults()

serious_the_job_can_wait_mcm.script

L6 🔴 global_write
Global write: op
Impact: low
Show code
op = {

tasks_agent_rescue.script

L79 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L110 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('! join_message: se_obj (%s) is nil!', id)
L121 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('! leave_message: se_obj (%s) is nil!', id)
L195 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('var nil in task %s', task_id)
L201 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('squad_id nil in task %s', task_id)
L207 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('se_squad nil in task %s', task_id)
L280 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('var nil in task %s', task_id)
L289 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('se_squad nil in task %s', task_id)
L295 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('se_spy nil in task %s', task_id)
L300 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('se_spy has died in task %s', task_id)
L349 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('var nil in task %s', task_id)
L358 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('se_squad nil in task %s', task_id)
L477 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | no faction_lookup table", task_id)

tasks_assault.script

L211 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | assault_task_target_functor - var is nil", task_id)
L217 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | assault_task_target_functor - smart is nil", task_id)
L267 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | task failed because smart no longer available", task_id)
L280 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ %s | Faction [%s] is re-added to cache_assault_func table", task_id, params[i])
L295 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ %s | Faction [%s] is re-added to cache_assault_func table", task_id, fac)
L300 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | no enemy factions found",task_id)
L357 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | not enough parameters", task_id)
L381 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | status functor parameters are mising!", task_id)
L420 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | no enemy factions found", task_id)

tasks_bounty.script

L184 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! %s - no target found for task",p[1])
L194 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s - no server object could be retrieved for (%s)",p[1],target_id)

tasks_chimera_scan.script

L214 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('%s -> %s',_m[task_id].scan_time, _m[task_id].previous_time)

tasks_delivery.script

L55 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s TASK ERROR: xr_effects.create_delivery_quest - can't find item section [%s]", var, tostring(item_1_sec))
L127 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! %s TASK ERROR: xr_effects.create_delivery_quest - no target found!", var)
L336 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! remove_delivery_item - no var found")

tasks_dominance.script

L181 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ %s | Faction [%s] is re-added to cache_func table", task_id, params[i])
L186 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | no enemy factions found",task_id)
L212 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | no smarts found for level",task_id, cache_level[task_id])
L257 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | not enough parameters", task_id)
L268 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! %s | reused cache", task_id)
L279 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | status functor parameters are mising!", task_id)
L290 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | status_functor_level is mising!", task_id)
L306 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! %s | no enemy factions found", task_id)
L329 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- %s | %s squads has been found in level (%s)", task_id, size_table(targets), def.level)
L343 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | missing info in setup_dominance_task", task_id)
L350 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | missing cache in setup_dominance_task", task_id)

tasks_fate.script

L153 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! TASK ERROR: %s | xr_effects.create_fate_quest - can't find item section!",var)
L158 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR on_init_fate_task | actor is not talking")

tasks_fetch.script

L208 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: fetch_reward_and_remove | no fetch item found!")
L213 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Warning: fetch_reward_and_remove | total_cost is below 50")
L285 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR xr_effects.remove_artefact_item | no var found for %s", p[1])
L464 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: %s | fetch list [%s] is invalid", p[1], p[2])
L571 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: xr_effects:setup_generic_fetch_task - invalid section %s",sec)
L759 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! WARNING: fetch_list.ltx | wrong section name [%s]", id)

tasks_guide.script

L160 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log('! Cracnricl oceer, audieili = '..cycle_id..' drc!')
L560 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("RAX WTF timer over write!")
L581 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Timer %s, at %s | gametime at %s", value['name'], value['delay'],time)
L14 🔴 global_write
Global write: tbl_way
Impact: low
Show code
tbl_way = {
L529 🔴 global_write
Global write: action
Impact: low
Show code
then action=""
L549 🔴 global_write
Global write: action
Impact: low
Show code
action=""

tasks_measure.script

L181 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR - %s | not enough parameters for on_init_measure_task!",p[1])
L187 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR validate_measure_task | actor is not talking")
L203 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR - %s | can't find item section!",task_id)
L275 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! %s | No anomaly found!",task_id)
L283 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | cant get server object of anomaly (%s)!",task_id,target_id)
L305 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR setup_measure_task missing task_id")
L314 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | can't get cached result", task_id)
L320 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! %s | cant get server object of anomaly (%s)!", task_id, tbl.target_id)

tasks_stash.script

L60 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "! %s - Unable to get quest stash %s id !!", p[1], typ )
L69 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "! %s - Unable to get quest stash %s object !!", p[1], typ )

ui_pda_taskboard_tab.script

L209 🔵 debug_statement
Debug call: print()
Impact: medium
Show code
print("Warning: entry_info is nil for row_index:", row_index)
L214 🔵 debug_statement
Debug call: print()
Impact: medium
Show code
print("Warning: prev_task is nil for row_index:", row_index)
L124 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = nil -- required for fetch quest override
L126 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = task_data.npc_id
L141 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = nil
L164 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = task_details.npc_id
L166 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = nil
L312 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = npc:id()
L318 🔴 global_write
Global write: currently_processed_npc_id
Impact: low
Show code
currently_processed_npc_id = nil
L547 🔴 global_write
Global write: normalizer
Impact: low
Show code
normalizer = {
L569 🔴 global_write
Global write: config
Impact: low
Show code
config = load_defaults()
L572 🔴 global_write
Global write: config
Impact: low
Show code
config = load_defaults()

z_taskboard_overrides.script

L1 🔴 global_write
Global write: tasks_info
Impact: low
Show code
tasks_info = {}
L2 🔴 global_write
Global write: fallback_tasks_info
Impact: low
Show code
fallback_tasks_info = {}
L3 🔴 global_write
Global write: original_tasks_info
Impact: low
Show code
original_tasks_info = {}
L72 🔴 global_write
Global write: tasks_info
Impact: low
Show code
tasks_info = {}

zz_monkey_z_fetch_shows_count.script

L5 🔴 global_write
Global write: OldTaskFetchPostponeForNextFrame
Impact: low
Show code
OldTaskFetchPostponeForNextFrame = tasks_fetch.postpone_fetch_for_next_frame
L12 🔴 global_write
Global write: task_id
Impact: low
Show code
task_id = string.sub(task_id,1,-7) or "" -- because it ends with fetch
L13 🔴 global_write
Global write: amount
Impact: low
Show code
amount = amount or 1

Serious Workshop optimization

9 files (🟢0 🟡1 🔴14 🔵12)

craft_use_low_cond.script

L6 🔴 global_write
Global write: base_craft
Impact: low
Show code
base_craft = ui_workshop.UIWorkshopCraft.Craft

ui_furniture_workshop.script

L79 🔴 global_write
Global write: workshop_ui_ref
Impact: low
Show code
workshop_ui_ref = ui_workshop.get_workshop_ui(nil, nil, {false,false,false,false,false}, false, stashId)

ui_workshop.script

L1073 🟡 string_concat_in_loop
String concat in loop: prereq = prereq .. x
Impact: critical
Show code
prereq = prereq .. "\\n - " .. str
L856 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopRepair:UpdateToolkits(%s) | no proper repair toolkit is found for item [%s], make sure it is supported by repair tools sections", num, main_sec)
L1137 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! Workshop UI | no proper repair toolkit is found for item [%s], make sure it is supported by repair tools sections", obj:section())
L1765 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! Workshop UI craft | componenet section [%s] not found for [%s] recipe!", g_tostring(t[3]), id)
L1773 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[5]), id)
L1781 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[7]), id)
L1789 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | componenet section [%s] not found for [%s] recipe!", g_tostring(t[9]), id)
L1794 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopCraft:LoadRecipes() | section [%s] not found!",id)
L2053 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if enable_debug then printf(fmt,...) end
L19 🔴 global_write
Global write: workshop_toolkits
Impact: low
Show code
workshop_toolkits = {

z_monkey_toolkit_workshop.script

L5 🔴 global_write
Global write: base_workshop
Impact: low
Show code
base_workshop = ui_workshop.UIWorkshop.Reset
L6 🔴 global_write
Global write: workshop_toolkits
Impact: low
Show code
workshop_toolkits = ui_workshop.workshop_toolkits

z_serious_monkey_ui_debug_launcher.script

L1 🔴 global_write
Global write: original_start_workshop
Impact: low
Show code
original_start_workshop = ui_debug_launcher.start_workshop
L14 🔴 global_write
Global write: workshop_ui_ref
Impact: low
Show code
workshop_ui_ref = ui_workshop.get_workshop_ui(GUI, nil, {true,true,true,true,true,true}, true)

zz_ui_workshop_keep_crafting_window_open.script

L256 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIWorkshopRepair:Repair() | can't discharge toolkit with id (%s). Object not found!", self.toolkit_pick[i])
L271 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopRepair:Repair() | object with id (%s) is either not found. Or didn't register new condition (%s)!", id, final_con)
L141 🔴 global_write
Global write: kind
Impact: low
Show code
kind = SYS_GetParam(0, self.craft_item_r[1], "kind")

zzz_workshop_return_items.script

L5 🔴 global_write
Global write: item_ids
Impact: low
Show code
item_ids = {}
L6 🔴 global_write
Global write: stash_id
Impact: low
Show code
stash_id = nil
L8 🔴 global_write
Global write: ui_workshop_UIWorkshop_Close
Impact: low
Show code
ui_workshop_UIWorkshop_Close = ui_workshop.UIWorkshop.Close

zzzz_serious_ui_workshop.script

L5 🔴 global_write
Global write: UpdateItem
Impact: low
Show code
UpdateItem = ui_workshop.UIWorkshopCraft.UpdateItem
L6 🔴 global_write
Global write: SetTip
Impact: low
Show code
SetTip = ui_workshop.SetTip

zzzzz_ui_workshop_repair_patch.script

L57 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIWorkshopRepair:Repair() | can't discharge toolkit with id (%s). Object not found!", self.toolkit_pick[i])
L75 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! UIWorkshopRepair:Repair() | object with id (%s) is either not found. Or didn't register new condition (%s)!", id, final_con)
L1 🔴 global_write
Global write: WorkshopRepair
Impact: low
Show code
WorkshopRepair = ui_workshop.UIWorkshopRepair.Repair

Shaders cumulative pack for GAMMA

8 files (🟢2 🟡0 🔴39 🔵6)

item_device.script

L140 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR item_device | reading from items\\settings\\devices.ltx | section [%s] or power consumption values don't exist", sec)
L155 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("item_device | %s | " .. txt, time_global(), ...)
L227 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("beef - key on-press")
L232 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("beef - time event fired for nvg turn-on")
L250 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("beef - key on-release")
L254 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("beef - brightness adjust")
L18 🔴 global_write
Global write: dev_consumption
Impact: low
Show code
dev_consumption = {} -- [sec] = {...} | Power consumption of device per stage
L19 🔴 global_write
Global write: dev_consumption_act
Impact: low
Show code
dev_consumption_act = {} -- [sec] = {...} | Power consumption of device per action (stage 2)
L20 🔴 global_write
Global write: dev_consumption_tot
Impact: low
Show code
dev_consumption_tot = {} -- [sec] = num | Total power consumption of a device
L21 🔴 global_write
Global write: dev_critical
Impact: low
Show code
dev_critical = {} -- [sec] = num | Power limit, devices go off when their power go below this value
L40 🔴 global_write
Global write: devices
Impact: low
Show code
devices = {}
L41 🔴 global_write
Global write: device_battery
Impact: low
Show code
device_battery = nil
L42 🔴 global_write
Global write: device_geiger
Impact: low
Show code
device_geiger = nil
L43 🔴 global_write
Global write: device_npc_pda
Impact: low
Show code
device_npc_pda = {}
L61 🔴 global_write
Global write: nv_state
Impact: low
Show code
nv_state = false -- make nv_state a global variable so we can access it from beefs_nvgs
L79 🔴 global_write
Global write: dosimeter_env_rads_mode
Impact: low
Show code
dosimeter_env_rads_mode = false
L94 🔴 global_write
Global write: device_battery
Impact: low
Show code
device_battery = ini_device:r_sec_ex("settings","battery","batteries_dead")
L95 🔴 global_write
Global write: device_geiger
Impact: low
Show code
device_geiger = ini_device:r_sec_ex("settings","geiger","detector_geiger")
L266 🔴 global_write
Global write: dosimeter_env_rads_mode
Impact: low
Show code
dosimeter_env_rads_mode = not dosimeter_env_rads_mode
L267 🔴 global_write
Global write: dosimeter_mode_string
Impact: low
Show code
dosimeter_mode_string = dosimeter_env_rads_mode and game.translate_string("st_environment_rads") or game.translate_string("st_actor_rads")
L620 🔴 global_write
Global write: nv_state
Impact: low
Show code
nv_state = true
L626 🔴 global_write
Global write: nv_state
Impact: low
Show code
nv_state = false

ssfx_001_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "general", sh=true, text="ui_mcm_ssfx_module_general", gr ={

ssfx_001_settings.script

L7 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings = {

ssfx_dof_mcm.script

L8 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "wpn_dof", sh=true, text="ui_mcm_ssfx_module_wpn_dof", gr ={

ssfx_weapons_dof.script

L284 🟢 repeated_itm_section()
itm:section() called 2x in actor_on_update
Impact: low
Show code
Cache itm:section() result
L166 🔴 global_write
Global write: itm
Impact: low
Show code
itm = db.actor:active_item()
L232 🔴 global_write
Global write: anim_tm
Impact: low
Show code
anim_tm = tm * 0.001
L236 🔴 global_write
Global write: anim_tm
Impact: low
Show code
anim_tm = anim_tm * ssfx_weapons_dof_settings.items_time[ssfx_itm_in_use]
L238 🔴 global_write
Global write: anim_tm
Impact: low
Show code
anim_tm = anim_tm * 0.7

ssfx_weapons_dof_settings.script

L7 🔴 global_write
Global write: ssfx_default_settings
Impact: low
Show code
ssfx_default_settings = {
L31 🔴 global_write
Global write: wpn_nodof
Impact: low
Show code
wpn_nodof = {
L57 🔴 global_write
Global write: items_time
Impact: low
Show code
items_time = {
L103 🔴 global_write
Global write: wpn_reloadtime
Impact: low
Show code
wpn_reloadtime = {

z_beefs_nvgs.script

L199 🟢 repeated_itm_section()
itm:section() called 3x in item_device.set_nightvision
Impact: low
Show code
Cache itm:section() result
L69 🔴 global_write
Global write: nvg_num_tubes_gen1
Impact: low
Show code
nvg_num_tubes_gen1 = z_beefs_nvgs_mcm.get_config("nvg_gen1_tubes_mcm")
L73 🔴 global_write
Global write: nvg_mode_gen2
Impact: low
Show code
nvg_mode_gen2 = z_beefs_nvgs_mcm.get_config("nvg_gen2_mode_mcm")
L74 🔴 global_write
Global write: nvg_mode_gen3
Impact: low
Show code
nvg_mode_gen3 = z_beefs_nvgs_mcm.get_config("nvg_gen3_mode_mcm")
L434 🔴 global_write
Global write: zoom_type
Impact: low
Show code
zoom_type = wpn:cast_Weapon():GetZoomType()
L474 🔴 global_write
Global write: zoom_type
Impact: low
Show code
zoom_type = nil
L533 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L569 🔴 global_write
Global write: zoom_type
Impact: low
Show code
zoom_type = wpn:cast_Weapon():GetZoomType()
L570 🔴 global_write
Global write: zoomed
Impact: low
Show code
zoomed = wpn:cast_Weapon():IsZoomed()
L571 🔴 global_write
Global write: scoped
Impact: low
Show code
scoped = wpn:cast_Weapon():IsScopeAttached()
L618 🔴 global_write
Global write: zoom_type
Impact: low
Show code
zoom_type = wpn:cast_Weapon():GetZoomType()
L619 🔴 global_write
Global write: scoped_weapon_is_zoomed
Impact: low
Show code
scoped_weapon_is_zoomed = wpn and IsWeapon(wpn) and wpn:weapon_is_scope()

z_beefs_nvgs_mcm.script

L23 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "beef_nvg",sh=true ,gr={

SixSloth's & Veerserif's Hideout Furnitures 2.2.1 GAMMA patch

2 files (🟢0 🟡0 🔴6 🔵0)

ui_furniture_workshop.script

L80 🔴 global_write
Global write: workshop_ui_ref
Impact: low
Show code
workshop_ui_ref = ui_workshop.get_workshop_ui(nil, nil, {false,false,false,false,false}, false)

zzz_workshop_return_items.script

L1 🔴 global_write
Global write: item_ids
Impact: low
Show code
item_ids = {}
L2 🔴 global_write
Global write: stash_id
Impact: low
Show code
stash_id = nil
L15 🔴 global_write
Global write: item_ids
Impact: low
Show code
item_ids = {}
L16 🔴 global_write
Global write: stash_id
Impact: low
Show code
stash_id = nil
L19 🔴 global_write
Global write: ui_workshop_UIWorkshop_Close
Impact: low
Show code
ui_workshop_UIWorkshop_Close = ui_workshop.UIWorkshop.Close

Stealth_2.31

4 files (🟢1 🟡0 🔴7 🔵11)

stealth_mcm.script

L24 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "stealth",sh=true ,gr={

stealth_nvg.script

L153 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L1 🔴 global_write
Global write: stealth_nvg_ps
Impact: low
Show code
stealth_nvg_ps = {}
L70 🔴 global_write
Global write: scuffed_sr_light_patch
Impact: low
Show code
scuffed_sr_light_patch = sr_light.check_light
L148 🔴 global_write
Global write: stealth_nvg_ps
Impact: low
Show code
stealth_nvg_ps = m_data.stealth_nvg_ps or {}

visual_memory_manager.script

L246 🟢 repeated_outfit_section()
outfit:section() called 3x in slot_in_out
Impact: low
Show code
Cache outfit:section() result
L435 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(..., var)
L440 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('---------------------------------------------------------------')
L441 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Weather is: " .. (wthrs))
L442 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1. Luminocity ---------- %s", Luminocity)
L443 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1.a) luminocity --------- %s", luminocity)
L444 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1.b) lights_lum() ------- %s", lights_lum())
L445 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1.c) who:get_lum() ---- %s", who:get_luminocity())
L447 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("3. dist_original --------- %s", distance)
L458 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("8. Step incr --- %s", step_incr)
L24 🔴 global_write
Global write: stealth_light_ind
Impact: low
Show code
stealth_light_ind = { 0, false }

xr_combat_ignore.script

L436 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_combat_ignore: reset_generic_scheme storage is nil! npc=%s scheme=%s section=%s",npc and npc:name(),scheme,section)
L7 🔴 global_write
Global write: fighting_with_actor_npcs
Impact: low
Show code
fighting_with_actor_npcs = {}
L8 🔴 global_write
Global write: safe_zone_npcs
Impact: low
Show code
safe_zone_npcs = {}

Suppressors do not Increase Jam Probability

1 file (🟢0 🟡0 🔴1 🔵0)

z_arti_jamming_no_silencer_jam.script

L1 🔴 global_write
Global write: get_silencer_jam_chance
Impact: low
Show code
get_silencer_jam_chance = arti_jamming.get_silencer_jam_chance

Tactical Compass

4 files (🟢0 🟡0 🔴15 🔵7)

axr_main.script

L245 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![axr_main callback_add] callback %s already exists!",name)
L252 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![axr_main callback_set] trying to set callback %s to nil function!",name)
L259 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![axr_main callback_set] callback %s doesn't exist!",name)
L268 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![axr_main callback_unset] callback %s doesn't exist!",name)
L283 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![axr_main make_callback] can't make callback to non existing intercept %s!",name)
L15 🔴 global_write
Global write: config
Impact: low
Show code
config = ini_file_ex("axr_options.ltx",true)
L347 🔴 global_write
Global write: scoped_weapon_is_zoomed
Impact: low
Show code
scoped_weapon_is_zoomed = wpn and IsWeapon(wpn) and wpn:weapon_is_scope()
L348 🔴 global_write
Global write: binoc_is_zoomed
Impact: low
Show code
binoc_is_zoomed = wpn and (wpn:section() == "wpn_binoc_inv")
L349 🔴 global_write
Global write: weapon_is_zoomed
Impact: low
Show code
weapon_is_zoomed = true
L355 🔴 global_write
Global write: scoped_weapon_is_zoomed
Impact: low
Show code
scoped_weapon_is_zoomed = false
L356 🔴 global_write
Global write: binoc_is_zoomed
Impact: low
Show code
binoc_is_zoomed = false
L357 🔴 global_write
Global write: weapon_is_zoomed
Impact: low
Show code
weapon_is_zoomed = false

bind_stalker.script

L248 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("collectgarbage before=%sKb",collectgarbage("count")*1024)
L251 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("collectgarbage after=%sKb",collectgarbage("count")*1024)
L278 🔴 global_write
Global write: weapon_lowered_before_dialog
Impact: low
Show code
weapon_lowered_before_dialog = false
L280 🔴 global_write
Global write: weapon_lowered_before_dialog
Impact: low
Show code
weapon_lowered_before_dialog = true
L300 🔴 global_write
Global write: weapon_lowered_before_dialog
Impact: low
Show code
weapon_lowered_before_dialog = false

compass_mcm.script

L52 🔴 global_write
Global write: op
Impact: low
Show code
op = {

markers_definitions.script

L1 🔴 global_write
Global write: marker_categories
Impact: low
Show code
marker_categories = {
L59 🔴 global_write
Global write: transition_types
Impact: low
Show code
transition_types = {
L70 🔴 global_write
Global write: blacklisted_categories
Impact: low
Show code
blacklisted_categories = {
L84 🔴 global_write
Global write: marker_configs
Impact: low
Show code
marker_configs = {

Task_Manager

1 file (🟢0 🟡0 🔴3 🔵1)

task_manager_imgui.script

L71 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Warning: win1251_to_utf8 encountered unmapped characters: %s", str)
L2 🔴 global_write
Global write: task_manager_window_visible
Impact: low
Show code
task_manager_window_visible = false
L89 🔴 global_write
Global write: task_manager_window_visible
Impact: low
Show code
clicked, task_manager_window_visible = ImGui.MenuItem(TASK_MANAGER_MENU, nil, task_manager_window_visible, true)
L96 🔴 global_write
Global write: task_manager_window_visible
Impact: low
Show code
task_manager_window_visible = status

Teivaz Gunslinger Knives Quick Melee

1 file (🟢0 🟡0 🔴10 🔵0)

quickdraw.script

L71 🔴 global_write
Global write: knife_to_degrade
Impact: low
Show code
knife_to_degrade = db.actor:object(knifesm[1])
L76 🔴 global_write
Global write: knife_to_degrade
Impact: low
Show code
knife_to_degrade = db.actor:object(knifesm[2])
L81 🔴 global_write
Global write: knife_to_degrade
Impact: low
Show code
knife_to_degrade = db.actor:object(knifesm[3])
L86 🔴 global_write
Global write: knife_to_degrade
Impact: low
Show code
knife_to_degrade = db.actor:object(knifesm[4])
L91 🔴 global_write
Global write: knife_to_degrade
Impact: low
Show code
knife_to_degrade = db.actor:object(knifesm[5])
L97 🔴 global_write
Global write: knife_to_degrade
Impact: low
Show code
knife_to_degrade = db.actor:object(knifesm[6])
L103 🔴 global_write
Global write: knife_to_degrade
Impact: low
Show code
knife_to_degrade = db.actor:object(knifesm[7])
L109 🔴 global_write
Global write: knife_to_degrade
Impact: low
Show code
knife_to_degrade = db.actor:object(knifesm[8])
L117 🔴 global_write
Global write: cond
Impact: low
Show code
cond = knife_to_degrade:condition()
L133 🔴 global_write
Global write: last_slot
Impact: low
Show code
last_slot = db.actor:active_slot() or 0

Teivaz's Gunslinger Exo Animations Port

1 file (🟢0 🟡0 🔴26 🔵9)

enhanced_animations.script

L133 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if ea_debug then printf("speed is = "..speed) end
L178 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
if ea_debug then printf("update = "..failure_timer) end
L183 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("hide weapons for anim failed")
L184 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(used_item or (used_monster and used_monster:section()) or "anim find ERROR")
L185 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(anim_section or "NO ANIM SECTION FOUND")
L235 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("hud section is %s", hud)
L240 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("hud section %s is exo but no animation %s, revert back", hud, item)
L243 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("hud section %s is exo and found animation %s", hud, item)
L246 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("hud section %s is not exo", hud)
L30 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = true
L31 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = false
L35 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot,used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: used_item
Impact: low
Show code
active_slot,used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: ea_flag
Impact: low
Show code
active_slot,used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: fake_monster
Impact: low
Show code
active_slot,used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: det_active
Impact: low
Show code
active_slot,used_item,ea_flag,fake_monster,det_active,anim_section = nil
L35 🔴 global_write
Global write: anim_section
Impact: low
Show code
active_slot,used_item,ea_flag,fake_monster,det_active,anim_section = nil
L54 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = not enable_animations
L60 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_mcm.get("EA_settings/enable_animations")
L61 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = false -- ui_mcm.get("EA_settings/mutant_loot")
L64 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = false
L68 🔴 global_write
Global write: mutant_loot_mod
Impact: low
Show code
mutant_loot_mod = false --ini_eff:r_bool_ex("anim_settings", "mutant_loot_mod")
L69 🔴 global_write
Global write: enable_animations
Impact: low
Show code
enable_animations = ui_options.get("video/player/animations")
L84 🔴 global_write
Global write: active_slot
Impact: low
Show code
active_slot = db.actor:active_slot()
L104 🔴 global_write
Global write: used_item
Impact: low
Show code
used_item = item
L106 🔴 global_write
Global write: anim_section
Impact: low
Show code
anim_section = ini_eff:r_string_ex(item, "anm")
L146 🔴 global_write
Global write: tmr
Impact: low
Show code
tmr = ini_eff:r_float_ex(used_item, "tm")
L164 🔴 global_write
Global write: tmr
Impact: low
Show code
tmr = ini_eff:r_float_ex("item_ea_harv_wpn_knife", "anim_length")
L200 🔴 global_write
Global write: anim_section
Impact: low
Show code
anim_section = nil
L316 🔴 global_write
Global write: used_item
Impact: low
Show code
used_item = nil
L327 🔴 global_write
Global write: fake_monster
Impact: low
Show code
fake_monster = used_monster
L329 🔴 global_write
Global write: ea_flag
Impact: low
Show code
ea_flag = true
L331 🔴 global_write
Global write: ea_flag
Impact: low
Show code
ea_flag = nil
L333 🔴 global_write
Global write: fake_monster
Impact: low
Show code
fake_monster = nil
L360 🔴 global_write
Global write: det_active
Impact: low
Show code
det_active = db.actor:active_detector() or nil

The_Anomalous_Stash_v

3 files (🟢1 🟡0 🔴20 🔵1)

anom_stash_trade.script

L139 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update

anomalous_stash.script

L23 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("AnomStash - " .. ...)
L1 🔴 global_write
Global write: hidden_stash
Impact: low
Show code
hidden_stash = nil
L2 🔴 global_write
Global write: anom_stashes
Impact: low
Show code
anom_stashes = {}
L3 🔴 global_write
Global write: stash_particles
Impact: low
Show code
stash_particles = {}
L5 🔴 global_write
Global write: is_teleporting
Impact: low
Show code
is_teleporting = false
L6 🔴 global_write
Global write: last_interacted_anom_stash_id
Impact: low
Show code
last_interacted_anom_stash_id = nil
L16 🔴 global_write
Global write: hidden_stash
Impact: low
Show code
hidden_stash = m_data.anomalous_hidden_stash or nil
L17 🔴 global_write
Global write: anom_stashes
Impact: low
Show code
anom_stashes = m_data.anomalous_stashes or {}
L52 🔴 global_write
Global write: last_interacted_anom_stash_id
Impact: low
Show code
last_interacted_anom_stash_id = obj:id()
L67 🔴 global_write
Global write: is_teleporting
Impact: low
Show code
is_teleporting = true
L71 🔴 global_write
Global write: is_teleporting
Impact: low
Show code
is_teleporting = false
L128 🔴 global_write
Global write: hidden_stash_obj
Impact: low
Show code
hidden_stash_obj = level.object_by_id(hidden_stash)
L150 🔴 global_write
Global write: hidden_stash
Impact: low
Show code
hidden_stash = nil
L159 🔴 global_write
Global write: obj
Impact: low
Show code
obj = level.object_by_id(data.stash_id)
L167 🔴 global_write
Global write: actor_invs
Impact: low
Show code
actor_invs = {
L205 🔴 global_write
Global write: base_reset
Impact: low
Show code
base_reset = ui_inventory.UIInventory.Reset
L340 🔴 global_write
Global write: se_hidden_stash
Impact: low
Show code
se_hidden_stash = alife_create("hidden_anom_stash", pos, db.actor:level_vertex_id(), db.actor:game_vertex_id())
L341 🔴 global_write
Global write: hidden_stash
Impact: low
Show code
hidden_stash = se_hidden_stash.id

trader_autoinject.script

L182 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L16 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L32 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

Tiskar's repair threshold Icon replacers

1 file (🟢0 🟡0 🔴3 🔵3)

aaa_rax_icon_override_mcm.script

L22 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "RAX: | %s | "..text ,time_global(), ...)
L367 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | XML_box or XML_temp doesn't exist")
L375 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | section [%s] doesn't exist in system ini", sec)
L18 🔴 global_write
Global write: icon_override
Impact: low
Show code
icon_override = ini_file_ex("icon_override\\icon_override.ltx")
L540 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(a_sec,1)
L555 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(b_sec,1)

Tiskar's weapon part color clarity fix

1 file (🟢0 🟡0 🔴3 🔵3)

aaa_rax_icon_override_mcm.script

L22 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "RAX: | %s | "..text ,time_global(), ...)
L367 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | XML_box or XML_temp doesn't exist")
L375 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | section [%s] doesn't exist in system ini", sec)
L18 🔴 global_write
Global write: icon_override
Impact: low
Show code
icon_override = ini_file_ex("icon_override\\icon_override.ltx")
L540 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(a_sec,1)
L555 🔴 global_write
Global write: axis
Impact: low
Show code
axis = utils_xml.get_item_axis(b_sec,1)

Toxic Air v2 Redux

7 files (🟢2 🟡6 🔴19 🔵23)

custom_functor_autoinject.script

L108 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."*"..g_tostring(t))
L114 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(t).." {")
L116 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..string.rep(" ",#pos+6).."}")
L118 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent.."["..pos.."] => "..g_tostring(val))
L122 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(indent..g_tostring(t))
L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = function",k)
L145 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s",k,utils_data.vector_to_string(v))
L147 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = userdata", k)
L152 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = true",k)
L154 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = true")
L158 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = false", k)
L160 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."userdata = false")
L165 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = %s", k,v)
L167 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(sub.."%s = nil", k,v)
L321 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s", k, v.index)
L324 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s, %s, max custom_functor reached", k, v.index)
L426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, processing queue")
L429 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Custom functors, type %s", v.type)
L466 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid, min 1, max 10, your slot: %s", slot)
L481 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("functor slot is not valid min 1, max 10, your slot: %s", slot)
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[" .. k .. "] => ")

demonized_crafter.script

L277 🟡 string_concat_in_loop
String concat in loop: s = s .. x
Impact: critical
Show code
s = s .. item_name
L402 🟡 string_concat_in_loop
String concat in loop: s = s .. x
Impact: critical
Show code
s = s .. item_name .. ":" .. amount .. sep
L499 🟡 string_concat_in_loop
String concat in loop: tip_string = tip_string .. x
Impact: critical
Show code
tip_string = tip_string .. " \\n" .. ui_item.get_sec_name(recipe_item) .. ": " .. (craft_item_modes[recipe_item] and colorize("1") or (is_degradable(recipe_item) and colorize(round(recipe_amount * 100) .. "%") or colorize(recipe_amount)))
L519 🟡 string_concat_in_loop
String concat in loop: tip_string = tip_string .. x
Impact: critical
Show code
tip_string = tip_string .. " \\n" .. ui_item.get_sec_name(recipe_item) .. ": " .. (craft_item_modes[recipe_item] and colorize("1") or (is_degradable(recipe_item) and colorize(round(recipe_amount * 100) .. "%") or colorize(recipe_amount)))
L532 🟡 string_concat_in_loop
String concat in loop: failed_tip_string = failed_tip_string .. x
Impact: critical
Show code
failed_tip_string = failed_tip_string .. " \\n" .. ui_item.get_sec_name(recipe_item) .. ": " ..
L574 🟡 string_concat_in_loop
String concat in loop: failed_tip_string = failed_tip_string .. x
Impact: critical
Show code
failed_tip_string = failed_tip_string .. " \\n \\n" .. gc(craft_func_key .. "_craft_or") .. " \\n"
L143 🔴 global_write
Global write: craft_recipes
Impact: low
Show code
craft_recipes = {}
L144 🔴 global_write
Global write: craft_item_strings
Impact: low
Show code
craft_item_strings = {}

demonized_crafter_filters.script

L1 🔴 global_write
Global write: craft_recipes
Impact: low
Show code
craft_recipes = {

new_game_loadout_injector_mcm.script

L78 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Loadout Injector: " .. str, ...)
L82 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Loadout Injector: ERROR, " .. str, ...)
L109 🔴 global_write
Global write: loadout_items
Impact: low
Show code
loadout_items = {}
L112 🔴 global_write
Global write: loadout_removed_items
Impact: low
Show code
loadout_removed_items = {}

toxic_air.script

L601 🟢 repeated_tank_section()
tank:section() called 3x in tank_in_belt
Impact: low
Show code
Cache tank:section() result
L594 🔴 global_write
Global write: prevent_anm
Impact: low
Show code
prevent_anm = false
L1068 🔴 global_write
Global write: prevent_anm
Impact: low
Show code
prevent_anm = true -- Skip animation in tank_out_belt callback
L1093 🔴 global_write
Global write: prevent_anm
Impact: low
Show code
prevent_anm = false
L1136 🔴 global_write
Global write: BuildHeader
Impact: low
Show code
BuildHeader = ui_item.build_desc_header
L1212 🔴 global_write
Global write: NameCustom
Impact: low
Show code
NameCustom = ui_inventory.UIInventory.Name_Custom
L1223 🔴 global_write
Global write: ActionCustom
Impact: low
Show code
ActionCustom = ui_inventory.UIInventory.Action_Custom
L1885 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update
L2010 🔴 global_write
Global write: SpawnCosmetics
Impact: low
Show code
SpawnCosmetics = death_manager.spawn_cosmetics
L2018 🔴 global_write
Global write: base_add_bar
Impact: low
Show code
base_add_bar = utils_ui.UICellItem.Add_ProgressBar
L2343 🔴 global_write
Global write: prevent_anm
Impact: low
Show code
prevent_anm = true -- Skip animation in tank_out_belt callback
L2368 🔴 global_write
Global write: prevent_anm
Impact: low
Show code
prevent_anm = false

toxic_air_mcm.script

L35 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "toxic_air",sh=true ,gr={

trader_autoinject.script

L196 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L28 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L44 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

Toxic_Air_

3 files (🟢2 🟡0 🔴9 🔵0)

toxic_air.script

L524 🟢 repeated_obj_section()
obj:section() called 3x in get_cond_for_ui
Impact: low
Show code
Cache obj:section() result
L534 🔴 global_write
Global write: BuildHeader
Impact: low
Show code
BuildHeader = ui_item.build_desc_header
L588 🔴 global_write
Global write: NameCustom
Impact: low
Show code
NameCustom = ui_inventory.UIInventory.Name_Custom
L599 🔴 global_write
Global write: ActionCustom
Impact: low
Show code
ActionCustom = ui_inventory.UIInventory.Action_Custom
L1051 🔴 global_write
Global write: TraderAuto
Impact: low
Show code
TraderAuto = trader_autoinject.update
L1178 🔴 global_write
Global write: SpawnCosmetics
Impact: low
Show code
SpawnCosmetics = death_manager.spawn_cosmetics
L1186 🔴 global_write
Global write: base_add_bar
Impact: low
Show code
base_add_bar = utils_ui.UICellItem.Add_ProgressBar

toxic_air_mcm.script

L22 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "toxic_air",sh=true ,gr={

trader_autoinject.script

L199 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L28 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L53 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

UI Rework G.A.M.M.A. Style - Sota

27 files (🟢3 🟡10 🔴113 🔵26)

better_stats_bars_mcm.script

L1 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("this script is disabled because the addon is no longer compatible")

efp_ui_mcm.script

L24 🔴 global_write
Global write: mcm_id
Impact: low
Show code
mcm_id = "efp_ui"
L188 🔴 global_write
Global write: module_settings
Impact: low
Show code
module_settings = {}

grok_remove_belt_duplicates.script

L39 🔴 global_write
Global write: res
Impact: low
Show code
res = sec:gsub("_lead_box", "")
L41 🔴 global_write
Global write: res
Impact: low
Show code
res = sec:gsub("_af_iam", "")
L43 🔴 global_write
Global write: res
Impact: low
Show code
res = sec:gsub("_af_aac", "")
L45 🔴 global_write
Global write: res
Impact: low
Show code
res = sec:gsub("_af_aam", "")

item_weapon_remove_old_ammo.script

L40 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("ERROR: could not find ammo list for [%s] - grenade mode: %s", self.section, self.grenade_mode)

sota_stats_tweak_gamma.script

L223 🟢 repeated_obj_section()
obj:section() called 3x in <global>
Impact: low
Show code
Cache obj:section() result
L120 🔴 global_write
Global write: hit_type
Impact: low
Show code
hit_type = gadb.hit_type
L121 🔴 global_write
Global write: immunity
Impact: low
Show code
immunity = gadb.immunity
L122 🔴 global_write
Global write: protection
Impact: low
Show code
protection = gadb.protection
L123 🔴 global_write
Global write: booster_type_def
Impact: low
Show code
booster_type_def = gadb.booster_type_def
L124 🔴 global_write
Global write: adjuster
Impact: low
Show code
adjuster = gadb.adjuster
L125 🔴 global_write
Global write: arti_adjuster
Impact: low
Show code
arti_adjuster = gadb.arti_adjuster
L126 🔴 global_write
Global write: limiter
Impact: low
Show code
limiter = gadb.limiter
L127 🔴 global_write
Global write: elemental
Impact: low
Show code
elemental = gadb.elemental
L128 🔴 global_write
Global write: psy
Impact: low
Show code
psy = gadb.psy
L129 🔴 global_write
Global write: cap_stat
Impact: low
Show code
cap_stat = gadb.cap_stat
L130 🔴 global_write
Global write: defense
Impact: low
Show code
defense = gadb.defense
L135 🔴 global_write
Global write: gadb_const
Impact: low
Show code
gadb_const = {
L256 🔴 global_write
Global write: limiter
Impact: low
Show code
limiter = limiter + af_limit
L258 🔴 global_write
Global write: limiter
Impact: low
Show code
limiter = 0.95
L271 🔴 global_write
Global write: booster_value
Impact: low
Show code
booster_value = booster_value * adj
L335 🔴 global_write
Global write: def
Impact: low
Show code
def = def or 0
L433 🔴 global_write
Global write: def
Impact: low
Show code
def = def or 0
L751 🔴 global_write
Global write: booster_value
Impact: low
Show code
booster_value = booster_value * adj
L1275 🔴 global_write
Global write: hovered_object
Impact: low
Show code
hovered_object = nil
L1278 🔴 global_write
Global write: hovered_object
Impact: low
Show code
hovered_object = obj:id()
L1286 🔴 global_write
Global write: hovered_object
Impact: low
Show code
hovered_object = nil
L1306 🔴 global_write
Global write: n
Impact: low
Show code
n = math.floor(math.max(n or 1, 1))
L1311 🔴 global_write
Global write: n
Impact: low
Show code
n = n - 1

svui_condition_bars.script

L1 🔴 global_write
Global write: XML_bars
Impact: low
Show code
XML_bars = CScriptXmlInit()

ui_inventory.script

L1805 🟢 table_insert_append
table.insert(context_params, v) -> context_params[#context_params+1] = v
Impact: high
Show code
table.insert(context_params, {id, bag, g_unpack(func_action)})
L4321 🟢 repeated_obj_from_section()
obj_from:section() called 3x in On_CC_DragDrop
Impact: low
Show code
Cache obj_from:section() result
L4899 🟡 string_concat_in_loop
String concat in loop: ext_descr = ext_descr .. x
Impact: critical
Show code
ext_descr = ext_descr .. self:FormatStatDescrLine(prop.st, equ_total, prop.unit, prop.idp, " \\n \\n", extra) .. equ_descr
L5037 🟡 string_concat_in_loop
String concat in loop: result = result .. x
Impact: critical
Show code
result = result .. self:FormatStatDescrLine(ext_line.st, ext_line.value, unit, idp, " \\n")
L1710 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR Can't get item game object!")
L1911 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIInventory:Name_Custom | can't find function (%s) for %s in section [%s]", str[1] .. str[2], "use" .. i .. "_functor", sec)
L2289 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UIInventory:Action_Custom | can't find function (%s) for %s in section [%s]", str[1] .. str[2], "use" .. i .. "_action_functor", sec)
L54 🔴 global_write
Global write: is_gamma
Impact: low
Show code
is_gamma = gts("ui_st_game_version"):find(gamma_tag)
L58 🔴 global_write
Global write: show_full_stats
Impact: low
Show code
show_full_stats = false
L60 🔴 global_write
Global write: show_weight
Impact: low
Show code
show_weight = false
L62 🔴 global_write
Global write: st_perc
Impact: low
Show code
st_perc = gts("st_perc")
L64 🔴 global_write
Global write: clr_stats_t
Impact: low
Show code
clr_stats_t = {
L70 🔴 global_write
Global write: satiety_max
Impact: low
Show code
satiety_max = nil
L71 🔴 global_write
Global write: thirst_mul
Impact: low
Show code
thirst_mul = actor_status_thirst.eat_thirstiness_mul or 1000
L72 🔴 global_write
Global write: thirst_max
Impact: low
Show code
thirst_max = 10000-- actor_status_thirst.start_blur_4 or (is_gamma and 8000 or 5760)
L73 🔴 global_write
Global write: sleep_mul
Impact: low
Show code
sleep_mul = actor_status_sleep.eat_sleepiness_mul or (is_gamma and 2000 or 1000)
L74 🔴 global_write
Global write: sleep_max
Impact: low
Show code
sleep_max = 10000-- actor_status_sleep.start_blur_4 or 8750
L76 🔴 global_write
Global write: stat_radia
Impact: low
Show code
stat_radia = { magn= 1 , unit= "st_perc" }
L78 🔴 global_write
Global write: xml_clr_t
Impact: low
Show code
xml_clr_t = {
L87 🔴 global_write
Global write: stats_round_idp
Impact: low
Show code
stats_round_idp = function(num, idp)
L91 🔴 global_write
Global write: idp
Impact: low
Show code
idp = idp or 0
L95 🔴 global_write
Global write: idp
Impact: low
Show code
idp = math_max( 2 , idp )
L97 🔴 global_write
Global write: idp
Impact: low
Show code
idp = math_max( 1 , idp )
L103 🔴 global_write
Global write: align_t
Impact: low
Show code
align_t = {
L112 🔴 global_write
Global write: font_t
Impact: low
Show code
font_t = {
L125 🔴 global_write
Global write: ui_rework_support
Impact: low
Show code
ui_rework_support = {
L237 🔴 global_write
Global write: display_supply_level
Impact: low
Show code
display_supply_level = is_gamma
L263 🔴 global_write
Global write: color_settings
Impact: low
Show code
color_settings = {
L303 🔴 global_write
Global write: faction_colors
Impact: low
Show code
faction_colors = {
L318 🔴 global_write
Global write: faction_text_colors
Impact: low
Show code
faction_text_colors = {
L334 🔴 global_write
Global write: stat_colors
Impact: low
Show code
stat_colors = not is_gamma and {
L368 🔴 global_write
Global write: slot_colors
Impact: low
Show code
slot_colors = {
L385 🔴 global_write
Global write: player_faction_color
Impact: low
Show code
player_faction_color = GetARGB( 255 , 39 , 39 , 160 )
L386 🔴 global_write
Global write: player_faction_text_color
Impact: low
Show code
player_faction_text_color = GetARGB( 255 , 255 , 232 , 208 )
L2814 🔴 global_write
Global write: booster_value
Impact: low
Show code
booster_value = booster_value * adj
L4353 🔴 global_write
Global write: quick_item
Impact: low
Show code
quick_item = exec_console_cmd("slot_" .. (idx_to - 1) .. " " .. obj_from:section())
L4911 🔴 global_write
Global write: satiety_max
Impact: low
Show code
satiety_max = (not satiety_max) and utils_ui.stats_table["booster"]["eat_satiety"].magnitude or satiety_max

utils_ui.script

L1785 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UICellContainer:RemoveItemManual | can't get game object for [%s]", sec)
L1947 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR UICellContainer:FindSimilar | no data recieved!")
L263 🔴 global_write
Global write: stats_table
Impact: low
Show code
stats_table = {}

weight_of_catergory.script

L4 🔴 global_write
Global write: weight_offset
Impact: low
Show code
weight_offset = 18

z_barter_ui.script

L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("original script not found, patch not activated")

z_faction_trade_ui.script

L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("original script not found, patch not activated")

z_indirect_parts_favoriter.script

L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("original script not found, patch not activated")

z_item_icon_info.script

L559 🟡 string_concat_in_loop
String concat in loop: name_cutoff = name_cutoff .. x
Impact: critical
Show code
name_cutoff = name_cutoff .. " " .. str_table[1]
L564 🟡 string_concat_in_loop
String concat in loop: gc_name = gc_name .. x
Impact: critical
Show code
gc_name = gc_name .. str_table[i]
L845 🟡 string_concat_in_loop
String concat in loop: name_cutoff = name_cutoff .. x
Impact: critical
Show code
name_cutoff = name_cutoff .. " " .. str_table[1]
L850 🟡 string_concat_in_loop
String concat in loop: gc_name = gc_name .. x
Impact: critical
Show code
gc_name = gc_name .. str_table[i]
L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("mcm script (item_icon_info_mcm.script) of addon UI Improvements by Utjan not found, patch not activated")
L6 🔴 global_write
Global write: bar_list
Impact: low
Show code
bar_list = {
L14 🔴 global_write
Global write: utjan_xml
Impact: low
Show code
utjan_xml = nil
L16 🔴 global_write
Global write: base_init
Impact: low
Show code
base_init = utils_ui.UICellItem.InitControls
L22 🔴 global_write
Global write: base_pbar
Impact: low
Show code
base_pbar = utils_ui.UICellItem.Add_ProgressBar
L41 🔴 global_write
Global write: base_counter
Impact: low
Show code
base_counter = utils_ui.UICellItem.Add_Counter
L56 🔴 global_write
Global write: base_reset
Impact: low
Show code
base_reset = utils_ui.UICellItem.Reset
L81 🔴 global_write
Global write: valid_wpn_kinds
Impact: low
Show code
valid_wpn_kinds = {
L91 🔴 global_write
Global write: grenade_classes
Impact: low
Show code
grenade_classes = {
L97 🔴 global_write
Global write: main_slot_indexes
Impact: low
Show code
main_slot_indexes = {
L221 🔴 global_write
Global write: arty_table
Impact: low
Show code
arty_table = {
L332 🔴 global_write
Global write: clr_r
Impact: low
Show code
clr_r = GetARGB(255,196,18,18)
L333 🔴 global_write
Global write: clr_o
Impact: low
Show code
clr_o = utils_xml.get_color("d_orange", true)
L334 🔴 global_write
Global write: clr_y
Impact: low
Show code
clr_y = GetARGB(255,255,255,118)
L335 🔴 global_write
Global write: clr_g
Impact: low
Show code
clr_g = GetARGB(255,107,207,119)
L336 🔴 global_write
Global write: clr_missing
Impact: low
Show code
clr_missing = GetARGB(255,70,60,60) -- Missing part color
L443 🔴 global_write
Global write: unique_mapping
Impact: low
Show code
unique_mapping = {
L454 🔴 global_write
Global write: name_mapping
Impact: low
Show code
name_mapping = {
L500 🔴 global_write
Global write: valid_ammo_class
Impact: low
Show code
valid_ammo_class = {
L505 🔴 global_write
Global write: valid_exlosive_ammo
Impact: low
Show code
valid_exlosive_ammo = {
L645 🔴 global_write
Global write: one_use_recipes
Impact: low
Show code
one_use_recipes = {
L649 🔴 global_write
Global write: workshop_autoinject_known_recipes
Impact: low
Show code
workshop_autoinject_known_recipes = {}
L651 🔴 global_write
Global write: functor_table_readable
Impact: low
Show code
functor_table_readable = {
L694 🔴 global_write
Global write: workshop_autoinject_known_recipes
Impact: low
Show code
workshop_autoinject_known_recipes = workshop_autoinject and workshop_autoinject.known_recipe or workshop_autoinject_known_recipes
L738 🔴 global_write
Global write: base_wai_load
Impact: low
Show code
base_wai_load = workshop_autoinject.load_state
L741 🔴 global_write
Global write: workshop_autoinject_known_recipes
Impact: low
Show code
workshop_autoinject_known_recipes = mdata.known_recipe or {}
L909 🔴 global_write
Global write: repair_type_texture_tbl
Impact: low
Show code
repair_type_texture_tbl = {
L935 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()
L938 🔴 global_write
Global write: settings
Impact: low
Show code
settings = load_defaults()
L957 🔴 global_write
Global write: utjan_xml
Impact: low
Show code
utjan_xml = CScriptXmlInit()

z_item_recipe.script

L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Banjaji's Crafting System Improvements detected, vanilla recipe window patch disabled")

z_item_recipe_Banjaji_CSI.script

L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("original script not found, patch not activated")

z_soulslike_sleep_dialog.script

L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("original script not found, patch not activated")

z_souslike_gamemode_injector_mcm.script

L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("original script not found, patch not activated")

z_tasks_placeable_waypoints.script

L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("original script not found, patch not activated")

z_ui_itm_details.script

L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("original script not found, patch not activated")

z_ui_workshop.script

L193 🟡 string_concat_in_loop
String concat in loop: prereq = prereq .. x
Impact: critical
Show code
prereq = prereq .. "\\n " .. str

z_upgrade_rank_pricing.script

L35 🔴 global_write
Global write: rank
Impact: low
Show code
rank = section:sub(14,14)
L67 🔴 global_write
Global write: cur_hint
Impact: low
Show code
cur_hint = nil
L103 🔴 global_write
Global write: rank
Impact: low
Show code
rank = section:sub(14,14)

z_utils_ui_demonized_inventory_weights.script

L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("original script not found, patch not activated")
L19 🔴 global_write
Global write: sec
Impact: low
Show code
sec = sec or obj:section()

z_utils_xml.script

L13 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | XML_box or XML_temp doesn't exist")
L21 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR utils_xml.set_icon | section [%s] doesn't exist in system ini", sec)

zz_ui_inventory_better_stats_bars.script

L1 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("this script is disabled because the addon is no longer compatible")

zzz_craft_use_in_tooltip_mcm.script

L419 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. ","
L444 🟡 string_concat_in_loop
String concat in loop: str = str .. x
Impact: critical
Show code
str = str .. ","
L14 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(error_or_result)
L431 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! Craft Info in Tooltip | Could not find inv name of section " .. craftable_sec)
L453 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! Craft Info in Tooltip | Could not find inv name of section " .. meal_sec)
L25 🔴 global_write
Global write: og_info_item_init
Impact: low
Show code
og_info_item_init = utils_ui.UIInfoItem.__init
L181 🔴 global_write
Global write: og_info_item_update
Impact: low
Show code
og_info_item_update = utils_ui.UIInfoItem.Update
L312 🔴 global_write
Global write: result
Impact: low
Show code
result, ingredients, item = ini_craft:r_line_ex(section,i,"","")
L312 🔴 global_write
Global write: ingredients
Impact: low
Show code
result, ingredients, item = ini_craft:r_line_ex(section,i,"","")
L312 🔴 global_write
Global write: item
Impact: low
Show code
result, ingredients, item = ini_craft:r_line_ex(section,i,"","")
L324 🔴 global_write
Global write: result
Impact: low
Show code
result, recipe_name, info = ini_craft:r_line_ex(section,i,"","")
L324 🔴 global_write
Global write: recipe_name
Impact: low
Show code
result, recipe_name, info = ini_craft:r_line_ex(section,i,"","")
L324 🔴 global_write
Global write: info
Impact: low
Show code
result, recipe_name, info = ini_craft:r_line_ex(section,i,"","")
L375 🔴 global_write
Global write: result
Impact: low
Show code
result, recipe_name, info = ini_cook:r_line_ex("meal_list",i,"","")
L375 🔴 global_write
Global write: recipe_name
Impact: low
Show code
result, recipe_name, info = ini_cook:r_line_ex("meal_list",i,"","")
L375 🔴 global_write
Global write: info
Impact: low
Show code
result, recipe_name, info = ini_cook:r_line_ex("meal_list",i,"","")
L495 🔴 global_write
Global write: base_build_desc_footer
Impact: low
Show code
base_build_desc_footer = ui_item.build_desc_footer
L498 🔴 global_write
Global write: base_details_reset
Impact: low
Show code
base_details_reset = ui_itm_details.UIItemSheet.Reset
L503 🔴 global_write
Global write: base_add_recipe
Impact: low
Show code
base_add_recipe = workshop_autoinject.add_new_recipe
L516 🔴 global_write
Global write: base_add_override_recipe
Impact: low
Show code
base_add_override_recipe = workshop_autoinject.add_override_recipe
L525 🔴 global_write
Global write: base_remove_recipe
Impact: low
Show code
base_remove_recipe = workshop_autoinject.remove_existing_recipes
L534 🔴 global_write
Global write: base_clear_recipe
Impact: low
Show code
base_clear_recipe = workshop_autoinject.clear_existing_recipes
L555 🔴 global_write
Global write: op
Impact: low
Show code
op = { id= "craft_in_tooltip",sh=true ,gr={

zzz_parts_in_tooltip.script

L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("original script not found, patch not activated")

zzzzz_arti_jamming_repairs.script

L42 🟡 string_concat_in_loop
String concat in loop: str_msg = str_msg .. x
Impact: critical
Show code
str_msg = str_msg .. "\\n " .. ui_item.get_sec_name(k)
L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("original script not found, patch not activated")

UI Rework G.A.M.M.A. Style - Sota INVENTORY WEIGHTS PATCH

1 file (🟢0 🟡0 🔴1 🔵1)

z_utils_ui_demonized_inventory_weights.script

L2 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("original script not found, patch not activated")
L19 🔴 global_write
Global write: sec
Impact: low
Show code
sec = sec or obj:section()

WPO fix heat lua crash

1 file (🟢1 🟡0 🔴7 🔵3)

arti_jamming.script

L218 🟢 repeated_gun_section()
gun:section() called 5x in actor_on_update
Impact: low
Show code
Cache gun:section() result
L48 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("arti_jamming | %s | " .. txt, time_global(), ...)
L339 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(jc_ratio)
L341 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(jc)
L2 🔴 global_write
Global write: gc
Impact: low
Show code
gc = game.translate_string
L3 🔴 global_write
Global write: math_random
Impact: low
Show code
math_random = math.random
L4 🔴 global_write
Global write: math_floor
Impact: low
Show code
math_floor = math.floor
L36 🔴 global_write
Global write: get_config
Impact: low
Show code
get_config = a_arti_jamming_mcm.get_config
L38 🔴 global_write
Global write: d_flag
Impact: low
Show code
d_flag = false
L826 🔴 global_write
Global write: d_flag
Impact: low
Show code
d_flag = false
L832 🔴 global_write
Global write: d_flag
Impact: low
Show code
d_flag = true

Warfare Alife Overhaul Gamma Patch

13 files (🟢5 🟡6 🔴129 🔵144)

faction_expansions.script

L23 🔴 global_write
Global write: faction
Impact: low
Show code
faction = {}
L24 🔴 global_write
Global write: level
Impact: low
Show code
level = {}
L25 🔴 global_write
Global write: mutant
Impact: low
Show code
mutant = {}
L26 🔴 global_write
Global write: mutant_tier_by_clsid
Impact: low
Show code
mutant_tier_by_clsid = {

show_capture_point_on_map.script

L44 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L58 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0)
L62 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L11 🔴 global_write
Global write: printd
Impact: low
Show code
printd = warfare.printd
L13 🔴 global_write
Global write: str_wrfr_cr
Impact: low
Show code
str_wrfr_cr = game.translate_string("st_wrfr_canc_req_backup")
L14 🔴 global_write
Global write: str_wrfr_rs
Impact: low
Show code
str_wrfr_rs = game.translate_string("st_wrfr_req_squad")
L20 🔴 global_write
Global write: s_obj
Impact: low
Show code
s_obj = h_smart and alife_object(h_smart)
L32 🔴 global_write
Global write: s_obj
Impact: low
Show code
s_obj = h_smart and alife_object(h_smart)

sim_offline_combat.script

L175 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!!! TRYING TO REGISTER NON-SQUAD AS SQUAD")
L56 🔴 global_write
Global write: task_squads
Impact: low
Show code
task_squads = {}
L58 🔴 global_write
Global write: story_id_communities
Impact: low
Show code
story_id_communities = {}
L59 🔴 global_write
Global write: ignore_list
Impact: low
Show code
ignore_list = {}
L60 🔴 global_write
Global write: stationary_squads
Impact: low
Show code
stationary_squads = {}
L63 🔴 global_write
Global write: ocs_power
Impact: low
Show code
ocs_power = {}
L64 🔴 global_write
Global write: opponents
Impact: low
Show code
opponents = {}
L65 🔴 global_write
Global write: squads_by_level
Impact: low
Show code
squads_by_level = {}
L144 🔴 global_write
Global write: in_combat
Impact: low
Show code
in_combat = validate_enemy(sim, lid_1, squad_1, id_1, id_t, community_1)
L156 🔴 global_write
Global write: in_combat
Impact: low
Show code
in_combat = validate_enemy(sim, lid_1, squad_1, id_1, id_2, community_1)
L759 🔴 global_write
Global write: task_squads
Impact: low
Show code
task_squads = m_data.offline_task_squads or {}

sim_squad_warfare.script

L405 🟢 repeated_pda_section()
pda:section() called 4x in sim_squad_scripted.sim_squad_scripted.show
Impact: low
Show code
Cache pda:section() result
L71 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "squad_on_update: "..squad:name())
L80 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L127 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, squad:name())
L135 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!!! TRYING TO REGISTER NON-SQUAD AS SQUAD")
L141 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("--- registering " .. squad:section_name() .. " with warfare")
L167 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(3, squad:name())
L199 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "squad_warfare_update: "..squad:name())
L250 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L317 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, squad:name())
L332 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L336 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "squad_on_npc_death: "..squad:name())
L360 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L366 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, self:name().." registered: "..tostring(self.registered_with_warfare))
L370 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, self:name())
L382 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, self:name())
L525 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(3, self:name())
L531 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, self:name())
L534 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, self:name())
L541 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, self:name())
L597 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, squad:name())
L648 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L654 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, squad:name())
L779 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L791 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, squad:name())
L829 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L838 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, squad:name())
L900 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L904 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, squad:name())
L918 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, squad:name())
L921 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("squad %s is from capture territory task, ignore it's target", squad:name())
L959 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L964 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, squad:name())
L987 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, squad:name())
L21 🔴 global_write
Global write: printd
Impact: low
Show code
printd = warfare.printd
L22 🔴 global_write
Global write: dbg_map_hud
Impact: low
Show code
dbg_map_hud = false
L24 🔴 global_write
Global write: squad_icons
Impact: low
Show code
squad_icons = {

smart_terrain_warfare.script

L4154 🟡 string_concat_in_loop
String concat in loop: props = props .. x
Impact: critical
Show code
props = props .. " \\n" .. clr_b .. " \\n" .. str_wrfr[17] .. " \\n" .. clr_gr
L4313 🟡 string_concat_in_loop
String concat in loop: props = props .. x
Impact: critical
Show code
props = props .. " \\n" .. clr_b .. " \\n" .. str_wrfr[17] .. " \\n" .. clr_gr
L5026 🟡 string_concat_in_loop
String concat in loop: pName = pName .. x
Impact: critical
Show code
pName = pName.." ("..other:name()..")"
L350 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0)
L359 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L429 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L996 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd("%s is sending a base squad to %s", faction, other:name())
L2523 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L2578 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L2626 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "find_patrol_target - smart: "..(not smart and "nil" or smart:name()).."squad: "..(not squad and "nil" or squad:name()))
L2726 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L3584 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, smart:name())
L3601 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L3704 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L3744 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, self:name())
L4060 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, self:name())
L4065 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, self:name())
L4085 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, self:name())
L4089 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L4110 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L4115 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L4168 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L4173 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L4210 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L4216 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L4355 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L4386 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L4423 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L4464 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L4515 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L4521 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L4542 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L4574 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L4720 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L4731 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L4801 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L4807 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "find_random_patrol_target: "..(smart and smart:name() or "spawn"))
L4954 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L4962 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L5168 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, smart:name())
L5382 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, smart:name())
L5415 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, sm_name)
L5420 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(3, sm_name)
L5506 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(4, sm_name)
L56 🔴 global_write
Global write: printd
Impact: low
Show code
printd = warfare.printd
L58 🔴 global_write
Global write: hide_smarts
Impact: low
Show code
hide_smarts = false -- altered by pda_warfare.script
L63 🔴 global_write
Global write: point_cap_timers
Impact: low
Show code
point_cap_timers = {}
L64 🔴 global_write
Global write: smart_owners
Impact: low
Show code
smart_owners = {}
L65 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = nil
L66 🔴 global_write
Global write: dbg_hud
Impact: low
Show code
dbg_hud = false
L68 🔴 global_write
Global write: guard_size
Impact: low
Show code
guard_size = 1 -- number of squads to keep at a base when an invasion is sent out
L70 🔴 global_write
Global write: reset_defense_timer
Impact: low
Show code
reset_defense_timer = {}
L73 🔴 global_write
Global write: defense_timers
Impact: low
Show code
defense_timers = {}
L74 🔴 global_write
Global write: defense_next_update
Impact: low
Show code
defense_next_update = {}
L75 🔴 global_write
Global write: patrol_timers
Impact: low
Show code
patrol_timers = {}
L76 🔴 global_write
Global write: patrol_next_update
Impact: low
Show code
patrol_next_update = {}
L77 🔴 global_write
Global write: spawn_mutant_timers
Impact: low
Show code
spawn_mutant_timers = {}
L78 🔴 global_write
Global write: spawn_mutant_next_update
Impact: low
Show code
spawn_mutant_next_update = {}
L79 🔴 global_write
Global write: process_mutant_timers
Impact: low
Show code
process_mutant_timers = {}
L80 🔴 global_write
Global write: process_mutant_next_update
Impact: low
Show code
process_mutant_next_update = {}
L81 🔴 global_write
Global write: loner_timer
Impact: low
Show code
loner_timer = {}
L82 🔴 global_write
Global write: loners_next_update
Impact: low
Show code
loners_next_update = {}
L83 🔴 global_write
Global write: ecolog_timer
Impact: low
Show code
ecolog_timer = {}
L84 🔴 global_write
Global write: ecolog_next_update
Impact: low
Show code
ecolog_next_update = {}
L85 🔴 global_write
Global write: night_flag_timer
Impact: low
Show code
night_flag_timer = {}
L86 🔴 global_write
Global write: night_flag_next_update
Impact: low
Show code
night_flag_next_update = {}
L88 🔴 global_write
Global write: smart_terrain_distances
Impact: low
Show code
smart_terrain_distances = {} -- store distances when they get used. Save it in warfare.script to avoid lag spikes from continuously measuring distances between smart terrains
L89 🔴 global_write
Global write: under_attack
Impact: low
Show code
under_attack = {} -- when a smart is under attack, halt squad assignment from that smart until the threat has passed or the point has changed hands
L91 🔴 global_write
Global write: patrol_squads
Impact: low
Show code
patrol_squads = {}
L92 🔴 global_write
Global write: random_patrols
Impact: low
Show code
random_patrols = {}
L93 🔴 global_write
Global write: invasions
Impact: low
Show code
invasions = {}
L95 🔴 global_write
Global write: waiting_for_capture
Impact: low
Show code
waiting_for_capture = {}
L98 🔴 global_write
Global write: max_resource_count
Impact: low
Show code
max_resource_count = {
L117 🔴 global_write
Global write: invasion_defense_timers
Impact: low
Show code
invasion_defense_timers = {}
L118 🔴 global_write
Global write: invasion_defense_next_update
Impact: low
Show code
invasion_defense_next_update = {}
L121 🔴 global_write
Global write: reinforcements_requested
Impact: low
Show code
reinforcements_requested = {} -- bases will only request reinforcements once per incoming attack to ease computational load
L123 🔴 global_write
Global write: actor_informed
Impact: low
Show code
actor_informed = {} -- Players on the same level of an allied defending point will be notified one time about the attack
L130 🔴 global_write
Global write: control_hold
Impact: low
Show code
control_hold = {}
L132 🔴 global_write
Global write: send_to_territory
Impact: low
Show code
send_to_territory = {
L148 🔴 global_write
Global write: pda_icons
Impact: low
Show code
pda_icons = {
L277 🔴 global_write
Global write: monster_level_capacity
Impact: low
Show code
monster_level_capacity = {
L519 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = nil
L651 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = { smart.id, game.get_game_time(), closest_base, targeting_squad, 1 }
L659 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = nil -- actor has attempted a manual capture beyond the capture distance - kill the attempt
L810 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = nil
L826 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = { smart.id, game.get_game_time(), }
L837 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = nil
L847 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = nil
L864 🔴 global_write
Global write: manual_point
Impact: low
Show code
manual_point = nil
L1237 🔴 global_write
Global write: other
Impact: low
Show code
other = base_id and alife_object(base_id)
L4591 🔴 global_write
Global write: owner
Impact: low
Show code
owner = "none"
L5516 🔴 global_write
Global write: waiting_for_capture
Impact: low
Show code
waiting_for_capture = m_data.wfcTable
L5518 🔴 global_write
Global write: waiting_for_capture
Impact: low
Show code
waiting_for_capture = {}
L5520 🔴 global_write
Global write: wfc_Table_size
Impact: low
Show code
wfc_Table_size = 0
L5522 🔴 global_write
Global write: wfc_Table_size
Impact: low
Show code
wfc_Table_size = wfc_Table_size + 1

warfare.script

L75 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0)
L94 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L118 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "save_state")
L184 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, "save_state")
L191 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "load_state")
L194 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L202 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2)
L228 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(3)
L242 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(4)
L254 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(5)
L262 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(6)
L270 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(7)
L275 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, "load_state")
L282 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, squad:name())
L304 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L318 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "actor_on_update")
L408 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1, "actor_on_update")
L412 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, "actor_on_update")
L469 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(3, "actor_on_update")
L510 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd("stalker_pop_factor = %s", value)
L524 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd("monster_pop_factor = %s, smr %s", value, smr_amain_mcm and "true" or "false")
L532 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0)
L690 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L738 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0)
L759 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L771 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2)
L777 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(3, actor_faction)
L785 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(5)
L825 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(6)
L902 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(1)
L954 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, "on_game_start")
L967 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(2, "on_game_start")
L53 🔴 global_write
Global write: warfare_debug
Impact: low
Show code
warfare_debug = true
L55 🔴 global_write
Global write: actor_faction
Impact: low
Show code
actor_faction = nil
L56 🔴 global_write
Global write: actor_influence_points
Impact: low
Show code
actor_influence_points = 0
L57 🔴 global_write
Global write: influence_levels
Impact: low
Show code
influence_levels = {} -- influence_levels[smart_terrain_id] = influence_level if > 0 or nil
L59 🔴 global_write
Global write: base_count
Impact: low
Show code
base_count = 0
L60 🔴 global_write
Global write: resource_count
Impact: low
Show code
resource_count = 0
L61 🔴 global_write
Global write: level_count
Impact: low
Show code
level_count = 32
L62 🔴 global_write
Global write: initialized
Impact: low
Show code
initialized = false
L65 🔴 global_write
Global write: all_out_war_applied
Impact: low
Show code
all_out_war_applied = false
L68 🔴 global_write
Global write: need_all_out_war_applied
Impact: low
Show code
need_all_out_war_applied = true
L69 🔴 global_write
Global write: dynamic_relations_installed
Impact: low
Show code
dynamic_relations_installed = false
L72 🔴 global_write
Global write: ignore
Impact: low
Show code
ignore = {}
L98 🔴 global_write
Global write: registered_squads
Impact: low
Show code
registered_squads = {
L187 🔴 global_write
Global write: loaded_squads
Impact: low
Show code
loaded_squads = false
L196 🔴 global_write
Global write: actor_influence_points
Impact: low
Show code
actor_influence_points = m_data.warfare and m_data.warfare.actor_influence_points or 0
L197 🔴 global_write
Global write: influence_levels
Impact: low
Show code
influence_levels = m_data.warfare and m_data.warfare.influence_levels or {}
L198 🔴 global_write
Global write: all_out_war_applied
Impact: low
Show code
all_out_war_applied = m_data.warfare and m_data.warfare.all_out_war_applied or false
L226 🔴 global_write
Global write: new_surge
Impact: low
Show code
new_surge = m_data.warfare and m_data.warfare.new_surge or true
L250 🔴 global_write
Global write: loaded_squads
Impact: low
Show code
loaded_squads = true
L333 🔴 global_write
Global write: actor_faction
Impact: low
Show code
actor_faction = get_actor_true_community() or sim:actor():community():sub(7)
L372 🔴 global_write
Global write: base_count
Impact: low
Show code
base_count = base_count + 1
L379 🔴 global_write
Global write: resource_count
Impact: low
Show code
resource_count = resource_count + smart.props.resource
L416 🔴 global_write
Global write: actor_faction
Impact: low
Show code
actor_faction = get_actor_true_community() or sim:actor():community():sub(7)
L423 🔴 global_write
Global write: dynamic_relations_installed
Impact: low
Show code
dynamic_relations_installed = true
L429 🔴 global_write
Global write: all_out_war_applied
Impact: low
Show code
all_out_war_applied = true
L476 🔴 global_write
Global write: initialized
Impact: low
Show code
initialized = true
L485 🔴 global_write
Global write: warfare_positions_filled
Impact: low
Show code
warfare_positions_filled = false
L569 🔴 global_write
Global write: ignore
Impact: low
Show code
ignore = sim_offline_combat.get_ignore_list()
L667 🔴 global_write
Global write: squad
Impact: low
Show code
squad = SIMBOARD:create_squad(smart,squad_section) -- common squads can't go over user-set cap
L672 🔴 global_write
Global write: squad
Impact: low
Show code
squad = SIMBOARD:create_squad(smart,squad_section) -- always make story squads
L760 🔴 global_write
Global write: start_pos
Impact: low
Show code
start_pos = {}
L769 🔴 global_write
Global write: actor_faction
Impact: low
Show code
actor_faction = alife():actor():community():sub(7)
L970 🔴 global_write
Global write: ignore
Impact: low
Show code
ignore = sim_offline_combat.get_ignore_list()
L978 🔴 global_write
Global write: info
Impact: low
Show code
info = debug.getinfo(2, "nS")

warfare_factions.script

L122 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(0, faction or "nil faction")
L313 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Resurgence of %s is underway, targeting %s with %s squads", faction, target:name(), target_pop)
L342 🔵 debug_statement
Debug call: printd()
Impact: medium
Show code
printd(9, "true end")
L17 🔴 global_write
Global write: printd
Impact: low
Show code
printd = warfare.printd
L19 🔴 global_write
Global write: factions_p
Impact: low
Show code
factions_p = {}
L20 🔴 global_write
Global write: factions
Impact: low
Show code
factions = {
L37 🔴 global_write
Global write: all_factions
Impact: low
Show code
all_factions = {
L54 🔴 global_write
Global write: faction_information
Impact: low
Show code
faction_information = {}
L55 🔴 global_write
Global write: faction_timers
Impact: low
Show code
faction_timers = {}

warfare_imgui.script

L13 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("script _imgui_groups.script not loaded, disabling warfare_imgui.script")
L17 🔴 global_write
Global write: squads_window_visible
Impact: low
Show code
squads_window_visible = false
L18 🔴 global_write
Global write: smarts_window_visible
Impact: low
Show code
smarts_window_visible = false
L19 🔴 global_write
Global write: auto_capture_window_visible
Impact: low
Show code
auto_capture_window_visible = false
L20 🔴 global_write
Global write: smart_info_window_visible
Impact: low
Show code
smart_info_window_visible = false
L26 🔴 global_write
Global write: squads_window_visible
Impact: low
Show code
_, squads_window_visible = ImGui.MenuItem(SQUADS_MENU_ITEM, nil, squads_window_visible, true)
L27 🔴 global_write
Global write: smarts_window_visible
Impact: low
Show code
_, smarts_window_visible = ImGui.MenuItem(SMARTS_MENU_ITEM, nil, smarts_window_visible, true)
L28 🔴 global_write
Global write: auto_capture_window_visible
Impact: low
Show code
_, auto_capture_window_visible = ImGui.MenuItem(AUTO_CAPTURE_MENU_ITEM, nil, auto_capture_window_visible, true)
L29 🔴 global_write
Global write: smart_info_window_visible
Impact: low
Show code
_, smart_info_window_visible = ImGui.MenuItem(SMART_INFO_MENU_ITEM, nil, smart_info_window_visible, true)
L56 🔴 global_write
Global write: squads_window_visible
Impact: low
Show code
squads_window_visible = visible
L66 🔴 global_write
Global write: smarts_window_visible
Impact: low
Show code
smarts_window_visible = visible
L76 🔴 global_write
Global write: auto_capture_window_visible
Impact: low
Show code
auto_capture_window_visible = visible
L86 🔴 global_write
Global write: smart_info_window_visible
Impact: low
Show code
smart_info_window_visible = visible

warfare_imgui_smart_info.script

L543 🟢 table_insert_append
table.insert(block_reasons, v) -> block_reasons[#block_reasons+1] = v
Impact: high
Show code
table.insert(block_reasons, "Actor too close (" .. string_format("%.0f", smart.dist_to_actor) .. " < " .. g_tostring(smart.respawn_radius) .. ")")
L545 🟢 table_insert_append
table.insert(block_reasons, v) -> block_reasons[#block_reasons+1] = v
Impact: high
Show code
table.insert(block_reasons, "Actor distance OK (" .. string_format("%.0f", smart.dist_to_actor) .. " >= " .. g_tostring(smart.respawn_radius) .. ")")
L673 🟡 string_concat_in_loop
String concat in loop: status_text = status_text .. x
Impact: critical
Show code
status_text = status_text .. " (" .. g_tostring(behavior.wait_time) .. "m wait"
L2 🔴 global_write
Global write: selected_smart_id
Impact: low
Show code
selected_smart_id = nil

warfare_imgui_smarts.script

L292 🟡 string_concat_in_loop
String concat in loop: header_text = header_text .. x
Impact: critical
Show code
header_text = header_text .. (sort_ascending and " ^" or " v")

warfare_imgui_squads.script

L174 🟡 string_concat_in_loop
String concat in loop: header_text = header_text .. x
Impact: critical
Show code
header_text = header_text .. (sort_ascending and " ^" or " v")

xr_logic.script

L773 🟢 table_insert_append
table.insert(lst[n][index], v) -> lst[n][index][#lst[n][index]+1] = v
Impact: high
Show code
table.insert(lst[n][index],{infop,1,(string_find(infop,"npcx_"))})
L775 🟢 table_insert_append
table.insert(lst[n][index], v) -> lst[n][index][#lst[n][index]+1] = v
Impact: high
Show code
table.insert(lst[n][index],{infop,2,(string_find(infop,"npcx_"))})
L110 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: object '%s' actual_ini=%s actual_ini_filename=%s %s=%s", npc:name(),actual_ini ~= nil,actual_ini_filename,section_logic,actual_ini and actual_ini:section_exist(section_logic))
L171 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("object '%s': section '%s': section 'active' has no conditionless else clause",npc:name(), section_logic)
L199 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("activate_by_section: INI is nil! npc=%s section=%s",npc and npc:name(),section)
L205 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: xr_logic: activate_by_section: loading field is nil, true or false expected")
L231 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: xr_logic: activate_by_section: section is NIL and NPC not in gulag.")
L245 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("object '%s': activate_by_section: section '%s' does not exist", npc:name(), section)
L250 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("object '%s': unable to determine scheme name from section name '%s'", npc:name(), section)
L254 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: %s trying to use a scheme not intended for stype scheme=%s stype=%s",npc:name(),scheme,db.storage[npc_id].stype)
L269 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: xr_logic: scheme '%s' is not registered in modules.script", scheme)
L273 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: xr_logic: can't call %s.set_scheme() - a nil value", filename)
L313 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: no scheme found in schemes table or scheme has no add_to_binder function! scheme = %s",scheme)
L338 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: subscribe_action_for_events storage is nil!")
L454 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("pick_section_from_condlist xr_conditions fail! obj=%s functor=%s",npc and npc:name(),infop[1])
L461 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("pick_section_from_condlist xr_conditions fail! obj=%s functor=%s",npc and npc:name(),infop[1])
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("pick_section_from_condlist xr_effects fail! obj=%s functor=%s",npc and npc:name(),infop[1])
L520 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!!! Attempting to pick section on nonexistent object, npc, or infoportion !!!")
L640 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("WARNING: object '%s': try_switch_to_another_section: unknown condition '%s' encountered",npc:name(), c.name)
L653 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("npc '%s': st.section is nil, active section is '%s'",npc:name(), utils_data.to_str(db.storage[npc:id()].active_section))
L728 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf( "wrong condlist" )
L811 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR!! xr_logic.parse_condlist npc=%s section=%s field=%s src=%s",npc and npc:name(),section,field,src)
L937 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("object '%s': section '%s': field '%s': there is no object with story_id '%s'",npc:name(), section, field, t.v1)
L1048 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("mob_capture: reset_actions parameter's value is not specified")
L1099 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_logic: pstor_save_all: not registered type '%s' encountered", tv)
L1151 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("xr_logic: pstor_load_all: not registered type '%s' encountered %s", tn,obj:name())
L1179 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("save_obj WARNING: db.storage is nil! %s",obj:name())
L1264 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("1:get_customdata_or_ini_file %s file %s doesn't exist!",npc:name(),link_filename)
L1282 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("2:get_customdata_or_ini_file %s file %s doesn't exist!",npc:name(),filename)
L1315 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("set_new_scheme_and_logic npc is nil!")
L1327 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: set_new_scheme_and_logic: cannot find ini %s",ini_filename)
L50 🔴 global_write
Global write: result
Impact: low
Show code
result, id, value = st.ini:r_line(spawn_items_section,i,"","")
L777 🔴 global_write
Global write: a
Impact: low
Show code
a = string_find(infop,"(",1,true)
L779 🔴 global_write
Global write: b
Impact: low
Show code
b = string_find(infop,")",1,true)

z_global_position.script

L7 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!!! %s on level has invalid offset !!! %s", object_or_position, level_id)

Warfare Patch

4 files (🟢0 🟡2 🔴7 🔵11)

faction_expansions.script

L19 🔴 global_write
Global write: faction
Impact: low
Show code
faction = {}
L20 🔴 global_write
Global write: level
Impact: low
Show code
level = {}
L21 🔴 global_write
Global write: mutant
Impact: low
Show code
mutant = {}
L22 🔴 global_write
Global write: mutant_tier_by_clsid
Impact: low
Show code
mutant_tier_by_clsid = {

sim_squad_scripted.script

L604 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: npc section %s does not exist!",spawn_section)
L610 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("INCORRECT npc_spawn_section USED [%s]. You cannot use npc with custom_data in squads", spawn_section)
L689 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('spawn smart: %s', spawn_smart)
L725 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Spawning trader/mechanic/medic/barman, squad size changed to 1")
L748 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("You are trying to spawn an empty squad [%s]!!!", settings_id)
L874 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("squad community is 'nil' for player_id [%s]", self.player_id)
L12 🔴 global_write
Global write: dbg_map_hud
Impact: low
Show code
dbg_map_hud = false

ui_mm_faction_select.script

L1574 🟡 string_concat_in_loop
String concat in loop: str_stats = str_stats .. x
Impact: critical
Show code
str_stats = str_stats .. "%c[0,150,150,150] %c[0,50,175,50]" .. game.translate_string("st_faction_" .. k) .. "\\n"
L1734 🟡 string_concat_in_loop
String concat in loop: loadout_str = loadout_str .. x
Impact: critical
Show code
loadout_str = loadout_str .. "," .. ci.section
L366 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("giving psy helmet to Monolith/Sin/Zombied actor")
L1296 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sec: %s | points: %s | points left: %s", ci.section, points, self.points_left)

ui_options.script

L67 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L972 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Changed player name from (%s) to (%s)", curr_name, new_name)
L1160 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!Found nil option value [%s]", id)
L76 🔴 global_write
Global write: options
Impact: low
Show code
options = {}
L91 🔴 global_write
Global write: options
Impact: low
Show code
options = {

Weather Expansion for Atmospherics

1 file (🟢0 🟡0 🔴2 🔵0)

psi_storm_manager.script

L19 🔴 global_write
Global write: PsiStormManager
Impact: low
Show code
PsiStormManager = nil
L21 🔴 global_write
Global write: PsiStormManager
Impact: low
Show code
PsiStormManager = PsiStormManager or CPsiStormManager()

Western Goods

19 files (🟢7 🟡1 🔴17 🔵55)

modxml_western_goods.script

L29 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~[WG] WARNING | DXML | Aborting. Invalid number of results for '%s', got '%s', expected '%s'.", query, size_table(query_res), 1)

modxml_zzz_rand_text_dialog.script

L119 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~[WG] WARNING | Random Text Tag | collect_translations - strings of (%s) don't exist!", st)

trader_autoinject.script

L199 🟢 repeated_item_section()
item:section() called 3x in itr_inv
Impact: low
Show code
Cache item:section() result
L28 🔴 global_write
Global write: find
Impact: low
Show code
find = string.find
L53 🔴 global_write
Global write: TraderUpdate
Impact: low
Show code
TraderUpdate = trade_manager.update

western_goods_bind_lighter.script

L83 🟢 repeated_self_object_section()
self.object:section() called 5x in __init
Impact: low
Show code
Cache self.object:section() result

western_goods_class_fire_source.script

L47 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~[WG] WARNING | Fire Source | Light Campfire - No campfire found ! [pos: %s | lvid: %s | gvid: %s]", db.actor:position(), db.actor:level_vertex_id(), db.actor:game_vertex_id())

western_goods_core.script

L53 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[WG] Western Goods version %s", VERSION)
L164 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Core | String '" .. str_curr .. "' found in '" .. lang_curr .. "' but not in '" .. lang_other .. "' !")
L402 🔴 global_write
Global write: western_goods_items
Impact: low
Show code
western_goods_items = {}
L408 🔴 global_write
Global write: western_goods_special_items
Impact: low
Show code
western_goods_special_items = {
L412 🔴 global_write
Global write: western_goods_squads
Impact: low
Show code
western_goods_squads = {}
L414 🔴 global_write
Global write: western_goods_npcs
Impact: low
Show code
western_goods_npcs = {}
L416 🔴 global_write
Global write: western_goods_task
Impact: low
Show code
western_goods_task = {}
L418 🔴 global_write
Global write: western_goods_info
Impact: low
Show code
western_goods_info = {}

western_goods_flea.script

L459 🟡 string_concat_in_loop
String concat in loop: items_text = items_text .. x
Impact: critical
Show code
items_text = items_text .. [[ - ]] .. ui_item.get_sec_name(sec) .. [[\n]]
L401 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Flea Market | Section %s (module : %s) cannot be collected, as it does not exist!", sec_name, section)
L414 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Flea Market | Section %s (from script) cannot be collected, as it does not exist!", sec_name)

western_goods_mcm.script

L59 🔴 global_write
Global write: op
Impact: low
Show code
op = { id="western_goods", sh=true, gr={

western_goods_module_food.script

L34 🟢 repeated_obj_section()
obj:section() called 2x in actor_on_item_use
Impact: low
Show code
Cache obj:section() result

western_goods_monkey_patches.script

L20 🔴 global_write
Global write: monkey_patches
Impact: low
Show code
monkey_patches = {

western_goods_restrictors.script

L40 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Fake Restrictor | in_bounds() called with no game object !")
L43 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Fake Restrictor | in_bounds() called with no restrictor data !")

western_goods_tasks_act_1.script

L1452 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Tasks Act 1 | Invalid spawn location for %s : loc:%s", const_sec, location)
L1462 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Tasks Act 1 | Failed to create %s at loc:%s x:%s,y:%s,z:%s lvid:%s gvid:%s", const_sec, location, pos.x, pos.y, pos.z, lvid, gvid)

western_goods_tasks_act_2.script

L226 🟢 repeated_obj_section()
obj:section() called 4x in task_status_functor.act_2_task_1_status_f
Impact: low
Show code
Cache obj:section() result
L489 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Tasks Act 2 | Failed to spawn %s smart:%s",spawn_data.sec, spawn_data.smart)
L525 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Tasks Act 2 | Failed to spawn %s smart:%s",spawn_data.sec, spawn_data.smart)
L549 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Tasks Act 2 | Failed to spawn %s smart:%s",spawn_data.sec, spawn_data.smart)
L568 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Tasks Act 2 | Failed to spawn %s x:%s y:%s z:%s lvid:%s gvid:%s",spawn_data.sec, spawn_data.x, spawn_data.y, spawn_data.z, spawn_data.lvid, spawn_data.gvid)
L646 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Tasks Act 2 | Failed to spawn %s smart:%s",spawn_data.sec, spawn_data.smart)
L684 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Tasks Act 2 | Failed to spawn %s x:%s y:%s z:%s lvid:%s gvid:%s",spawn_data.sec, spawn_data.x, spawn_data.y, spawn_data.z, spawn_data.lvid, spawn_data.gvid)
L714 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Tasks Act 2 | Failed to spawn %s smart:%s",spawn_data.sec, spawn_data.smart)
L787 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Tasks Act 2 | Failed to spawn %s smart:%s",spawn_data.sec, spawn_data.smart)
L835 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Tasks Act 2 | Failed to spawn %s smart:%s",spawn_data.sec, spawn_data.smart)
L976 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Tasks Act 2 | Failed to spawn %s smart:%s",spawn_data.sec, spawn_data.smart)
L1018 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Tasks Act 2 | Failed to spawn %s smart:%s",spawn_data.sec, spawn_data.smart)
L1032 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Tasks Act 2 | Failed to spawn %s smart:%s",spawn_data.sec, spawn_data.smart)

western_goods_trade_eur_usd.script

L266 🟢 repeated_obj_section()
obj:section() called 6x in make_exchange
Impact: low
Show code
Cache obj:section() result

western_goods_ui_compass.script

L20 🔴 global_write
Global write: dbg_printf
Impact: low
Show code
dbg_printf = western_goods_utils.dbg_printf

western_goods_ui_rangefinder.script

L159 🟢 repeated_obj_section()
obj:section() called 2x in actor_on_update
Impact: low
Show code
Cache obj:section() result

western_goods_ui_readable.script

L50 🟢 repeated_obj_section()
obj:section() called 3x in use_item
Impact: low
Show code
Cache obj:section() result
L61 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | UI Readable | No section passed!")
L313 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | UI Readable | Missing texture for '%s'. Expected texture '%s' !", self.m_section, expected)

western_goods_utils.script

L36 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L106 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Utils | Cannot cast variable to number")
L137 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Utils | Cannot cast variable to string")
L159 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Utils | Cannot cast variable to boolean")
L426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Utils | Failed to get Stalker Net Data for %s", se_obj:section_name())
L525 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Utils | Squad already exists - '%s'", se_squad:section_name())
L541 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Utils | Failed to create squad (%s)",sec)
L578 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Utils | Failed to create squad (%s)",sec)
L595 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Utils | Failed to create squad (%s)",sec)
L619 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Utils | Failed to create dead squad (%s)",sec)
L711 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~[WG] WARNING | Utils | Aborting, trying to get the squad of an object that cannot be in a squad (obj : '%s')", obj and obj:name())
L759 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~[WG] WARNING | Utils | Trying to get HUD bone '%s' position in third person ! Fallback to '%s'", hud_bone, bone)
L796 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~[WG] WARNING | Utils | Trying to set HUD bone '%s' visibility in third person ! Fallback to '%s'", hud_bone, bone)
L863 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Utils | Named location '%s' not found !", location_name)
L869 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Utils | Named location '%s' has an invalid position !\n%s", location_name, utils_data.print_table(position, false, true))
L874 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Utils | Named location '%s' has an invalid orientation !\n%s", location_name, utils_data.print_table(orientation, false, true))
L935 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("![WG] ERROR | Utils | Missing argument no %s for '%s()'!",index,params[#params])
L21 🔴 global_write
Global write: trade_status_flags
Impact: low
Show code
trade_status_flags = { cant_trade = 1, too_damaged = 2, hidden = 3, tradable = 4 }
L22 🔴 global_write
Global write: weapon_zoom_types
Impact: low
Show code
weapon_zoom_types = { normal = 0, alt = 1, gl = 2 }
L23 🔴 global_write
Global write: animation_hands_modes
Impact: low
Show code
animation_hands_modes = { right = 0, left = 1, both = 2 }
L24 🔴 global_write
Global write: hud_states
Impact: low
Show code
hud_states = { idle = 0, showing = 1, hiding = 2, hidden = 3, bore = 4 }
L25 🔴 global_write
Global write: hud_states_devices
Impact: low
Show code
hud_states_devices = { idle_zoom = 5, idle_zoom_in = 6, idle_zoom_out = 7, throw_start = 8, throw = 9, throw_end = 10 }
L26 🔴 global_write
Global write: squad_relations
Impact: low
Show code
squad_relations = { friend = "friend", neutral = "neutral", enemy = "enemy" }

xr_logic_ex.script

L193 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: animpoint %s | %s",st.active_section,dt.level_vertex_id)
L232 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: load_campfire_actions [%s] %s is_in_camp %s %s",npc:name(),dt.active_section,is_in_camp,v and v.name)
L244 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: [%s] %s no camp",npc:name(),dt.active_section)
L279 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: animpoint load campfire action %s %s",dt.active_section,v)
L323 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex can not find %s %s",dt.active_section,dt.delay_animation)
L727 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: %s [%s] no dt.position",st.ini_filename,st.active_section)
L730 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: %s [%s] no dt.level_vertex_id",st.ini_filename,st.active_section)
L733 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: %s [%s] no dt.look_position",st.ini_filename,st.active_section)
L793 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex | load_storage_squad file %s doesn't exist.",ini_name)
L828 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex | load_storage_logic file %s doesn't exist.",ini_name)
L903 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: squad_target_update teleport [%s] %s %s",squad:name(),new_target,squad.scripted_target)
L955 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex | old logic [%s] %s %s",npc:name(),st.section_logic,st.active_section)
L970 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("GhenTuong: xr_logic_ex | new logic [%s] %s %s %s",npc:name(),ini_name,new_logic,new_section)

Wildkins's Ammo Parts on Hover

1 file (🟢2 🟡0 🔴11 🔵20)

itms_manager.script

L721 🟢 repeated_wpn_section()
wpn:section() called 3x in new_game_equippment
Impact: low
Show code
Cache wpn:section() result
L1315 🟢 repeated_alife
alife called 3x in Create_Item
Impact: low
Show code
local sim = alife()
L80 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR item_combination | wrong section names")
L713 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- Autosaved new game")
L1016 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: relocate_item_to_actor | object for section [%s] is bugged!", section)
L1071 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: Couldn't relocate_item_from_actor | not enough item [%s] recolated! need %s more", section, cnt)
L1103 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR itms_manager | play_item_sound | no object recieved!")
L1176 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("* ItemProcessor | processing condition | id: %s - con: %s", id, con)
L1186 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# ItemProcessor | processing condition done | id: %s - con: %s", id, new_con)
L1205 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("* ItemProcessor | processing uses | id: %s - uses: %s", id, uses)
L1214 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# ItemProcessor | processing uses done | id: %s - con: %s", id, uses)
L1233 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("* ItemProcessor | processing ammo | id: %s - ammo: %s", id, ammo)
L1242 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# ItemProcessor | processing ammo done | id: %s - con: %s", id, new_con)
L1291 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ItemProcessor | Missing spawn properties for [%s] | Spawn type: %s | pos: %s, lvi: %s, gvi: %s", section, spawn_typ, pos , lvi , gvi)
L1325 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ alife_create [%s] (%s) x%s ammo %s", section, se_ammo and se_ammo.id, num_in_box, spawn_typ)
L1334 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ alife_create [%s] (%s) x%s ammo %s", section, se_ammo and se_ammo.id, num, spawn_typ)
L1349 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ alife_create [%s] (%s) on %s", section, se_itm and se_itm.id, spawn_typ)
L1353 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ItemProcessor | Missing spawn owner for [%s]!", section)
L1392 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR [%s] is not spawned by ItemProcessor",section)
L1396 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ItemProcessor | section [%s] doesn't exist!", section)
L1400 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ ItemProcessor | nothing is passed to process!")
L1435 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s ItemProcessor | %s: (%s) [%s] - owner: (%s) [%s]", mark, str, id, obj and obj:section(), p and p:id() or "-", p and p:section())
L27 🔴 global_write
Global write: ini_manager
Impact: low
Show code
ini_manager = ini_file("items\\settings\\itms_manager.ltx")
L28 🔴 global_write
Global write: ini_container
Impact: low
Show code
ini_container = ini_file("items\\settings\\arty_container.ltx")
L29 🔴 global_write
Global write: ini_parts
Impact: low
Show code
ini_parts = ini_file("items\\settings\\parts.ltx")
L30 🔴 global_write
Global write: ini_craft
Impact: low
Show code
ini_craft = ini_file("items\\settings\\craft.ltx")
L31 🔴 global_write
Global write: ini_death
Impact: low
Show code
ini_death = ini_file("items\\settings\\death_generic.ltx")
L32 🔴 global_write
Global write: ini_reward
Impact: low
Show code
ini_reward = ini_file("items\\settings\\item_rewards.ltx")
L33 🔴 global_write
Global write: ini_ammo
Impact: low
Show code
ini_ammo = ini_file("items\\ammo\\ammo_vanilla.ltx")
L34 🔴 global_write
Global write: ini_ammo_bas
Impact: low
Show code
ini_ammo_bas = ini_file("items\\ammo\\ammo_bas.ltx")
L42 🔴 global_write
Global write: itms_arty_container
Impact: low
Show code
itms_arty_container = utils_data.collect_section(ini_container,"containers",true) or {}
L53 🔴 global_write
Global write: item_rewards
Impact: low
Show code
item_rewards = {}
L68 🔴 global_write
Global write: item_combine
Impact: low
Show code
item_combine = {}

Yet Another Knife Reanimation - lizzardman

4 files (🟢1 🟡2 🔴19 🔵2)

animation_common.script

L88 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

uni_anim_knives.script

L5 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L11 🔴 global_write
Global write: fdda_anim_prepare
Impact: low
Show code
fdda_anim_prepare = enhanced_animations.anim_prepare
L13 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L17 🔴 global_write
Global write: fdda_call_my_slot_back
Impact: low
Show code
fdda_call_my_slot_back = enhanced_animations.call_my_slot_back
L21 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L26 🔴 global_write
Global write: fdda_bp_call_my_slot_back
Impact: low
Show code
fdda_bp_call_my_slot_back = zzz_ea_addon_backpack.call_my_slot_back
L30 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L39 🔴 global_write
Global write: ha_prepare_for_animation
Impact: low
Show code
ha_prepare_for_animation = headgear_animations.prepare_for_animation
L41 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L45 🔴 global_write
Global write: ha_restore_after_animation
Impact: low
Show code
ha_restore_after_animation = headgear_animations.restore_after_animation
L47 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L100 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L111 🔴 global_write
Global write: knife_equipped
Impact: low
Show code
knife_equipped = string.match(tostring(sec), "knife")
L152 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false

ZCP 1.5d

14 files (🟢2 🟡7 🔴32 🔵59)

bind_anomaly_field.script

L30 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L48 🔴 global_write
Global write: dyn_anomalies
Impact: low
Show code
dyn_anomalies = {} -- [level][id] = name
L519 🔴 global_write
Global write: dyn_anomalies
Impact: low
Show code
dyn_anomalies = m_data.dyn_anomalies or {}
L556 🔴 global_write
Global write: fields_by_names
Impact: low
Show code
fields_by_names = {}

bind_awr.script

L61 🟢 repeated_npc_section()
npc:section() called 3x in OnDeath
Impact: low
Show code
Cache npc:section() result
L460 🟡 string_concat_in_loop
String concat in loop: txt = txt .. x
Impact: critical
Show code
txt = txt .. tab(depth) .. key .. " =\n"..tab(depth).."{\n"
L164 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ Registered vice [%s] = %s", name, i)
L172 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("/ Registered vice lamp [%s] = %s", name, i)
L418 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log(str)
L501 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(txt)

dph_debug_log.script

L50 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe(public.format_entry("dph_debug_log/log", LOG_LEVEL_ERROR, "Unable to open logfile %s! Entry logged on the following line.", public.config.file))
L51 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(public.format_entry(mod, level, entry, ...))
L59 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe(ln)
L61 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(ln)
L72 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe(public.format_entry("dph_debug_log/pda", LOG_LEVEL_ERROR, "Could not send message to PDA: Actor does not exist! Entry logged on the following line."))
L73 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(public.format_entry(mod, level, entry, ...))
L140 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe(public.format_entry("dph_debug_log", LOG_LEVEL_ERROR, "Target %s threw an exception while logging <%s> %s", target, mod, entry))
L141 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("ERROR: %s", err)
L142 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(public.format_entry(mod, level, entry, ...))
L16 🔴 global_write
Global write: log_levels
Impact: low
Show code
log_levels = {
L79 🔴 global_write
Global write: m
Impact: low
Show code
m = tostring(mt)
L80 🔴 global_write
Global write: p
Impact: low
Show code
p = tostring(pt)

faction_expansions.script

L8 🔴 global_write
Global write: faction
Impact: low
Show code
faction = {}
L9 🔴 global_write
Global write: level
Impact: low
Show code
level = {}
L10 🔴 global_write
Global write: mutant
Impact: low
Show code
mutant = {}
L11 🔴 global_write
Global write: mutant_tier_by_clsid
Impact: low
Show code
mutant_tier_by_clsid = {

game_setup.script

L79 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)

pda.script

L459 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- get_coc_ranking_list | id [%s] = %s", i , coc_ranking_list[i])
L4 🔴 global_write
Global write: dialog_closed
Impact: low
Show code
dialog_closed = true
L89 🔴 global_write
Global write: dialog_closed
Impact: low
Show code
dialog_closed = false
L112 🔴 global_write
Global write: dialog_closed
Impact: low
Show code
dialog_closed = true

sim_board.script

L91 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("Smart already exist in list [%s]", obj:name())
L166 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("create_squad_at_named_location: squad section does not exist in misc\\squad_descr.ltx: %s",squad_id)
L174 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('create_squad_at_named_location: named location not defined in named_locations.ltx: %s',loc_name)
L190 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("str_explode_num: warning: %s couldn't be parsed as number", s)
L305 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("---------------- Welcome To Test Map ----------------")
L362 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sim_board:fill_start_position incorrect smart by name %s",section)

sim_squad_scripted.script

L604 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: npc section %s does not exist!",spawn_section)
L610 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("INCORRECT npc_spawn_section USED [%s]. You cannot use npc with custom_data in squads", spawn_section)
L689 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf('spawn smart: %s', spawn_smart)
L748 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("You are trying to spawn an empty squad [%s]!!!", settings_id)
L874 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("squad community is 'nil' for player_id [%s]", self.player_id)
L12 🔴 global_write
Global write: dbg_map_hud
Impact: low
Show code
dbg_map_hud = false

smart_terrain.script

L528 🟡 string_concat_in_loop
String concat in loop: path_name = path_name .. x
Impact: critical
Show code
path_name = path_name.."_task"
L1152 🟡 string_concat_in_loop
String concat in loop: props = props .. x
Impact: critical
Show code
props = props.."["..k.."] = "..v.num.."("..(xr_logic.pick_section_from_condlist(db.actor, self,self.respawn_params[k].num) or "0")..")\\n"
L1167 🟡 string_concat_in_loop
String concat in loop: props = props .. x
Impact: critical
Show code
props = props .. g_tostring(k) .. "\\n"
L1173 🟡 string_concat_in_loop
String concat in loop: props = props .. x
Impact: critical
Show code
props = props .. prop .. " = " .. val .. "\\n"
L199 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR!: smart_terrain: no configuration file defined in spawn ini for %s",self:name())
L210 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: There is no configuration file [%s] in smart_terrain [%s]", filename, self:name())
L217 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! SMART_TERRAIN [%s] has no terrain_mask section in smart_terrain_masks.ltx!!!",self:name())
L276 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s Wrong smart_terrain respawn_params section [%s](there is no section)",self:name(),respawn_params)
L282 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s Wrong smart_terrain respawn_params section [%s](empty params)", self:name(), respawn_params)
L293 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: %s Wrong smatr_terrain respawn_params section [%s] prop [%s](there is no section)",self:name(), respawn_params, prop_name)
L313 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return printf("fill_npc_info invalid clsid for %s",obj and obj:name())
L318 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return printf("fill_npc_info invalid stype for %s [clsid=%s]",obj and obj:name(),cls)
L351 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return printf("register_npc no clsid! %s",obj and obj:name())
L446 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("validate_patrol_path WARNING: %s: invalid game_vertex_id for point %s",path_name,i)
L451 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("validate_patrol_path ERROR: %s: path does not exist",path_name)
L471 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!CRITICAL ERROR: %s does not have a dynamic ltx!",self:name())
L491 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("gulag: ltx=%s no 'active' in section %s", self.ltx_name, section)
L517 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("smart_terrain.load_jobs(): Cannot find path_field in section %s. ini_path=%s",active_section,job.ini_path)
L539 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s:load_jobs() There is no such patrol path %s",self:name(),path_name)
L549 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("There is an exclusive job with wrong smatrcover name [%s] smartterrain [%s]", tostring(smartcover_name), self:name())
L635 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return printf("%s no npc_info!",self:name())
L641 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
return printf("%s no job table for %s [stype = %s]",self:name(),npc_info.se_obj:name(),npc_info.stype)
L1009 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s:STATE_Read: invalid id in npc_info table. Check for save corruption or error in smart_terrain job system.")
L1360 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s.setup_logic: NPC is nil",self:name())
L1366 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s.setup_logic: npc_info is nil! for id=%s",self:name(),npc:id())
L1371 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s.setup_logic: npc_info.se_obj is nil! for id=%s",self:name(),npc:id())
L1377 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("%s.setup_logic: npc_info has no job! for id=%s",self:name(),npc:id())
L1390 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[smart_terrain %s] section=%s, don't use section 'nil'!", self:name(), sect)
L1715 🔵 debug_statement
Debug call: log()
Impact: medium
Show code
log("ERROR: %s Incorrect Respawn Params. respawn_params[%s].num=%s already_spawned[%s]=%s already_spawned[%s].num=%s",self:name(),k,v.num,k,type(self.already_spawned[k]),self.already_spawned[k] and self.already_spawned[k].num)
L11 🔴 global_write
Global write: nearest_to_actor_smart
Impact: low
Show code
nearest_to_actor_smart = {id = nil , dist = math.huge}
L12 🔴 global_write
Global write: dbg_hud
Impact: low
Show code
dbg_hud = false
L137 🔴 global_write
Global write: actor_level
Impact: low
Show code
actor_level = nil
L146 🔴 global_write
Global write: actor_level
Impact: low
Show code
actor_level = actor_level or sim:level_name(gg:vertex(sim:actor().m_game_vertex_id):level_id())
L1792 🔴 global_write
Global write: temp1
Impact: low
Show code
temp1, level_name, temp2 = names_ini:r_line("levels", i, "", "")
L1792 🔴 global_write
Global write: level_name
Impact: low
Show code
temp1, level_name, temp2 = names_ini:r_line("levels", i, "", "")
L1792 🔴 global_write
Global write: temp2
Impact: low
Show code
temp1, level_name, temp2 = names_ini:r_line("levels", i, "", "")
L1796 🔴 global_write
Global write: result
Impact: low
Show code
result, smart_name, value = names_ini:r_line(level_name, i, "", "")
L1796 🔴 global_write
Global write: smart_name
Impact: low
Show code
result, smart_name, value = names_ini:r_line(level_name, i, "", "")
L1796 🔴 global_write
Global write: value
Impact: low
Show code
result, smart_name, value = names_ini:r_line(level_name, i, "", "")

smr_spawn_template.script

L1 🔴 global_write
Global write: template_cfg
Impact: low
Show code
template_cfg = {}
L2 🔴 global_write
Global write: template_cfg_weights
Impact: low
Show code
template_cfg_weights = {}
L7 🔴 global_write
Global write: template_cfg
Impact: low
Show code
template_cfg = load_template_config()
L21 🔴 global_write
Global write: lc
Impact: low
Show code
lc = ini:line_count(section)
L94 🔴 global_write
Global write: weeks
Impact: low
Show code
weeks = math.floor(days/7)
L95 🔴 global_write
Global write: weeks
Impact: low
Show code
if weeks > 3 then weeks = 3 end

smr_spawns_mcm.script

L15 🟢 table_insert_append
table.insert(flist, v) -> flist[#flist+1] = v
Impact: high
Show code
table.insert(flist, {"plugins\\zcp\\spawn_templates\\" .. file_name, file_name })

smr_utils.script

L42 🔴 global_write
Global write: lc
Impact: low
Show code
lc = ini:line_count(section)
L52 🔴 global_write
Global write: lc
Impact: low
Show code
lc = ini:line_count(section)

tasks_fetch.script

L189 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: fetch_reward_and_remove | no fetch item found!")
L194 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ Warning: fetch_reward_and_remove | total_cost is below 50")
L266 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR xr_effects.remove_artefact_item | no var found for %s", p[1])
L445 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! ERROR: %s | fetch list [%s] is invalid", p[1], p[2])
L552 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("!ERROR: xr_effects:setup_generic_fetch_task - invalid section %s",sec)
L740 🔵 debug_statement
Debug call: printe()
Impact: medium
Show code
printe("! WARNING: fetch_list.ltx | wrong section name [%s]", id)

ui_mm_faction_select.script

L1534 🟡 string_concat_in_loop
String concat in loop: str_stats = str_stats .. x
Impact: critical
Show code
str_stats = str_stats .. "%c[0,150,150,150] %c[0,50,175,50]" .. game.translate_string("st_faction_" .. k) .. "\\n"
L1694 🟡 string_concat_in_loop
String concat in loop: loadout_str = loadout_str .. x
Impact: critical
Show code
loadout_str = loadout_str .. "," .. ci.section
L1258 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("sec: %s | points: %s | points left: %s", ci.section, points, self.points_left)

ZLM_

1 file (🟢0 🟡0 🔴1 🔵11)

zml_loot.script

L17 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L358 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! ZML : "..loottable.." doesn't exist, aborting by placing zml_bugitem instead!")
L389 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! ZLM t=nil error!")
L402 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! ZML itm=nil error!")
L406 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! ZML itm "..itm.." doesn't exist! Swapping for zml_bugitem!")
L426 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("! ZML "..genstring.."1 doesn't exist, aborting roll_droptable_tier!")
L664 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# --ZLM 4.0--")
L665 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# ZCP Loot Module revised succesfully activated.")
L668 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# Additionnal NPC loot activated.")
L672 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# Additionnal Stash loot activated.")
L675 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("# --May the loot be ever in your favor !--")
L12 🔴 global_write
Global write: ini_droptables
Impact: low
Show code
ini_droptables = ini_file("scripts\\zml_droptables.ltx")

[ Relax'ing ] The Movement Sound [ RMS ]

4 files (🟢0 🟡0 🔴30 🔵3)

eft_jump_sounds.script

L44 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!jump")
L55 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!land")
L88 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("!Fake material!")
L2 🔴 global_write
Global write: available_materials
Impact: low
Show code
available_materials = {
L35 🔴 global_write
Global write: fake_materials
Impact: low
Show code
fake_materials = {
L45 🔴 global_write
Global write: material
Impact: low
Show code
material = ray_cast()
L47 🔴 global_write
Global write: jump_sound
Impact: low
Show code
jump_sound = sound_object("eft_jump_sound\\jump_" .. material .. "_" .. random_number(1, 5))
L57 🔴 global_write
Global write: material
Impact: low
Show code
material = ray_cast()
L59 🔴 global_write
Global write: land_sound
Impact: low
Show code
land_sound = sound_object("eft_jump_sound\\land_" .. material .. "_" .. random_number(1, 5))
L73 🔴 global_write
Global write: actor_position
Impact: low
Show code
actor_position = vector():set(db.actor:position())
L74 🔴 global_write
Global write: position
Impact: low
Show code
position = vector():set(actor_position.x, actor_position.y + 1, actor_position.z)
L75 🔴 global_write
Global write: direction
Impact: low
Show code
direction = vector():set(0, -1, 0)
L76 🔴 global_write
Global write: range
Impact: low
Show code
range = 1.1
L77 🔴 global_write
Global write: flags
Impact: low
Show code
flags = 1 + 2 + 4 + 8
L78 🔴 global_write
Global write: ray
Impact: low
Show code
ray = demonized_geometry_ray.geometry_ray({
L83 🔴 global_write
Global write: material
Impact: low
Show code
material = ray:get(position ,direction).result.material_name
L86 🔴 global_write
Global write: material
Impact: low
Show code
material = string.gsub(material, "materials\\" , "")
L89 🔴 global_write
Global write: position
Impact: low
Show code
position = vector():set(actor_position.x, actor_position.y - 0.2, actor_position.z)
L90 🔴 global_write
Global write: direction
Impact: low
Show code
direction = vector():set(0, 1, 0)
L91 🔴 global_write
Global write: range
Impact: low
Show code
range = 1
L92 🔴 global_write
Global write: ray
Impact: low
Show code
ray = demonized_geometry_ray.geometry_ray({
L97 🔴 global_write
Global write: material
Impact: low
Show code
material = ray:get(position ,direction).result.material_name
L99 🔴 global_write
Global write: material
Impact: low
Show code
material = string.gsub(material, "materials\\" , "")

eft_jump_sounds_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op ={ id= "eft_jump_sounds",sh=true ,gr =

footstep_according_moving_mode.script

L1 🔴 global_write
Global write: available_materials
Impact: low
Show code
available_materials = {
L39 🔴 global_write
Global write: possible_move_states
Impact: low
Show code
possible_move_states = {
L50 🔴 global_write
Global write: current_move_state
Impact: low
Show code
current_move_state = "run"
L52 🔴 global_write
Global write: current_move_state
Impact: low
Show code
current_move_state = "crouch"
L54 🔴 global_write
Global write: current_move_state
Impact: low
Show code
current_move_state = "prone"
L57 🔴 global_write
Global write: current_move_state
Impact: low
Show code
current_move_state = "walk"
L64 🔴 global_write
Global write: sound
Impact: low
Show code
sound = sound_object("footstep_according_moving_mode\\" .. current_move_state .. "_" .. current_material_table.sound_key .. "_" .. roll )

move_effects.script

L8 🔴 global_write
Global write: mvt_snd
Impact: low
Show code
mvt_snd = sound_object("anim_movements\\mvt_look_" .. math.random(1, 3))
L12 🔴 global_write
Global write: mvt_snd
Impact: low
Show code
mvt_snd = sound_object("anim_movements\\mvt_short_" .. math.random(1, 5))

[ Relax'ing ] The Rattle Weapon Sounds [ RWS ]

2 files (🟢1 🟡0 🔴13 🔵0)

Weapon_rattle.script

L5 🟢 table_insert_append
table.insert(sounds, v) -> sounds[#sounds+1] = v
Impact: high
Show code
table.insert(sounds, sound_object("weapons\\" .. prefix .. "_" .. i))
L11 🔴 global_write
Global write: total_sounds
Impact: low
Show code
total_sounds = 10 -- Adjust this to the number of sounds you have

rws_rattle.script

L10 🔴 global_write
Global write: wpn_kinds
Impact: low
Show code
wpn_kinds = {
L19 🔴 global_write
Global write: limit
Impact: low
Show code
limit = {
L57 🔴 global_write
Global write: count
Impact: low
Show code
count = 1
L63 🔴 global_write
Global write: count
Impact: low
Show code
count = count + 1
L64 🔴 global_write
Global write: count
Impact: low
Show code
if count > limit[class] then count = 1 end
L70 🔴 global_write
Global write: sec
Impact: low
Show code
sec = wpn:section()
L73 🔴 global_write
Global write: class
Impact: low
Show code
class = wpn_kinds[SYS_GetParam(0, sec, "kind")] or "rifle\\rifle_aim"
L74 🔴 global_write
Global write: weight
Impact: low
Show code
weight = ini_sys:r_string_ex(sec, "inv_weight") or 3.3
L75 🔴 global_write
Global write: aim_time
Impact: low
Show code
aim_time = ini_sys:r_string_ex(sec, "zoom_rotate_time") or 0.25
L76 🔴 global_write
Global write: volume
Impact: low
Show code
volume = (0.25 + weight*0.04)
L77 🔴 global_write
Global write: frequency
Impact: low
Show code
frequency = 1.3 - aim_time
L78 🔴 global_write
Global write: frequency
Impact: low
Show code
if frequency < 0.77 then frequency = 0.77 end

[Kmack] Mosin Trio

7 files (🟢2 🟡2 🔴21 🔵9)

animation_common.script

L88 🟢 repeated_item_section()
item:section() called 3x in actor_on_hud_animation_play
Impact: low
Show code
Cache item:section() result

aol_anim_transitions.script

L99 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L128 🟡 string_concat_in_loop
String concat in loop: transition_anm = transition_anm .. x
Impact: critical
Show code
transition_anm = transition_anm .. anm_suffix
L15 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L32 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[ERROR] aol_anim_transitions: Could not add new transition (a parameter was nil)")
L3 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}
L10 🔴 global_write
Global write: transitions
Impact: low
Show code
transitions = {
L26 🔴 global_write
Global write: pattern_transitions
Impact: low
Show code
pattern_transitions = {
L162 🔴 global_write
Global write: valid_anims
Impact: low
Show code
valid_anims = {}

aol_sprint_cancel.script

L16 🔴 global_write
Global write: aol_anim_transitions_anm_transitions
Impact: low
Show code
aol_anim_transitions_anm_transitions = aol_anim_transitions.anm_transitions

lewd_lens_hider.script

L39 🟢 repeated_obj_section()
obj:section() called 3x in game_object_on_net_spawn
Impact: low
Show code
Cache obj:section() result
L68 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LEWD LENS HIDER] ERROR | Game Object Net Spawn | Error with object with ID %s, the object was not found. Aborting...", id)
L191 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LEWD LENS HIDER] ERROR | Get Information | Error with object with ID %s, the object was not found", id)
L197 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LEWD LENS HIDER] ERROR | Get Information | Error with object with name %s, the object failed to cast as a weapon", obj:name())
L203 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LEWD LENS HIDER] ERROR | Get Information | Error with object with name %s, the config %s was not defined", obj:name(), CONFIG_KEY_BONE_NAME)
L209 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LEWD LENS HIDER] ERROR | Get Information | Error with object with name %s, the config %s should have %s elements, except it has %s", obj:name(), CONFIG_KEY_AIM_MODE, 3, size_table(aim_modes))
L236 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("[LEWD LENS HIDER] ERROR | Get Delays | Error with object with name %s, the config %s should have %s elements, except it has %s", obj:name(), CONFIG_KEY_AIM_MODE, 2, size_table(delays))
L256 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)

mosin_carbine_reload_script.script

L92 🔴 global_write
Global write: anm_handlers
Impact: low
Show code
anm_handlers = {

shotgun_unjam_fix.script

L1 🔴 global_write
Global write: common
Impact: low
Show code
common = animation_common

uni_anim_detectors.script

L14 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L18 🔴 global_write
Global write: fdda_anim_prepare
Impact: low
Show code
fdda_anim_prepare = enhanced_animations.anim_prepare
L20 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L24 🔴 global_write
Global write: fdda_call_my_slot_back
Impact: low
Show code
fdda_call_my_slot_back = enhanced_animations.call_my_slot_back
L28 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L33 🔴 global_write
Global write: fdda_bp_call_my_slot_back
Impact: low
Show code
fdda_bp_call_my_slot_back = zzz_ea_addon_backpack.call_my_slot_back
L37 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false
L50 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L63 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L71 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L85 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L98 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L113 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = true
L167 🔴 global_write
Global write: force_quick
Impact: low
Show code
force_quick = false

demonized_craft_from_stashes

2 files (🟢0 🟡0 🔴2 🔵0)

craft_from_stashes_mcm.script

L2 🔴 global_write
Global write: op
Impact: low
Show code
op = {

zz_ui_workshop_craft_from_stashes.script

L208 🔴 global_write
Global write: utils_item_collect_amount
Impact: low
Show code
utils_item_collect_amount = utils_item.collect_amount

ilrathCXV's Meat Spoiling Timer in Tooltips

1 file (🟢0 🟡0 🔴6 🔵0)

meat_spoiling.script

L16 🔴 global_write
Global write: expiration_time
Impact: low
Show code
expiration_time = nil
L17 🔴 global_write
Global write: expiration_table
Impact: low
Show code
expiration_table = {}
L20 🔴 global_write
Global write: meats
Impact: low
Show code
meats = utils_data.collect_section(ini_meat.ini, "meats", true)
L127 🔴 global_write
Global write: build_footer_base
Impact: low
Show code
build_footer_base = ui_item.build_desc_footer
L158 🔴 global_write
Global write: expiration_table
Impact: low
Show code
expiration_table = m_data.expiration_table or {}
L162 🔴 global_write
Global write: expiration_time
Impact: low
Show code
expiration_time = {

keep_ammo_highlighted

1 file (🟢0 🟡0 🔴0 🔵1)

d1sp_keep_ammo_highlighted_mcm.script

L77 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("- [D1SP] | " .. fmt, ...)

npc_wound_tweak_v

1 file (🟢0 🟡0 🔴1 🔵0)

y_npc_wounded_animation_fix_zombie_dont_drop_weapon.script

L2 🔴 global_write
Global write: orig_action_wounded_initialize
Impact: low
Show code
orig_action_wounded_initialize = xr_wounded.action_wounded.initialize

painterofthezone

7 files (🟢0 🟡0 🔴39 🔵5)

short_range_blood_bullet_time.script

L505 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L153 🔴 global_write
Global write: head_bones
Impact: low
Show code
head_bones = lookup:get_head_bones()
L164 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L167 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + update_delay
L185 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L188 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + update_delay
L211 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L214 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + update_delay
L234 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L237 🔴 global_write
Global write: grok_delay
Impact: low
Show code
grok_delay = tg + update_delay
L374 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L414 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()

short_range_blood_dismemb.script

L178 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)

short_range_blood_lookup.script

L520 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L16 🔴 global_write
Global write: n
Impact: low
Show code
n = floor(max(n or 1, 1))
L21 🔴 global_write
Global write: n
Impact: low
Show code
n = n - 1
L27 🔴 global_write
Global write: death_log
Impact: low
Show code
death_log = {}
L284 🔴 global_write
Global write: wpn
Impact: low
Show code
wpn = level.object_by_id(s_hit.weapon_id)
L285 🔴 global_write
Global write: sec
Impact: low
Show code
sec = wpn:section()
L302 🔴 global_write
Global write: silencer_boost
Impact: low
Show code
silencer_boost = 1.07
L304 🔴 global_write
Global write: silencer_boost
Impact: low
Show code
silencer_boost = 1
L308 🔴 global_write
Global write: silencer_boost
Impact: low
Show code
silencer_boost = 1.07
L331 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.00
L334 🔴 global_write
Global write: ammo_mult
Impact: low
Show code
ammo_mult = 1.75

short_range_blood_lookup_tables.script

L3 🔴 global_write
Global write: creatures_cls
Impact: low
Show code
creatures_cls = {
L22 🔴 global_write
Global write: creatures_kind
Impact: low
Show code
creatures_kind = {
L29 🔴 global_write
Global write: limb_map
Impact: low
Show code
limb_map = {
L1043 🔴 global_write
Global write: mesh_map
Impact: low
Show code
mesh_map = {
L1296 🔴 global_write
Global write: bone_groups
Impact: low
Show code
bone_groups = {
L1429 🔴 global_write
Global write: meshes_params
Impact: low
Show code
meshes_params = {
L1449 🔴 global_write
Global write: head_bones
Impact: low
Show code
head_bones = {
L1457 🔴 global_write
Global write: difficulty_multiplier
Impact: low
Show code
difficulty_multiplier = {
L1463 🔴 global_write
Global write: integrated_silencer
Impact: low
Show code
integrated_silencer = {
L1477 🔴 global_write
Global write: grok_headBones
Impact: low
Show code
grok_headBones = {
L1486 🔴 global_write
Global write: grok_head_bones
Impact: low
Show code
grok_head_bones = {
L1495 🔴 global_write
Global write: grok_upper_body_group
Impact: low
Show code
grok_upper_body_group = {
L1509 🔴 global_write
Global write: grok_lower_body_group
Impact: low
Show code
grok_lower_body_group = {

short_range_blood_particles.script

L385 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L32 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L148 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L239 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()
L281 🔴 global_write
Global write: tg
Impact: low
Show code
tg = time_global()

short_range_blood_wm.script

L309 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)

short_range_blood_wm_mcm.script

L1 🔴 global_write
Global write: op
Impact: low
Show code
op = {

xcvb's Guards Spawner

2 files (🟢0 🟡0 🔴2 🔵3)

emission_guard_patch.script

L23 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ fixing squad IS guard: %s, cur_level: %s, send to %s", squad.id, squad_lname, smart_name)
L30 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf("~ fixing squad NOT guard, send to nil")

guards_spawner.script

L293 🔵 debug_statement
Debug call: printf()
Impact: medium
Show code
printf(...)
L104 🔴 global_write
Global write: guarded_smarts
Impact: low
Show code
guarded_smarts = {}
L287 🔴 global_write
Global write: guarded_smarts
Impact: low
Show code
guarded_smarts = m_data.guarded_smarts or {}